Skip to main content

Cotool + Zendesk

Connect Zendesk to Cotool so agents triage security tickets such as reported phishing, read email details from ticket audits, and ingest Zendesk audit and access logs.

Ticketing & ITSM
Updated

The short answer

Security requests and user-reported phishing often arrive in Zendesk as support tickets. Cotool agents search and read those tickets, their comments and audits, then update, tag, reply to, or merge them, and Cotool can ingest Zendesk audit and access logs for built-in detections.[1][2][9][10]

How it connects: Cotool connects through a confidential Zendesk OAuth client using the client credentials grant. That grant issues an access token from the client's secret without a user authorization step, and the token acts as the admin who created the client.[1][6][7]

What Cotool uses from Zendesk

Ticket search
The Search API takes Zendesk query syntax, such as tickets with an open status, and returns up to 1,000 results per query. New tickets can take a few minutes to be indexed for search.[8]
Ticket audits
Audits are a read-only history of every update to a ticket: field changes, new comments, tag changes, and notifications. Audit metadata carries system data such as the IP address the update came from, and the via object records the channel.[10]
Tickets and comments
Tickets carry status, priority, tags, requester, assignee, and group. The comments in a ticket's audits hold the original request, replies, and internal notes, with any attachments.[9][10]
Audit logs
The account audit log records changes such as create, destroy, exported, login, and update actions, with the actor, the IP address, the changed item, and a description like a role change. Records are kept for the life of the account.[11]
Access logs
Access logs are a 90-day record of what agents and admins viewed, including read events that change nothing. Each entry has the REST path or GraphQL query, HTTP method, user id, IP address, client, and response size.[12]

Response actions

These change state in Zendesk, so they are the steps teams usually gate behind approval.

Create a ticket
Opens a ticket whose first comment can be public or internal, with requester, status, priority, tags, group, assignee, and custom fields.[1][9]
Update a ticket and comment
Changes status, priority, assignment, or custom fields and adds an internal note or a public reply to the requester, for example to tell a reporter the email they sent in was phishing.[1][9]
Merge duplicate tickets
Merges one or more source tickets into a target ticket, such as several reports of the same phishing email. Attachments are copied to the target, and Zendesk runs the merge as a background job.[9]

Detections, hunts, and triage

Triage reported phishing ticketsTriage
A webhook starts a Cotool agent when a phishing report lands. The agent reads the ticket's comments and audits for the sending details and IP address, checks the indicators, and posts its verdict as an internal note or a reply to the reporter.[1][4][9][10]
Consolidate duplicate reportsResponse
When several employees report the same message, the agent merges their tickets into one target so the evidence and attachments sit together and the team works one case.[1][9]
Detect admin and role changesDetection
With audit logs ingested into Cotool Logs, detections flag account changes such as a user's role moving to or from Administrator, or new API tokens and business rules, by actor and IP address.[1][3][11]
Hunt for unusual ticket viewingHunt
Access logs show which tickets, user profiles, and searches each agent opened. A hunt counts views per agent and flags bulk browsing of customer records that no ticket assignment explains.[5][12][13]

Example query

List user changes in the Zendesk audit logbash
curl -g 'https://{subdomain}.zendesk.com/api/v2/audit_logs?filter[source_type]=user&filter[action]=update' \
  -H "Authorization: Bearer {access_token}"

Returns audit log records for updates to users, newest first, with the actor, IP address, and change description. Replace the subdomain and token, or filter by actor_id, ip_address, or created_at instead.[11]

Setup and permissions

An admin adds an OAuth client in Admin Center under Apps and integrations, APIs, OAuth clients, sets the client kind to Confidential, and copies the secret, which Zendesk shows in full only once.[6]

PermissionAccess
read scopeAllows GET requests, including tickets, users, and ticket audits, which need the global read scope rather than tickets:read.[6][10]Read
write scopeAllows POST, PUT, and DELETE requests, used to create and update tickets, add comments, and merge tickets.[6][9]Write
Admin roleThe audit log endpoints are allowed for admins on accounts with audit log access, so the client should be created by an admin.[7][11]Read
Merge permissionAgents on Enterprise accounts need merge permissions in their custom role to merge tickets.[9]Write
  • Client credentials tokens act on behalf of the admin who created the OAuth client. If that admin is deleted or downgraded, the tokens stop working even though the client stays active.[6]
  • The Audit Logs endpoints are only available on the Enterprise plan. The Access Logs API needs the Advanced Data Privacy and Protection add-on, which is sold for Suite Enterprise and above and Support Enterprise.[11][12][13]

How Cotool works with Zendesk

  • Cotool added Zendesk in release 0.79.0 for ticket investigation and response, with managed audit and access log ingestion and built-in detections. Release 0.80.0 let read-only OAuth clients connect.[1]
  • Ingested Zendesk logs land in Cotool Logs, where they can be searched and evaluated on a schedule by the Detections Platform. Connecting Zendesk and enabling its log streams are separate steps.[3]
  • Cotool agents can be called from a webhook, the API, or a cron schedule, which is how a new support ticket can start a triage agent.[4]

FAQ

Which Zendesk plan do audit logs and access logs need?
Zendesk audit logs through the API need the Enterprise plan. Zendesk access logs need the Advanced Data Privacy and Protection add-on, available for Suite Enterprise and above and for Support Enterprise.[11][13]
Why did a Zendesk client credentials token stop working?
A Zendesk client credentials token acts as the admin who created the OAuth client. If that admin is deleted, downgraded, or loses the access to manage OAuth clients, requests with the token fail; create a new client as an active admin.[6]

Sources

  1. Changelog (Cotool docs) · accessed November 22, 2026
  2. Integrations (Cotool) · accessed November 22, 2026
  3. Cotool Log Ingest (Cotool docs) · accessed November 22, 2026
  4. Respond to every signal (Cotool Respond) · accessed November 22, 2026
  5. Threat hunting (Cotool Hunt) · accessed November 22, 2026
  6. Using OAuth authentication with your application (Zendesk help) · accessed November 22, 2026
  7. OAuth Tokens for Grant Types (Zendesk Developer Docs) · accessed November 22, 2026
  8. Search (Zendesk Developer Docs) · accessed November 22, 2026
  9. Tickets (Zendesk Developer Docs) · accessed November 22, 2026
  10. Ticket Audits (Zendesk Developer Docs) · accessed November 22, 2026
  11. Audit Logs (Zendesk Developer Docs) · accessed November 22, 2026
  12. Access Logs (Zendesk Developer Docs) · accessed November 22, 2026
  13. About the Advanced Data Privacy and Protection add-on (Zendesk help) · accessed November 22, 2026

Related integrations

All integrations

Use cases with Zendesk

Related reading

Attackers are scaling with tokens

Cotool helps defenders operate at machine speed. See how security teams are scaling Detection & Response.

Book a demo