Organization

The Organization API allows businesses to programmatically manage their organisational structure by retrieving available roles and listing workspaces — both live and sandbox environments

List available roles in organization

get

Returns all available roles for the organization (owner, admin, member). Requires can_manage_users permission.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Responses
200

200

application/json;charset=UTF-8
get
/organizations/roles

List workspaces for the organization

get

Returns all workspaces belonging to the organization. Filters results to workspaces the token has can_view_workspace permission on.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Responses
200

200

application/json;charset=UTF-8
get
/organizations/workspaces

List available roles for a workspace

get

List all available roles for a workspace. Requires can_view_workspace permission.

Authorizations
AuthorizationstringRequired

Organization API token (tot_) — preferred authentication method. Pass the token directly without Bearer prefix.

Path parameters
workspaceIdstring · uuidRequired

Identifier of the workspace

Header parameters
AuthorizationstringRequired

Organization token (tot_). Pass the token directly without Bearer prefix.

Example: tot_xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Responses
200

200

application/json;charset=UTF-8
get
/organizations/workspaces/{workspaceId}/roles

Last updated