REST API Business plan
JSON over HTTPS. A workspace API key or an OAuth token as the bearer; the workspace is in the path, and a record of another workspace is a 404.
- An Idempotency-Key makes a retried write return the first result, never a second record.
- Errors are RFC 9457 problem details with a stable code.
- Every response carries the rate-limit headers; a spent budget answers 429 with Retry-After.
curl -X POST "https://app.rokn.dev/api/v1/workspaces/atelier-nord/clients" \
-H "Authorization: Bearer $ROKN_API_KEY" \
-H "Idempotency-Key: import-hallberg-2026-11" \
-H "Content-Type: application/json" \
-d '{ "name": "Hallberg Studio", "type": "company" }'