Create API Key

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequired
Name of api key.
permissionsobjectOptional
Granular permissions for the API key. When ommitted all permissions are granted. Otherwise, only permissions set to true are granted.

Response

This endpoint returns an object.
api_key_idstring
ID of api key.
api_keystring
API key.
prefixstring
Prefix of api key.
namestring
Name of api key.
created_atdatetime
Time at which api key was created.
pod_idstring
Pod ID the api key is scoped to.
inbox_idstring
Inbox ID the api key is scoped to.
permissionsobject
Granular permissions for the API key. When ommitted all permissions are granted. Otherwise, only permissions set to true are granted.

Errors

400
Validation Error