workspaces
workspaces

Get Current Workspace

Get the user's current workspace.

Uses the workspace_id from the JWT token (set when user switches workspace) to ensure the frontend stays in sync with the active workspace context. Falls back to the user's default workspace if JWT has no workspace_id or the workspace is no longer accessible.

get/api/workspaces/current

Request

  • Base URL: https://api.dialogbrain.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.dialogbrain.com/api/workspaces/current
  • Auth: none declared

Response

Successful Response

idinteger required
typestring required
owner_user_idinteger nullable
namestring required
slugstring nullable
descriptionstring nullable
logo_urlstring nullable
billing_modestring nullable
created_atstring nullable
updated_atstring nullable
user_rolestring nullable
rolestring nullable
is_defaultboolean nullable
member_countinteger nullable
settingsobject nullable
video_generation_enabledboolean nullable
gmail_full_readboolean nullable

Changes

No recorded changes to this operation across all 5 revisions of this API.