Create API Key

Generate a new API key for the workspace. Check out API Key Authentication article for detailed API Keys description.

  • Only an Org Admin can generate an API keys.
  • To make another user a key's owner, pass user_id of this user. The user should has an Admin role in the workspace.
  • Generating a new key invalidates existing key with the same type. Using this request, you can deactivate the key you're using for the request.
Path Params
string
required

Workspace id.

Body Params
string
string
enum
required
Defaults to sandbox

A type of API key.

Allowed:
Responses

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