Creating Tickets in Zendesk
Zendesk API Integration in Call Agent AI Assistant (Webhook Configuration)
Connecting Zendesk with Call Agent AI
This guide walks you through connecting your Call Agent AI assistant to Zendesk.
Once connected, every inbound support call handled by your AI assistant will automatically create a Zendesk support ticket.
This means:
No more manual data entry
Calls are logged and tracked
Your team can follow up faster and more efficiently
Prerequisites
A Zendesk account with Admin access
A Call Agent AI account
Step 1 – Generate an API Token in Zendesk
In the left menu, click the gear icon (âš™) to open Admin Center.

Go to: Apps and Integrations → APIs → API Tokens

Click Add API Token.

Enter a description (e.g., Call Agent AI Webhook).

Click Save.

Copy and save the API token shown.

Important: You’ll only see this token once. If you lose it, you must create a new one.
Step 2 – Find Your Zendesk Subdomain
Your subdomain is the part before .zendesk.com
in your Zendesk URL.

Example: If your dashboard URL is:
https://callagentai.zendesk.com/agent/filters/134944800000
Then your subdomain is:
callagentai
Step 3 – Create a Webhook in Call Agent AI
Log in to your Call Agent AI Dashboard.
Select the assistant you want to connect.
Click Preview → go to the Settings tab.

Click Webhooks → Create.

Set Method = POST
.

In the URL field, enter:
https://<zendesk_subdomain>.zendesk.com/api/v2/tickets.json
Replace <zendesk_subdomain>
with your actual subdomain.

Example:
https://callagentai.zendesk.com/api/v2/tickets.json
Step 4 – Add Headers for Authentication
You’ll now tell Zendesk who you are by adding headers.
Go to Headers → click Add.
Key:
Content-Type
Value:
application/json

Add another header:
Key:
Authorization
Value:
Basic <base64_encoded_string>

🔑 How to create <base64_encoded_string>
<base64_encoded_string>
Format your login details like this:
user@example.com/token:YOUR_API_TOKEN
Replace
user@example.com
with your Zendesk login email.Replace
YOUR_API_TOKEN
with the token from Step 1.
Example (before encoding):
myemail@company.com/token:abcd1234APITOKEN5678
Go to base64encode.org.
Paste your string (from above) → click ENCODE.
Copy the encoded result.

Example (after encoding):
bXllbWFpbEBjb21wYW55LmNvbS90b2tlbjphYmNkMTIzNEFQSVRPS0VONTY3OA==
Use it in your header:
Key: Authorization
Value: Basic bXllbWFpbEBjb21wYW55LmNvbS90b2tlbjphYmNkMTIzNEFQSVRPS0VONTY3OA==

Step 5 – Test the Webhook with Sample Data
Go to the Body tab of your webhook.
Paste this sample payload:
{
"ticket": {
"subject": "Call Agent AI Test",
"comment": {
"body": "This is a test ticket."
},
"priority": "Normal",
"requester": {
"name": "John Doe",
"email": "johndoe@sample.com"
}
}
}
Click Test.

If successful, you’ll see a confirmation message.


Click Save.
Step 6 – Replace Sample Data with Real Identifiers
After testing, replace the sample payload with these identifiers so real call data is sent to Zendesk:
{
"ticket": {
"subject": "${Title_Of_Note}",
"comment": {
"body": "${Notes_Summary_Call}"
},
"priority": "Normal",
"requester": {
"name": "${Name}",
"email": "${Email}"
}
}
}

Important:
Do NOT click Test again after adding identifiers — doing so will break the webhook.
Just click Save.
Step 7 – Final Check
Click Submit in the assistant’s setup to apply the changes.

Make a test call to your assistant.
In Zendesk, go to Tickets view → confirm a ticket was created automatically.

🎉 Done! Your Zendesk–Call Agent AI integration is live.
Last updated