Skip to main content
This workflow requires a super-admin key.For a refresher on the difference between the key types, you can visit Authentication.
You do not need to switch workspaces using the API or the UI for this workflow.
api-user keys can be generated for workspaces using the API.

Creating a Key

Send a POST request to the following endpoint.
workspace_id
integer
required
The ID of the workspace you want to generate a key for.
Workspace IDs can be aquired by sending a GET request to api/v1.1/workspaces.
You must include a name field in a JSON body, this field is the name of the API key you are creating.An example of a request creating an API key named “New token” for the workspace with ID 54: