Passing API Header in HTTP Target

16 Comments

  • Nicole - Community Manager
    Comment actions Permalink

    Hi Wayne - 

    Thanks for the feedback. I see that this is your first post - Welcome to the Zendesk Community! I encourage you to head over to the Welcome Thread in The Lounge to introduce yourself. 

    We look forward to seeing you around the Community. Happy Zendesking!

    0
  • David Podmore
    Comment actions Permalink

    Hi Wayne, Nicole,

    I'll second that - I need to be able to pass Application ID and API Key as custom headers. Is this possible?

    Cheers,
    David.

    1
  • Dwight Bussman
    Comment actions Permalink

    HeyO Wayne & David,

    While this isn't possible yet, I just spoke with one of our Product Managers who indicated this was a need that they are planning on addressing in the webhooks feature mentioned here: https://support.zendesk.com/hc/en-us/community/posts/115000453227-Feature-request-Webhooks Although the ability to pass headers isn't specifically mentioned in the post/comments, please know that it is being discussed as a related need.

    We don't yet have a timeline for that yet, but it's definitely something that's planned that we hope to build soon! I recommend following the aforementioned community post so that you're notified when that gets launched. If there's a beta for that feature prior to its general release, they'd likely indicate within that thread. If you have additional questions related to this or would like to elaborate on the specifics of your use-case (although passing auth headers/API keys is understandable), please feel free to put those notes into either one of these posts.

    Thanks again for this feedback request!

    1
  • David Podmore
    Comment actions Permalink

    Dwight - thanks for the speedy reply and info, it's much appreciated!

    0
  • Joseph McCarron
    Comment actions Permalink

    Hey Wayne & David,

    One point I missed about your request previously is that we do actually support Basic Authentication on HTTP Targets. This will not enable you to set a custom header, but it will enable you to set a standard Basic value on the Authorization header. This is a standard way of passing a username and password, or just a token, as a Base 64 encoded string. https://developer.mozilla.org/en-US/docs/Web/HTTP/Authentication#Basic_authentication_scheme

    With this and HTTPS you should have a nice secure, and standardized, way of passing credentials to the destination service. I know it won't work for every out-of-the-box destination API, but it should work for many APIs and any custom integrations you can dream up :)

    1
  • Yasel Prado
    Comment actions Permalink

    Hello,

    Is it possible to know when/if there will be an option to set headers to the api call?

    Regards

    0
  • Richard Giddens
    Comment actions Permalink

    I'm having trouble getting this to work with FreePBX REST interface. I don't think the token is being passed properly using the simple auth box? 

    0
  • Dwight Bussman
    Comment actions Permalink

    HeyO Richard,

    Apologies for the delay in replying to you! Our support team should be able to see whether authentication information is being passed successfully to Zendesk in your requests. 

    Depending on the action being taken, I would either expect a 401 or 403 error in response to the request. Are those what you're seeing? If so, I recommend reaching out to support@zendesk.com with your subdomain and an example of the request you're making (without credentials for security's sake) so that folks can look through logs for those.

    0
  • Roman Lomakin
    Comment actions Permalink

    Hi,

    Just bumping up this discussion since we would also appreciate this functionality in one of our use cases of passing info from Zendesk to a 3rd party application with customized authorization headers. 

    0
  • Marty Whitby
    Comment actions Permalink

    +1

     

    0
  • shane
    Comment actions Permalink

    Unfortunately basic auth is far less than standard now days and would mean creating another form of authentication for my APIs just to have Zendesk make a POST request.  The only reason we even need this is because the Zendesk API doesn't allow you to specify which custom field you are searching for when looking for a custom ticket field with a specific value.

    1
  • Mike Schiller
    Comment actions Permalink

    AWS API Gateway doesn't support basic auth. Please add the ability to set headers to support API Keys.

    1
  • Tom Bradley
    Comment actions Permalink

    Another vote for this... basic auth really isn't very helpful any more. I need the ability to pass in a Bearer Token in the header.

     

    Looking forward to an update on this from the zendesk team

    3
  • Dan Ross
    Comment actions Permalink

    Also wishing for something more modern than basic auth. Services today often require a bearer token or custom auth headers. Please allow us to set custom headers in outbound messages.

     

    3
  • Ilya
    Comment actions Permalink

    Please, add ability to set custom auth headers for webhooks. Lack of that makes webhook feature useless.

    1
  • Seamus Tredinnick
    Comment actions Permalink

    Has anyone found a solution to this? The webhook feature is useless without the ability to pass a token in the header.

    0

Please sign in to leave a comment.

Powered by Zendesk