Skip to content

Black Friday:

60% off

Cliedesk Pro

Every plan, every site count. Ends Cyber Monday.

00 days 00 hrs 00 min 00 sec
Claim 60% off

Developers

REST API reference

130 endpoints in 24 areas. The API is part of Cliedesk Pro and runs on your own WordPress site.

Basics

Every request goes to your own site:

https://your-site.com/wp-json/cliedesk-api/v1

Version 1 only ever grows: fields and endpoints are added, never removed or changed without notice. Deprecations are announced 12 months ahead. Current revision: 1.0.0 (rev 2026-10-19).

Authentication

Create an API key in Cliedesk under Settings → Developer → API keys and send it as a Bearer token, or in the X-Cliedesk-Key header. Apps that act for a person use OAuth 2 with PKCE. A key never has more rights than its owner, and it only reaches the products it is limited to.

curl https://your-site.com/wp-json/cliedesk-api/v1/conversations \
  -H "Authorization: Bearer cdk_live_…"

The API guide covers keys, OAuth, pagination, filters, errors, rate costs and idempotency.

Scopes

ScopeAllows
conversations:readList and read conversations, views and their events.
conversations:writeCreate and change conversations: status, priority, assignment, merge, split, snooze, spam, bulk changes.
conversations:deleteMove conversations to Trash and restore them.
messages:readRead messages of conversations.
messages:writeSend replies and record messages.
notes:writeAdd internal notes.
contacts:readList and read contacts and their timeline.
contacts:writeCreate, change and merge contacts.
contacts:deleteMove contacts to Trash.
organizations:readList and read organizations.
organizations:writeCreate, change and delete organizations and their members.
workspace:readRead products, brands, teams, fields and statuses.
tags:readList tags.
tags:writeCreate, change and delete tags and tag conversations.
saved_replies:readList, read and render saved replies.
saved_replies:writeCreate, change and delete saved replies.
articles:readSearch and read help-center articles.
approvals:readRead approval requests (never decide them).
events:readRead the changed-since sync feed and timelines.
reports:readRead report metrics.
channels:writePost events of custom channels (messages, receipts, typing).
webhooks:readRead webhook subscriptions and their deliveries.
webhooks:writeCreate, change, test and delete webhook subscriptions and replay deliveries.
mcp:readUse the MCP server with read-only tools.
mcp:writeUse the MCP server with tools that change things (within your rights; some need approval).
customer:readCustomers only: see your own orders and support requests.
customer:writeCustomers only: open support requests and write messages in them.
audit:readRead the audit log, check its hash chain and read the read-access log.
surveys:readRead surveys and survey responses (CSAT, NPS, CES, microsurveys).
surveys:writeCreate surveys and write survey responses from other survey tools.
ai:readRead AI agent profiles and playbooks (metadata) and receive AI events.
ai:read_tracesRead redacted AI traces (sensitive: the key owner needs the right to view AI traces).
ai_agent:readRead the AI agent's answers to messages this key sent.
ai_agent:writeSend customer messages to the AI agent, run playbooks and escalate to people.
events:writeRecord custom customer events.
records:readList and read custom records and their types.
records:writeCreate, change and delete custom records.
access:readRead customers' product access records and their history.
access:writeGrant, change and revoke product access and import access records.
commerce:readRead orders, subscriptions and the other commerce records of customers.
commerce:writeRun commerce actions (refunds, cancellations, coupons, subscription changes) under the commerce guardrails; some need approval.