API introduction
The Ferndesk REST API lets your own systems read and write your help center, work the helpdesk inbox, read reports and change settings. Every request goes to https://api.ferndesk.com/v1 with an API key. The full list of endpoints, with request and response examples, is in the API reference in this section.
Make your first request
An owner or admin creates a key in Settings > Workspace > Developers, see Give a developer access. Listing articles needs the content:read scope.
curl "https://api.ferndesk.com/v1/articles?page_size=5" \
-H "Authorization: Bearer $FERNDESK_API_KEY"Keys, scopes and error codes for authentication are in Authentication.
Send a User-Agent header that names your script. A request with Python urllib's default one is refused with a plain-text 403 (error code 1010) before it reaches Ferndesk.
What you can do
Area | Resources |
|---|---|
Help center | Articles, drafts, revisions, translations, collections, sections, changelogs, help center users, review requests, assets (images, videos and other files) |
Fern | Tasks: start one and read its result |
Helpdesk | Conversations (including importing past ones from another tool), notes and replies, customers, teammates, labels, saved replies, playbooks, email inboxes |
Reports | Helpdesk and help center reports, article feedback, your AI agent's conversations |
Settings | Read and change help center, widget, AI agent and inbox settings, invite teammates |
Webhooks | Endpoints that receive events, see Webhooks |
Write article content
Send an article body as markdown or as content, the editor's JSON document, never both. HTML isn't accepted on article writes.
curl -X POST https://api.ferndesk.com/v1/articles \
-H "Authorization: Bearer $FERNDESK_API_KEY" \
-H "Content-Type: application/json" \
-d '{"title": "Export your invoices", "sectionId": "SECTION_ID", "markdown": "Go to **Billing** and choose **Export**."}'POST /articlescreates a draft. Pass"publish": trueto publish at once, which needs thecontent:publishscope.PATCH /articles/:idapplies metadata and placement at once and saves body changes to a draft. Publish it withPOST /articles/:id/publish.Images in the body are uploaded for you, see Image uploads. Files are not: a file block needs a path already hosted by Ferndesk.
To read a body, pass ?format=html (the default), markdown or json. The response holds contentHtml, contentMarkdown or contentJson. Block types in the JSON include paragraph, heading, image, callout, codeBlock, multiCode, steps, card, faq, table, file and videoEmbed. Read an existing article as JSON to see each one's shape.
In JSON, images and files have full URLs that don't expire. A public file gets its plain file URL. A file that only some readers can see gets https://api.ferndesk.com/v1/files/..., which opens only with an API key from the same workspace and redirects to a signed link. HTML and Markdown bodies carry signed links that last up to two hours. When you write a body back, both URL forms are stored as the original path, so you can send back what you read.
Lists and pagination
Help center lists take page_size (1 to 100, default 20) and start_cursor, and return results, has_more and next_cursor. Helpdesk, review request, report and settings lists take limit (1 to 100, default 25) and cursor, and return data, has_more and next_cursor. Pass the cursor back unchanged, with the same filters.
Rate limits
Limit | Value |
|---|---|
Each key | 1,000 requests a minute |
Each workspace, all keys and MCP connections together | 3,000 requests a minute |
| 60 an hour |
| 10 an hour |
| 300 an hour |
Asset uploads, replaces and external id changes, per workspace (API and MCP together) | 60 a minute |
Responses carry X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset. Over a limit you get a 429 with Retry-After in seconds.
Errors
Help center endpoints return {"error": "message", "code": "code"}. Helpdesk, review request, report and settings endpoints return an error object with type, code, message and request_id, and accept an Idempotency-Key header so a retried write runs once. They accept request bodies up to 4 MiB.
Versions
Send Ferndesk-Version: 2026-11-17 to pin the API version. It is the only version, so it is also the default. Every response includes the header.
Can I add redirects through the API?
Only when you delete. Stage the delete of an article or collection in a review request with redirect_to, and readers of the old URL go there once the request is published.
Can a contributor's key publish?
No. A key acts as the teammate who created it, so a contributor's key saves drafts and an owner or admin publishes them.
Where are the settings endpoints?
GET /settings/{area} and PATCH /settings/{area} for the help center, widget, AI agent and inbox, plus /playbooks, /labels, /saved_replies, /email_inboxes and /teammates/invites. Changes need an owner or admin's key with settings:write, and inviting teammates needs team:write.