Skip to main content
PUT
/
v2
/
auth
/
session
Set Session Cookies
curl --request PUT \
  --url https://rest.forestreet.com/v2/auth/session \
  --header 'Content-Type: application/json' \
  --header 'x-api-key: <api-key>' \
  --data '{
  "refreshToken": "<string>",
  "idToken": "<string>",
  "checksum": "<string>",
  "redirectUrl": "<string>"
}'
This response does not have an example.

Authorizations

x-api-key
string
header
required

Pass a static API key for every request, provided by your customer support.

Body

application/json
refreshToken
string
required

Refresh token to set in cookies.

idToken
string
required

JWT ID token for the user.

checksum
string
required

Mandatory checksum for the tokens.

redirectUrl
string<uri>

If provided, redirects to this URL after setting cookies. The URL must be within the Forestreet domain.

Response

Session validated, and cookies set successfully; no redirectUrl provided.