Retrieve a user session

View as Markdown
GET
/users/{user_id}/sessions/{session_id}

Retrieves detailed information about a specific session for the specified user.

Pro

Access to user session management endpoints requires an active Pro plan subscription.

Authorization

API-Key
headerX-API-KEY<token>

MonoCloud APIs require authentication with an API key. Retrieve your key from the Tenant Settings section of the MonoCloud dashboard and include it in the request header as: X-API-Key: <your_api_key>

Path Parameters

user_id*string

The unique identifier of the user.

session_id*string

The unique identifier of the user session.

Response Body

200

application/json

The user session was retrieved successfully

TypeScript Definitions

Use the response body type in TypeScript.

User Session: Represents an authentication session for a user.

Errors

401Unauthorized

403Forbidden

curl -X GET "https://your-domain.us.monocloud.com/api/users/WUgDGqaqzqkRmsgd3PFAT/sessions/F8B7C57ACB5BEE57AC582D96CAF46D4D" \  -H "X-API-KEY: <token>"
{  "session_id": "string",  "client_ids": [    "string"  ],  "initiated_at": 0,  "expires_at": 0,  "last_updated": 0,  "last_metadata": {    "city": null,    "country": null,    "region": null,    "latitude": null,    "longitude": null,    "ip_address": null,    "user_agent": null  }}
© 2026 MonoCloud. All rights reserved.