Overview
Commerce API keys authenticate Commerce requests. Keys are scope-based and are prefixed withck_....
Use them as x-commerce-api-key: ck_... on Commerce endpoints.
For most teams, the easiest path is to manage keys in the Dashboard (login required): .
Authentication
Key management endpoints require a Dashboard JWT:Authorization: Bearer <jwt>
Request
Endpoints:GET /api/v1/api-keys?scope=commerce(list)POST /api/v1/api-keys(create)POST /api/v1/api-keys/{keyId}/revoke(revoke)
Response
Example (created key — save it now, it is only returned on creation):Errors
401missing/invalid bearer token400invalid scope or request body403policy limit reached (for example, max active keys per scope)404key not found (revoke)

