Workspaces

Issue a workspace master key

Returns a wk_... key scoped to this workspace. The key is only shown in the response body — store it securely.

post/v1/workspaces/{id}/keys

Request

  • Base URL: https://anjal.app
  • URL: https://anjal.app/v1/workspaces/{id}/keys
  • Auth: API key in header X-API-Key

Request body

namestring

Response

Created

idstring uuid
keystring

Plain-text key — only returned on creation. Store it somewhere safe.

prefixstring
namestring
workspaceIdstring uuid
createdAtstring date-time

Example response

{
  "key": "wk_REDACTED_EXAMPLE_KEY_DO_NOT_USE",
  "prefix": "wk_REDACT"
}

Changes

No recorded changes to this operation across all 1 revision of this API.