Create a Session with session token

POST {{baseUrl}}/api/v1/sessions

Creates a new Session for a user with a valid session token. Use this API if, for example, you want to set the session cookie yourself instead of allowing Okta to set it, or want to hold the session ID to delete a session through the API instead of visiting the logout URL.

Request Body

{"sessionToken"=>"qui dolore aliquip consequat"}

HEADERS

KeyDatatypeRequiredDescription
Content-Typestring
Acceptstring

RESPONSES

status: OK

{"amr":["geo","fpt"],"createdAt":"2018-03-03T22:58:05.650Z","expiresAt":"1994-12-03T22:25:06.159Z","id":"pariatur","idp":{"id":"elit ","type":"ACTIVE_DIRECTORY"},"lastFactorVerification":"1979-11-13T14:44:42.483Z","lastPasswordVerification":"1984-12-14T16:13:06.069Z","login":"dolor","status":"MFA_REQUIRED","userId":"elit magna","_links":{"fugiat_209":{}}}