API reference / Customer keys and view-as
List view-as sessions
GET/v1/platforms/{orgId}/view-as
Open view-as sessions your team members started inside customers, with who started each and its scope.
Before you call it
- Organization
platform - Permission
platform:view
Parameters
| Parameter | What it does |
|---|---|
orgIdpath, uuidrequired | The organization the call acts on. For platform calls, your platform's id; for customer calls, the customer's organization id. Get them from getMe or the customer list. |
customer_idquery, uuid | No description in the spec yet. |
limitquery, integer | How many items to return. 1 to 200, default 50 |
Response 200
The platform's view-as sessions, newest first
| Field | What it does |
|---|---|
itemsPlatformViewAsSession[]required | No description in the spec yet. |
items[].idstring (uuid)required | No description in the spec yet. |
items[].scopeenumrequired | No description in the spec yet. One of |
items[].customer_idstring (uuid)required | No description in the spec yet. |
items[].customer_namestringrequired | No description in the spec yet. |
items[].user_idstring (uuid)required | No description in the spec yet. |
items[].user_emailstringrequired | No description in the spec yet. |
items[].user_namestringrequired | No description in the spec yet. |
items[].platform_user_idstring (uuid)required | No description in the spec yet. |
items[].platform_user_emailstringrequired | No description in the spec yet. |
items[].platform_user_namestringrequired | No description in the spec yet. |
items[].reasonstringrequired | No description in the spec yet. |
items[].statusenumrequired | No description in the spec yet. One of |
items[].end_reasonstringrequired | No description in the spec yet. |
items[].expires_atstring (date-time)required | No description in the spec yet. |
items[].created_atstring (date-time)required | No description in the spec yet. |
items[].ended_atstring (date-time) | No description in the spec yet. |