Skip to main content

Get My Contexts

GET /v1/user/me/context

Retrieves all available contexts for the current authenticated user. Each context represents a different tenant or environment the user can access. Returns details including context identifier, tenant, role, account name, and activation status for multi-tenant scenarios.

Response Example

{
"username": "user@example.com",
"contexts": [
{
"id": "context-id-1",
"tenant": "tenant-id-1",
"name": "Example User",
"role": "admin",
"account": "Example Account",
"active": false,
"sitename": "app.example.io"
},
{
"id": "context-id-2",
"tenant": "tenant-id-2",
"name": "Example User",
"role": "user",
"account": "Demo Organization",
"active": true,
"sitename": "demo.example.io",
"parentSite": "app.example.io"
}
]
}