The Zendesk API, Practically
Almost everything in the agent interface is available over the Zendesk API. Knowing which endpoint and which limit applies is most of the work.
Zendesk API authentication
Three options, in increasing order of seriousness.
Whichever you use, the credential carries a real user permissions, so create a dedicated service user rather than borrowing an admin account somebody might deactivate.
The endpoints you will actually use
Rate limits, and how to live with them
Limits vary by plan and by endpoint. Assume you'll hit them and build for it.
Retry-After header on a 429 rather than retrying immediately.What the API won't do for you
It exposes actions, not judgement. PUT /api/v2/tickets/{id}/merge will merge two tickets the moment you name them, and deciding which two is the entire problem.
Teams do build duplicate detection on top of it, and the honest version of that project is: maintain a live index of open tickets, compute similarity across subject and body, handle identity matching across email addresses and domains, tune thresholds, add exclusions, handle the rate limits, and keep it working as your queue changes. That's a product, not a script, which is why Ticket Merger exists.
Frequently asked questions
Where is the Zendesk API documentation?
At developer.zendesk.com, split by product. The Zendesk API documentation for Support covers tickets, users and organizations, while Sell, Chat and the apps framework each have their own reference.
Can the Zendesk API merge tickets?
Yes, there's a merge endpoint. It merges tickets you specify. Identifying the duplicates isn't part of it.
What's the Zendesk API rate limit?
It varies by plan and endpoint, and search is limited more tightly than the rest. Build for 429 responses and honour Retry-After.
Should I poll or use webhooks?
Webhooks, wherever you can. Polling burns your rate limit and adds latency for no benefit.
Skip the six-week build
Duplicate detection on the API is a product, not a weekend script. This one is already built and maintained.
Start free trial14-day free trial. No credit card required.