Retrieve details about the workspace associated with the API key.

Response

workspace
object

Workspace details

Example Request

curl -X GET 'https://api.caret.so/v1/workspace' \
  -H 'Authorization: Bearer {api_key}'

Example Response

{
  "workspace": {
    "id": "01887270-ab45-7da0-c95d-9a9e9ebc4f78",
    "name": "Acme Corp",
    "createdAt": "2023-01-15T08:30:00Z",
    "updatedAt": "2023-07-22T14:45:00Z",
    "settings": {
      "defaultLanguage": "en",
      "brandColor": "#336699",
      "enableTranscriptSharing": true
    },
    "allowedEmailDomains": ["acme.com", "acme-corp.org"],
    "iconUrl": "https://example.com/logos/acme.png"
  }
}