The Zendesk connector is an API connector for Zendesk Support. It imports tickets using cursor-based pagination and produces structural claims for status, priority, tags, and title. Ticket descriptions are run through text extraction for additional claims.
/api/v2/tickets) with API token or OAuth| Subject | Predicate | Object |
|---|---|---|
(ticket id, ticket) | has_status | (status, status) |
(ticket id, ticket) | has_priority | (priority, level) |
(ticket id, ticket) | tagged | (tag, tag) |
(ticket id, ticket) | titled | (subject, title) |
In your Zendesk Admin Center, go to Apps and integrations > APIs > Zendesk API and create an API token. You will also need the email address associated with the token.
$ pip install requests
conn = db.connect("zendesk", subdomain="mycompany", email="admin@mycompany.com", token=os.environ["ZENDESK_API_TOKEN"], ) result = conn.run(db)
| Parameter | Required | Default | Description |
|---|---|---|---|
subdomain |
Yes | — | Zendesk subdomain (e.g. mycompany for mycompany.zendesk.com) |
token |
Yes | — | Zendesk API token or OAuth Bearer token |
email |
No | — | Email for API token auth (used as {email}/token) |
status |
No | All | Filter tickets by status (e.g. open, pending, solved) |
max_tickets |
No | 500 |
Maximum number of tickets to fetch |
extraction |
No | heuristic |
Text extraction mode for descriptions: heuristic or llm |
save |
No | False |
Encrypt and persist credentials |
conn = db.connect("zendesk", subdomain="mycompany", email="admin@mycompany.com", token=os.environ["ZENDESK_API_TOKEN"], ) result = conn.run(db) print(f"Ingested {result.claims_ingested} claims from {result.tickets_processed} tickets")
conn = db.connect("zendesk", subdomain="mycompany", email="admin@mycompany.com", token=os.environ["ZENDESK_API_TOKEN"], status="open", max_tickets=200, ) result = conn.run(db)
conn = db.connect("zendesk", subdomain="mycompany", token=os.environ["ZENDESK_OAUTH_TOKEN"], extraction="llm", save=True, ) result = conn.run(db)