Passing API Header in HTTP Target


  • Nicole S.
    Zendesk Community Team

    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!

  • David Podmore

    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?


  • Dwight Bussman
    Zendesk team member

    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: 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!

  • David Podmore

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

  • Joseph McCarron

    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.

    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 :)

  • Yasel Prado


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


  • Richard Giddens

    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? 

  • Dwight Bussman
    Zendesk team member

    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 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.

  • Roman Lomakin


    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. 

  • Marty Whitby



  • shane

    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.

  • Mike Schiller

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

  • Tom Bradley

    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

  • Dan Ross
    Community Moderator

    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.


  • Ilya

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

  • Seamus Tredinnick

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

  • Sotirios Koupas

    I too agree that this needs to be addressed. In order to bypass this limitation, I had to create a web function in Azure that receives the "Zendesk" limited feature way, and does it appropriately on the other side but now I have to introduce another system in the middle to do this, which introduces costs, potential issues etc. Can we please address the root cause of the issue by allowing a simple customization of the auth headers?

  • Aaron Lupo

    This is still a problem and seems like a pretty standard feature to have. Can someone please address this - it greatly reduces the flexibility of this feature by not allowing us to change the authentication type OR add headers.

  • Au Finh Saechao

    Yes. Please! +1 for headers


Please sign in to leave a comment.

Powered by Zendesk