Creates a new session.
curl --request POST \ --url https://server.ownid.com/{appId}/accounts/sessions \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data '{ "payload": { "preferences": { "theme": "dark", "resolution": "wide" } } }'
{ "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>
Successfully created a new session.
The response is of type object.
object
Was this page helpful?