Skip to main content

Get Workspace

Returns the default workspace for the user associated with the API key.
REST API agent execution endpoints do not require workspaceId — it is automatically resolved from the API key. Use this endpoint only when you need to reference the workspace information.

Request

GET /api/v1/workspace

Headers

HeaderRequiredDescription
AuthorizationYesAPI key in Bearer snorbe_... format

Response

{
  "workspaceId": "cmkt9lpfe000bu95cdrcr2nbt",
  "workspaceName": "My Workspace"
}

Response Fields

FieldTypeDescription
workspaceIdstringWorkspace ID
workspaceNamestringWorkspace name

Examples

curl "https://app.snorbe.deskrex.ai/api/v1/workspace" \
  -H "Authorization: Bearer snorbe_your_api_key_here"

Error Responses

HTTP StatusCodeDescription
401UNAUTHORIZEDInvalid, expired, or missing API key
429TOO_MANY_REQUESTSRate limit exceeded