/v1/ request with an API key, sent as a bearer token.
For developers making their first call to the Cleff API.
Agents: fetch this page as plain markdown at
https://docs.usecleff.com/authentication.md.Get your first key
- Sign up at app.usecleff.com/signup.
- Verify the email address you signed up with.
- Sign in to the dashboard, fill in and submit your business profile under Settings → Company.
- Create a key under Settings → API keys.
Signing up creates no key. The dashboard opens API keys once the email address is verified and
your business profile is submitted, and a production key only once your Business is verified; see
Go live.
Send the key
Send the key in theAuthorization header:
Read the key format
ck_<environment>_<id_prefix>_<secret>
environment:sandboxorproductionid_prefix: 8 hex characters, a public-safe identifier shown in the dashboardsecret: random, and never stored in plaintext
Scope a key to one Business and environment
A key only sees the Business and the environment (sandbox or production) it was created for. Anything outside that scope returns404, not 403. If an ID you know exists comes back 404, check the key’s
environment.
Store and rotate a key
If a key leaks or you lose it, rotate it from the dashboard.Next steps
Idempotency
Retry a request safely after a timeout or a
5xx.Errors
What each error code means and how to fix it.
Webhooks
Receive signed payout and beneficiary events instead of polling.