Skip to content

List active workspaces eligible for native browser reauthorization

GET
/v1/mobile/workspaces
curl --request GET \
--url https://api.vocapable.com/v1/mobile/workspaces \
--header 'Authorization: Bearer <token>'

Return safe labels only; a client must still run the browser PKCE exchange to switch.

Successful Response

Media typeapplication/json
MobileWorkspaceList
object
items
Items
Array<object>
MobileWorkspaceOption

A safe native reauthorization choice; it is not a switching credential.

object
membership_id
required
Membership Id
string
>= 1 characters <= 128 characters
tenant_id
required
Tenant Id
string
>= 1 characters <= 128 characters
label
required
Label
string
>= 1 characters <= 200 characters
role
required
Role
string
Allowed values: admin manager rep
active_membership_id
required
Active Membership Id
string
>= 1 characters <= 128 characters
Example
{
"items": [
{
"role": "admin"
}
]
}