Create API key

Create a new API key based on params passed.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Body Params
string
required

Name of the client for which the key is being created

tokens
array of strings
required

List of tokens to be authorized on. Token IDs must be UUIDs and existing in Servicing

tokens*
boolean
required

Grant the permissions on all the tokens. Requires that no tokens are given inside "tokens" list

permissions
array of objects
required

List of permissions to be authorized on. Permission must be of type APIKEY_PERMISSIONS

permissions*
Allowed:
Responses

400

API key data not valid.

The chosen client name does not meet the required requirements. Please replace '_' with '-'.

When no tokens are included in tokens, allowAllTokens must be set to true

The tokens list must be empty when setting allowAllTokens to true

401

Unauthorized.

404

Token not found

422

API key creation failed because there is already an existing API key.

Language
Credentials
Bearer
JWT
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json