Create an API Key
Request body
An internal name to identify the API key.
The organization ID for which to create the API key.
Optional expiry time (strictly future, at most one year); omit for keys that do not auto-expire.
Seller API keys only: initial permissions.
Seller API keys only: when true, grants full seller access.
Response
Created
The ID of the API key.
Whether the API key can be used to authenticate against the API.
An internal name to identify the API key.
The ID of the seller that owns the API key.
The ID of the organisation that owns the API key.
The secret key to be used to authenticate against the API.
An ISO Timestamp indicating when the API Key was created.
An ISO Timestamp indicating when the API Key was last updated.
Optional ISO instant after which the key no longer authenticates; omit or null for no automatic expiry.
The version of the API key.
Seller keys only: when true, grants full seller access (seller-admin equivalent).
Explicit permissions
Example response
{
"key": "key_somerandomcombinationofnumbersandletters"
}