Zendesk API - JSON Patch | Community
Skip to main content

Zendesk API - JSON Patch

  • August 8, 2022
  • 1 reply
  • 0 views

In order to do Post or Patch requests to DevOps from a Zendesk Webhook, I need to use the Content-Type: application/json-patch+json, however Zendesk has only three options: Json, XML and form encoded. How can I run Post/Patch API calls from Webhooks with application/json-patch+json Content-Type?

1 reply

Eric27
  • August 8, 2022
Hey Harry, 
 
You wouldn't be able to use this content-type straight out of the box with Zendesk. I'd suggest creating a middleware to send the webhook request to. Once the middleware receives it, switch the content-type to the type you need and pass the request on to the end location.  
 
Thanks!