Bootstrap the authenticated mobile workspace
GET
/v1/mobile/me
const url = 'https://api.vocapable.com/v1/mobile/me';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.vocapable.com/v1/mobile/me \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”Successful Response
Media typeapplication/json
MobileBootstrapProfile
The authenticated app’s identity/bootstrap response at GET /v1/mobile/me.
Operational selector data (contacts, agents, schedules, team rows) deliberately stays on its own capability-gated endpoints. This profile contains only the facts every app boot needs and no push token or refresh/session secret.
object
tenant_id
required
Tenant Id
string
membership
required
TenantMembershipSummary
object
id
required
Id
string
tenant_id
required
Tenant Id
string
account_id
required
Account Id
string
role
required
TenantMembershipRole
The only roles a customer can hold in one workspace.
string
status
required
Status
string
sessions_valid_after
required
Sessions Valid After
string format: date-time
capabilities
required
Capabilities
Array<string>
Example
{ "membership": { "role": "admin", "status": "active" }, "capabilities": [ "activity:read" ], "device": { "platform": "ios", "status": "active" }}