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.
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Workspace id.

Body Params

The type of API key to generate and, optionally, the workspace admin who will own it.

Payload for creating an API key for a user, scoped to a production or sandbox environment.

string
string
enum
required
Defaults to sandbox

A type of API key.

Allowed:
Responses

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