Returns session data associated with the specified sessionId.
sessionId
cURL
curl --request GET \ --url https://server.ownid.com/{appId}/accounts/sessions/{sessionId} \ --header 'Authorization: Bearer <token>'
{ "payload": { "preferences": { "theme": "dark", "resolution": "wide" } }, "created": "2000-10-31T06:30:00.000Z", "timeout": 10000, "lastActive": "2000-10-31T06:30:00.000Z" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
The session ID.
Successfully retrieved session data.
The response is of type object.
object
Was this page helpful?