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_… (or cl_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-Key header required on side-effect-bearing POSTs (sends, imports).
  • Errors: see Errors for the envelope and per-code list.

Resources