curl --request GET \
--url https://{defaultHost}/v1/auth/{app_id}/sessions \
--header 'X-Authorization: <api-key>'{
"sessions": [
{
"id": "<string>",
"display_name": "<string>",
"user_agent": "<string>",
"ip_address": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_active_at": "2023-11-07T05:31:56Z"
}
]
}List all active sessions for the currently authenticated user. Requires a valid access token.
curl --request GET \
--url https://{defaultHost}/v1/auth/{app_id}/sessions \
--header 'X-Authorization: <api-key>'{
"sessions": [
{
"id": "<string>",
"display_name": "<string>",
"user_agent": "<string>",
"ip_address": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"last_active_at": "2023-11-07T05:31:56Z"
}
]
}Was this page helpful?