Skip to main content
Use this endpoint to fetch the details of the workspace associated with your API token. The response includes your workspace’s configuration settings such as its name, default reply, target country, language, timezone, brand colour, development mode status, and logo URL. This is a useful first call to confirm your API credentials and retrieve your workspace ID for use in other requests.
GET /api/v1/workspaces

Code Examples

Response

Returns 200 OK with the workspace configuration object.

Response Fields

string
required
The unique numeric identifier for the workspace.
string
required
The display name of the workspace.
string | null
required
The default fallback reply message sent when no flow matches, or null if none is configured.
string | null
required
The ISO country code of the workspace’s primary target market, or null if not set.
string
required
The default language code for the workspace (e.g., en).
string
required
The IANA timezone string for the workspace (e.g., America/New_York).
string
required
The hex colour code used as the workspace’s brand colour (e.g., #4F46E5).
boolean
required
When true, the workspace is in development mode and live messages are suppressed.
A URL to the workspace’s logo image, or null if no logo has been uploaded.
string
The ID of the user who owns the workspace.
string
required
ISO 8601 timestamp for when the workspace was created.
string
required
ISO 8601 timestamp for when the workspace was last updated.

Example Response