Zendesk Support API bindings.
::zendesk::ticketscreates, reads, updates, comments on, merges and tags tickets, lists ticket fields and satisfaction ratings, and runs the cursor-based incremental ticket export::zendesk::usersand::zendesk::organizationslook up and manage requesters and their companies::zendesk::viewsand::zendesk::macroswork the queues agents use: execute a view, preview or apply a macro::zendesk::searchruns the search API (with its 1,000-result cap) and the cursor-based search export::zendesk::side-conversationsstarts and replies to side conversations::zendesk::webhooksverifiesX-Zendesk-Webhook-Signature::zendesk::apiholds the transport, cursor pagination, and therequestescape hatch
Setup: context variables:
zendesk.subdomain:acmeoracme.zendesk.com- API token auth:
zendesk.email(the agent or admin the token acts as) andzendesk.api.token(Admin Center → Apps and integrations → APIs → Zendesk API) - or OAuth:
zendesk.oauth.token, a Bearer access token (wins when both are set)
Every API-calling function also takes a trailing opts Map for
per-call credentials; see ::zendesk::api.
Quick start
::tickets ::zendesk::tickets
urgent ::zendesk::search/search("type:ticket status:open priority:urgent")
ticket ::tickets/create-ticket("Login page down", "Customers report 500s on /login.", {priority: "urgent"})
::tickets/add-comment(ticket.ticket.id, "Deployed a rollback; monitoring.", false)
Values
DEFAULT_PAGE_SIZE
DEFAULT_PAGE_SIZE: Int 100