api.whitelabel.dev
REST endpoints for everything in the whitelabel.dev ecosystem — workspaces, conversations, integrations, billing. Versioned, paginated, same auth as the dashboard.
You'll need:
whlk_ and are workspace-scoped.curl https://app.whitelabel.dev/api/v1/workspaces \
-H "Authorization: Bearer whlk_yourkey..."
Successful response:
{
"data": [
{
"id": "ws_abc123",
"name": "Acme",
"color": "#0a0a0a",
"role": "owner",
"created_at": "2026-04-12T15:30:00Z"
}
],
"meta": {
"next_cursor": null,
"limit": 50
}
}
List the workspaces you're a member of. Get details for one. Create new ones.
GET /api/v1/workspaces
GET /api/v1/workspaces/{id}
Chat threads inside a workspace. List, fetch, post messages.
GET /api/v1/conversations
GET /api/v1/conversations/{id}/messages
The authenticated user's profile, workspace memberships, roles.
GET /api/v1/me
Bearer tokens in the Authorization header. Keys start with whlk_. Scope is the workspace the key was created under. See authentication.
Cursor-based via ?cursor= and ?limit= (max 200, default 50). Cursors are opaque — pass back the meta.next_cursor from the last response.
Path-versioned at /api/v1/. Breaking changes get a new version; additive changes don't.
JSON shape: { "error": { "code": "...", "message": "..." } }. HTTP status reflects category (4xx client, 5xx server). Rate limits return 429.