Create new API key for current user's organization. If user is super admin, parameter apiKey can be provided to specify organization for which the key should be created (ignored otherwise).
API reference, Onboarding
Create
POST
https://demo-api.incodesmile.com/omni/api-keyHeaders
Request body
application/json
Key name.
Organization reference.
Responses
Response body (application/json)
Key name.
Key value, sha1(clientId).
Key clientId, name + random 3 digits.
Key validity.
Key creation timestamp.
Key adjustment timestamp.
Response body (application/json)
UTC timestamp in milliseconds
Custom error code or HTTP status code
HTTP status error
Custom error message
Endpoint path
Custom error details