- Answer customer questions in their own app, from your knowledge base and code
- Hand a conversation to your helpdesk when the customer needs a person
- List, look up, or delete tickets synced from your helpdesk
- Search, audit, and clean up knowledge articles
- Read audit logs, pull requests, gaps, and automations
Fundamentals
- The API is REST over HTTPS. Requests and responses are JSON.
- Every request goes to
https://api.getdecimal.ai/v0/...with a Bearer token. Its scopes decide which endpoints it can call. - Requests are rate limited per token and per organization.
- Errors share one response shape with a machine-readable
code. - List endpoints use cursor pagination.
- Endpoints that create something accept an idempotency key, so a retry never sends a message twice.
- Every response has a
Request-Idheader. Include it when you email support.
Quickstart
Create a token under Settings → API Keys with thechat:write and chat:read scopes, then send a message:
202 Accepted right away with a conversation_id. The agent works in the background, so poll the conversation until status is completed:
conversation_id.
API playground
Every endpoint page has a Try it button. Paste your token into the Authorization field, fill in the parameters, and send the request against your workspace. The panel beside it shows the same request as code in several languages.The playground calls the production API. Deleting a ticket or knowledge article from it can’t be undone.
API families
Chat
Chat
Escalation
Escalation
The Escalation API hands a conversation to your helpdesk as a ticket, with the transcript and an AI summary.
Tickets
Tickets
The Tickets API lists tickets synced from your helpdesk, fetches one by Decimal ID or helpdesk ID, downloads its files, and deletes a ticket by helpdesk ID.
Knowledge
Knowledge
The Knowledge API lists, searches, and deletes the articles your agent answers from.
Audit logs
Audit logs
The Audit logs API lists who did what in your organization. Requires audit logs on your plan.
Pull requests
Pull requests
The Pull requests API lists and reads pull requests from your connected repositories.
Gaps
Gaps
The Gaps API lists and reads the changes Decimal proposes to your knowledge base, docs, and code.
Automations
Automations
The Automations API lists and reads your automation definitions, triggers, and run history.
Utility
Utility
Check a token’s name, scopes, and organization.