API Keys
Create API key
Creates a new API key with the specified scopes and expiry defined via expires_in (seconds).
POST
Create API key
Authorizations
Body
application/json
A list of scopes that the API key will have access to.
Minimum array length:
1Available options:
admin:api-keys:create, admin:api-keys:read, admin:api-keys:update, admin:api-keys:delete, admin:webhooks:create, admin:webhooks:read, admin:webhooks:delete, pci:tokens:create, pci:tokens:read, pci:tokens:update, pci:tokens:delete, pci:tokens:forward, network:tokens:create, network:tokens:read, network:tokens:delete, network:tokens:use, generic:tokens:create, generic:tokens:read, generic:tokens:delete, admin:types:create, admin:types:read, admin:types:delete How many seconds after creation the API key expires automatically.
Required range:
1 <= x <= 7776000Response
Success response
The generated API key value. It will only be returned once with this response.
A list of scopes that the API key will have access to.
Minimum array length:
1Available options:
admin:api-keys:create, admin:api-keys:read, admin:api-keys:update, admin:api-keys:delete, admin:webhooks:create, admin:webhooks:read, admin:webhooks:delete, pci:tokens:create, pci:tokens:read, pci:tokens:update, pci:tokens:delete, pci:tokens:forward, network:tokens:create, network:tokens:read, network:tokens:delete, network:tokens:use, generic:tokens:create, generic:tokens:read, generic:tokens:delete, admin:types:create, admin:types:read, admin:types:delete Create API key