Skip to content

Event Target for Zendesk

This event Target receives CloudEvents and uses the Zendesk API to either create a new ticket or tag an existing one.


  • Zendesk API token

Zendesk API Token

You can find the steps to obtain an API token in the Zendesk API Docs.

Consult the Secrets guide for more information about how to add the Zendesk API token as a secret.

Deploying an Instance of the Target

Open the Bridge creation screen and add a Target of type Zendesk.

Adding a Zendesk Target

In the Target creation form, provide a name to the event Target, and add the following information:

  • Default Ticket Subject: An optional ticket subject fallback if one is not provided in an incoming event.
  • Zendesk Subdomain: Name of the Zendesk Subdomain, without the domain or https:// scheme.
  • Zendesk Email: Email address associated with the Zendesk account.
  • Zendesk API Token: Reference to a TriggerMesh secret containing a token to communicate with the Zendesk API, as discussed in the prerequisites.

Zendesk Target form

After clicking the Save button, the console will self-navigate to the Bridge editor. Proceed by adding the remaining components to the Bridge.

Bridge overview

After submitting the Bridge, and allowing for some configuration time, a green check mark on the main Bridges page indicates that the Bridge with a Zendesk event Target was successfully created.

Bridge status

For more information about using Zendesk, please refer to the Zendesk documentation.

Event Types

A Zendesk event Target accepts the following CloudEvent types:


Events of this type intend to create a new Zendesk ticket.

This type expects a JSON payload with the following properties:

Name Type Comment
subject string The value of the subject field for this ticket
body string The value of the body field for this ticket

An example response from the Zendesk Target after consuming an event of this type:



Events of this type intend to assign a tag to a pre-existing Zendesk ticket.

This type expects a JSON payload with the following properties:

Name Type Comment
id int64 The value of the id field for the ticket to be updated
tag string The value of the tag to assign to this ticket