GET
/
workspaces
/
{workspace_id}
/
api_key
Get workspace API key
curl --request GET \
  --url https://app.getcensus.com/api/v1/workspaces/{workspace_id}/api_key \
  --header 'Authorization: Bearer <token>'
{
  "api_key": "YourAPIKeyHere"
}

Authorizations

Authorization
string
header
required

Bearer authorization using your Personal Access Token. Generate a new PAT on your user settings page.

Path Parameters

workspace_id
integer
required

ID of the workspace

Response

Successfully retrieved the workspace API key.

api_key
string

The API key of the workspace.

Example:

"YourAPIKeyHere"