CalryOTA Docs
Workspace

Get workspace details

Returns the workspace information for the authenticated API key

GET
/api/v1/workspace

Authorization

x-calry-api-key
x-calry-api-key<token>

In: header

Response Body

application/json

application/json

curl -X GET "https://example.com/api/v1/workspace"
{
  "id": "123e4567-e89b-12d3-a456-426614174000",
  "name": "My Workspace",
  "slug": "my-workspace",
  "defaultCurrency": "USD",
  "defaultDiscountPercentage": 10,
  "createdAt": "2025-01-01T00:00:00.000Z",
  "updatedAt": "2025-01-02T00:00:00.000Z"
}
{
  "timestamp": "2025-03-05T11:45:49.631Z",
  "path": "<URL_PATH>",
  "message": "Authentication failed",
  "details": []
}