Call Quill AI from your own servers: read projects, templates, documents, meetings and tasks, add notes and write documents, with an API key or OAuth 2.0 client credentials.
Last updated: November 27, 2026
What the Quill API is
The Quill API is a REST API over HTTPS for your own servers. It does what Quill MCP does: read your templates, projects, documents, meetings and tasks, add notes, and have Quill AI write or update a document from a template. It sees only what you can open in Quill AI, under the clients the credential allows.
Every route is under the base address below, version 1. Requests and answers are JSON. Dates are ISO 8601. Every answer has an X-Request-Id header; quote it when you write to us.
The API is for servers. A request from a web page (one with an Origin header) is refused. It is included on Pro, Ultra and Enterprise.
Base address
https://www.quillai.app/api/v1
Authenticate with an API key
The same API key that connects an app to Quill MCP works here. Create one in Settings, AI, MCP with Create API key, and send it in the Authorization header as Bearer, a space, then the key. A key reads and writes, keeps the clients and the Meetings switch you chose for it, ends after 7 days without use, and renews each time it is used. Quill AI asks for your password again before it makes a key when you last signed in more than 10 minutes ago.
For a server that runs on its own, a workspace admin creates an API client in Settings, AI, API with Create API client. Only workspace admins can create API clients; other members can use an API key instead. Give the API client a name, its access (read only unless you choose read and write), its clients and the Meetings switch. Quill AI asks for your password again when you last signed in more than 10 minutes ago. It then shows the client ID and the client secret; the secret is shown once, so copy it right away. You can have two active API clients in a workspace.
Trade them for an access token at the token endpoint (RFC 6749, section 4.4). Send grant_type=client_credentials form encoded, with the client ID and secret in an Authorization: Basic header or in the body, not both. The token lasts an hour and there is no refresh token: ask for a new one when it ends. Revoking the API client in Settings ends its tokens at once.
An API client ends after 7 days without use, and each token request or call renews it. A server that calls less often than that should ask for a token at least once a week to keep its API client.
Get a token (Basic)
curl -X POST https://www.quillai.app/api/v1/oauth/token \
-u "qmci_your_client_id:qmcs_your_client_secret" \
-d grant_type=client_credentials
There are two scopes: read for GET routes and write for POST and PATCH routes (write includes read). Leave out scope to get everything the API client allows. A read only API client cannot get the write scope, and a read only token gets 403 insufficient_scope on a write, before anything is changed.
Pagination, retries and versions
Lists answer { "data": [...], "next_cursor": "...", "meta": {...} }. GET /projects, GET /meetings and GET /tasks take limit and cursor; GET /templates takes cursor only (60 a page). Pass next_cursor back as cursor for the next page; it is null on the last page. Do not build a cursor yourself.
GET /clients (50 clients; q finds others), GET /projects/{project_id}/notes (the newest 100) and GET /projects/{project_id}/documents (the newest 50) are one page: they take neither limit nor cursor, next_cursor is null, and meta.total gives the full count.
Send an Idempotency-Key header (8 to 100 letters, digits, dots, underscores, colons or dashes) on a POST or PATCH to retry it safely. The same key with the same request answers the stored result with Idempotent-Replayed: true for 35 days. Only successful answers are stored. The same key with a different request is 409 conflict. Keys are per credential.
A document, a client or a project changes only from the version you read: send its ETag in If-Match (or its updated_at as expected_updated_at). If it changed since, nothing is written and the answer is 412 (409 when you sent expected_updated_at). A task takes the same stamp, optionally.
Every error has the same shape. Switch on code; reason, when there is one, names the Quill rule, and details may name the field.
An error
{
"error": {
"code": "insufficient_scope",
"message": "This access token is read only. Ask for a token with the write scope to make changes.",
"request_id": "6f1c2a4e-0b7d-4c55-9a51-3f2e8d1c7b90"
}
}
Error codes by HTTP status
Status
Code
When
400
invalid_request
A query parameter, cursor, header or body Quill AI cannot read
401
invalid_token
No credential, or one that is unknown, expired or revoked, or an API client whose owner is no longer a workspace admin (with WWW-Authenticate: Bearer)
403
insufficient_scope
A read only token on a write
403
plan_required
The workspace is not on Pro or above
403
forbidden
Meetings is off for the credential, Tasks is off for the workspace, a credential limited to some clients tried to add one, or someone who is not a workspace admin tried to rename a client
404
not_found
No such resource among the ones this credential can use
409
conflict
An Idempotency-Key reused, similar projects, a name another client or project already has, a stale expected_updated_at, or a job in the wrong state
412
precondition_failed
The If-Match stamp is out of date
422
validation
A field Quill AI did not accept, or something that looks like a secret
428
precondition_required
A change to a document, a client or a project without If-Match or expected_updated_at
429
rate_limited
Too many requests: wait for Retry-After seconds
503
service_unavailable
The API is switched off for now (Retry-After)
Rate limits
Each credential (an API key or an API client): 600 calls an hour, of which 200 writes.
The token endpoint: 60 tokens an hour per API client and 120 per person. A token lasts an hour, so ask for one and reuse it.
The per-person limits of Quill MCP apply on top, shared by all your keys, API clients and MCP connections. GET /workspace shows what is left.
Job checks count too. Use wait on GET /jobs/{job_id} (a long poll) rather than asking again quickly.
Over a limit, the answer is 429 rate_limited with a Retry-After header in seconds, and details.applies_to says which limit.
GET /clients/{client_id} answers a client with its pipeline fields: the stage, contact details, website, domains, the last touch and counts of its open tasks and meetings. The stage and the counts come with Tasks, as in the app (crm is null without it), and the contacts seen in its meetings only when Meetings is on for the credential. PATCH /clients/{client_id} changes the same fields; renaming a client needs a workspace admin, as in the app. PATCH /projects/{project_id} renames a project, changes its description or status, or moves it to another client this credential may use, when you can edit the project in the app (a project you can only view is not found). Both PATCH routes need the stamp of what you read, and a name another client or project already has is 409 conflict with details.id when the credential may use it.
GET /tasks/{task_id} answers one task as GET /tasks lists it, with its full notes and its comments, newest first (comments_limit a page, comments_cursor for the next).
Changes made through the API show under Changed in Show what it added, in Settings.
Quill API v1 routes
Method
Path
What it does
GET
/workspace
The workspace, this credential, its clients and what is left of the limits
GET
/clients
Clients this credential may file projects under
POST
/clients
Add a client (a credential with all clients only)
GET
/clients/{client_id}
One client with its pipeline stage and contacts
PATCH
/clients/{client_id}
Change a client's details or stage (If-Match required)
GET
/projects
Projects you can open under its clients
POST
/projects
Create a project
GET
/projects/{project_id}
One project
PATCH
/projects/{project_id}
Rename, describe, move or set the status of a project (If-Match required)
GET
/projects/{project_id}/notes
Notes added through MCP or the API
POST
/projects/{project_id}/notes
Add a Markdown note
GET
/projects/{project_id}/documents
Documents and decks of a project
POST
/projects/{project_id}/documents
Write a document from a template (202, a job)
GET
/templates
The workspace templates
GET
/templates/{template_id}
One template outline
GET
/documents/{document_id}
A Word document as Markdown, with its ETag
PATCH
/documents/{document_id}
Replace its content in place (If-Match required)
POST
/documents/{document_id}/refresh
Update it from the newer notes (202, a job)
POST
/documents/{document_id}/slides/refresh
Update a deck from the newer notes (202, a job)
GET
/jobs/{job_id}
A job; wait up to 45 seconds for a change
POST
/jobs/{job_id}/retry
Retry a stuck job, once
POST
/jobs/{job_id}/answers
Answer the questions of a job
GET
/meetings
Your meetings under its clients (Meetings on)
GET
/meetings/{meeting_id}
One meeting: summary, decisions, transcript
GET
/tasks
Your tasks under its clients (Tasks on)
POST
/tasks
Add a task
GET
/tasks/{task_id}
One task with its comments
PATCH
/tasks/{task_id}
Change a task (If-Match optional)
POST
/tasks/{task_id}/comments
Comment on a task
POST
/oauth/token
Get an access token (client credentials)
GET
/openapi.json
The OpenAPI 3.1 document
Security
Quill AI stores API keys, client secrets and access tokens only as one-way hashes, and a credential never reaches projects you cannot open. When a member leaves the workspace, their keys and API clients stop working, and when an admin is no longer a workspace admin, their API clients stop working too. How Quill AI protects your data.
Help
Something not working as described here? Email info@quillai.app with the X-Request-Id of the answer.