Menu
List User Sessions
List Sessions for User
GET
/api/v2/users/{user_id}/sessionsUse it in a workflow
- Add a step and choose the Zendesk connector.
- Pick the List User Sessions action (under Sessions).
- Fill in the fields below, then reference the result from later steps as
{{listUserSessions.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{listUserSessions.response.data.<field>}}.
{
"sessions": [
{
"authenticated_at": "2014-11-18T17:24:29Z",
"id": 3432,
"last_seen_at": "2014-11-18T17:30:52Z",
"url": "https://company.zendesk.com/api/v2/users/12345/sessions/3432",
"user_id": 12345
}
]
}
Need more? See the Zendesk guide for connection setup and behaviour shared by every action.
Was this page helpful?