Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST "https://api.chanl.ai/api/v1/auth/switch-workspace" \ -H "Authorization: Bearer <access_token>" \ -H "Content-Type: application/json" \ -d '{ "workspace_id": "ws_789" }'
{ "success": true, "data": { "workspace": { "id": "ws_789", "name": "Marketing Team", "slug": "marketing-team", "role": "member", "permissions": [ "read:personas", "write:personas", "read:scenarios", "write:scenarios" ] }, "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..." } }