Get Workspace
Returns the default workspace for the user associated with the API key. Use this to obtain theworkspaceId required by other endpoints.
Request
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | API key in Bearer snorbe_... format |
Request Body
None (GET request)Response
Response Fields
| Field | Type | Description |
|---|---|---|
workspaceId | string | Workspace ID |
workspaceName | string | Workspace name |
Examples
Error Responses
| HTTP Status | Code | Description |
|---|---|---|
| 401 | UNAUTHORIZED | Invalid, expired, or missing API key |
| 429 | TOO_MANY_REQUESTS | Rate limit exceeded |