- 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, search, create, update, or delete tickets, and add notes or reply to customers
- Search, audit, and clean up knowledge articles
- Read audit logs, pull requests, and automations
- Review, approve, or reject gaps
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.
Connect an AI client
Use the MCP connection guide to connect Claude, ChatGPT, or a coding client to your Decimal workspace.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, searches, and reads tickets synced from your helpdesk, by Decimal ID or helpdesk ID, and downloads their files. It creates tickets through an email mailbox connected in Decimal, and acts on a ticket in the helpdesk it came from: changing its status, priority, assignee, or tags, adding an internal note, or replying to the customer.
Knowledge
Knowledge
The Knowledge API lists, searches, and deletes the articles your agent answers from.
Knowledge gaps
Knowledge gaps
The Knowledge gaps API reads the changes Decimal proposes to your knowledge base and docs, and approves or rejects them. Only knowledge base gaps can be approved here.
Pull requests
Pull requests
The Pull requests API reads the pull requests Decimal opened in your connected repositories.
Automations
Automations
The Automations API reads your automations, their triggers and tools, and every run.
Audit logs
Audit logs
The Audit logs API reads who did what in your organization. Enterprise plan.
Utility
Utility
Check a token’s name, scopes, and organization.