API reference
The Clement API is REST over HTTPS, JSON in and JSON out, bearer-auth'd. Every
endpoint is documented from the OpenAPI 3.1 spec served at
api.clement.so/openapi.json.
The spec is the source of truth — these pages are generated from it.
Conventions
- Base URL:
https://api.clement.so - Auth:
Authorization: Bearer cl_live_…(orcl_test_…for sandbox) - IDs: type-prefixed ULIDs —
inb_…for inboxes,cmp_…for campaigns, etc. - Pagination: cursor-based;
limit(max 200),starting_after,ending_before. - Idempotency:
Idempotency-Keyheader required on side-effect-bearing POSTs (sends, imports). - Errors: see Errors for the envelope and per-code list.
Resources
Meta
1 endpointHealth and metadata.
Workspace
1 endpointThe workspace bound to your key — plan, limits, and current-month usage. Useful for agents bootstrapping context.
API keys
4 endpointsWorkspace bearer credentials. Read, write, admin scopes.
Inboxes
7 endpointsConnected sending accounts (Gmail, Outlook, SMTP).
Sends
4 endpointsThe send primitive — single, fan-out, scheduled, threaded.
Messages
3 endpointsOutbound and inbound emails, full body and headers.
Threads
3 endpointsConversations grouping outbound + inbound messages.
Contacts
10 endpointsPeople you might message. Email + arbitrary attributes.
Audiences
7 endpointsNamed collections of contacts.
Sequences
9 endpointsReusable multi-step email templates.
Campaigns
21 endpointsAudience × sequence × inbox set × schedule. Lifecycle: start / pause / resume.
Suppressions
5 endpointsWorkspace-global block list of recipient addresses.
Events
2 endpointsImmutable log of state changes — back-fill source for webhooks.
Webhooks
10 endpointsSigned event delivery, retries, deliveries log.