Create a new API key
API Keys
Create API Key
Creates a new partner API key. The response includes the rawKey — it is shown only once. Store it securely. Requires staff JWT authentication.
POST
Create a new API key
Authorizations
Staff panel JWT access token
Body
application/json
Maximum string length:
100Example:
"My CRM Integration"
Available options:
branch, personal, public Required when type=branch or type=public
Example:
1
ISO 8601 expiry date. Omit for no expiry.
Example:
"2027-01-01T00:00:00Z"
Response
API key created. The rawKey field is shown only in this response.
Example:
"My CRM Integration"
Available options:
branch, personal, public First 20 chars of the key, for display
Example:
"sk_personal_Ab3x"
Example:
true
The full API key. Shown only once — store securely.
Example:
"sk_personal_Ab3xYz7qR2mN9kLpW4vC8dE1fT6uS0hJ"
Example:
"Store this key securely — it will not be shown again."