Helpdear Docs Deploy free

REST API

Read and change conversations, contacts, articles and feedback with a token.

Everything the dashboard does with conversations, contacts, the help center and feedback is available under /api/v1 on your install.

Tokens

Create a token in Settings → API & MCP. Pick:

  • Read: GET requests only.
  • Read & write: also POST, PATCH, PUT and DELETE.

A token acts as the person who made it, with their current role, and stops working when it's revoked, expires, or its person is removed. Tokens start with helpdear_, so secret scanners can spot a leaked one. Only a hash is stored; copy the token when it's shown.

curl https://help.example.com/api/v1/conversations?status=open \
  -H "Authorization: Bearer helpdear_…"

Conventions

  • JSON in and out. Send Content-Type: application/json with a body.
  • Timestamps are integer UTC seconds.
  • Errors are { "error": "A sentence for people", "code": "stable_code" }.
  • Each token may make 120 requests a minute; above that you get 429 with Retry-After: 60.
StatusCodeMeaning
401unauthorizedMissing, unknown, revoked or expired token
403read_only_tokenA read token tried to change something
403forbiddenThe token's person doesn't have the role for this
404not_foundNo such thing, or no such endpoint
400invalid_inputCheck the message for what to fix
429rate_limitedSlow down

Conversations

Method and pathWhat it does
GET /api/v1/conversationsList. Query: view (mine, unassigned, all), status (open, pending, snoozed, resolved, all), sort (newest, oldest, waiting), q, label, contact, limit (up to 100), cursor
GET /api/v1/conversations/unreadHow many open conversations have unread messages
GET /api/v1/conversations/{id}One conversation with its messages, notes and events
POST /api/v1/conversations/{id}/messagesReply. Body: { "body": "…", "kind": "message" } or "kind": "note"
PATCH /api/v1/conversations/{id}Change status, snoozedUntil (with status: "snoozed"), priority, assigneeId, subject, labelIds
POST /api/v1/conversations/{id}/readMark read for the team

A list returns { "conversations": [...], "nextCursor": "…" | null, "counts": { "mine", "unassigned", "all" } }. Pass nextCursor as cursor for the next page.

curl -X POST https://help.example.com/api/v1/conversations/$ID/messages \
  -H "Authorization: Bearer helpdear_…" -H "Content-Type: application/json" \
  -d '{"body": "Thanks, this is fixed now."}'

Contacts

Method and pathWhat it does
GET /api/v1/contactsList. Query: filter (all, online, with_email, anonymous), q, limit, cursor
GET /api/v1/contacts/{id}One contact with page views and conversations
PATCH /api/v1/contacts/{id}Change name, email, phone, company, notes, data, blocked
POST /api/v1/contacts/{id}/conversationsStart a conversation with them. Body: { "body": "…" }
POST /api/v1/contacts/{id}/mergeMerge into another contact. Body: { "intoId": "…" }
DELETE /api/v1/contacts/{id}Delete with their conversations and page views
GET /api/v1/contacts/export.csvEvery contact as CSV

Labels and saved replies

Method and pathWhat it does
GET, POST /api/v1/labelsList, or create with { "name", "color" }
PATCH, DELETE /api/v1/labels/{id}Rename, recolor, delete
GET, POST /api/v1/repliesList, or create with { "shortcut", "body" }
PUT, DELETE /api/v1/replies/{id}Replace or delete

Help center

Method and pathWhat it does
GET /api/v1/help/collectionsCollections with article counts
POST /api/v1/help/collectionsCreate with { "name", "description", "icon" }
PATCH, DELETE /api/v1/help/collections/{id}Change or delete
GET /api/v1/help/articlesArticles, drafts included. Query: collection
POST /api/v1/help/articlesCreate with { "title", "body", "collectionId", "status" }
GET, PATCH, DELETE /api/v1/help/articles/{id}Read, change or delete

Published articles are also public, without a token: GET /api/help/search?q=…, GET /api/help/collections, GET /api/help/articles/{slug}.

Feedback and changelog

Method and pathWhat it does
GET, POST /api/v1/feedback/boardsList, or create with { "name", "description", "isPublic" }
GET /api/v1/feedback/postsIdeas. Query: board, status (active, all or a status), sort (top, trending, new), q
GET /api/v1/feedback/posts/{id}One idea with comments and voters
PATCH /api/v1/feedback/posts/{id}Change status, title, body, boardId, pinned
POST /api/v1/feedback/posts/{id}/commentsComment. Body: { "body", "internal" }
POST /api/v1/feedback/posts/{id}/mergeMerge into { "intoId" }
GET /api/v1/feedback/roadmapPlanned, in progress and complete ideas
GET, POST /api/v1/feedback/changelogEntries, or create with { "title", "body", "category", "postIds" }
PATCH /api/v1/feedback/changelog/{id}Change it, or publish with { "status": "published" }

Analytics and you

Method and pathWhat it does
GET /api/v1/analytics?range=30d&tz=Europe/BerlinThe numbers from the Analytics screen; range is 7d, 30d or 90d
GET /api/v1/meThe token's person