Create cookie session from token

​

Exchanges a valid JWT access token for a cookie based session, signing the user in with a cookie so that browser-based (portal) flows relying on cookie authentication can be used after a client obtained a JWT (e.g. via Token or Auth0). Permissions: All users.

Headers

  • The Integration Key generated for API Authentication by the PAR OPS support team as part of the integration/partnership process.

Body·

The JWT access token to exchange for a cookie session.

Responses

  • OK

Request Example for post/v2/Account/CreateCookieSession
curl /v2/Account/CreateCookieSession \
  --request POST \
  --header 'Content-Type: application/json-patch+json' \
  --header 'DCKey: YOUR_SECRET_TOKEN' \
  --data '{
  "AccessToken": null
}'
No Body