POST
/
sessions
Create session
curl --request POST \
  --url https://api.authsignal.com/v1/sessions \
  --header 'Content-Type: application/json' \
  --data '{
  "token": "eyJhbGciOiJ...",
  "clientId": "64818035-68c3-4087-a449-bdd176a166c4"
}'
{
  "accessToken": "<string>",
  "refreshToken": "<string>"
}

Body

application/json
token
string
required

The client token obtained after completing a challenge.

clientId
string
required

The ID of the app client for which the access token and refresh token should be issued.

Response

OK

accessToken
string
required

An access token which can be used to authenticate requests.

refreshToken
string
required

A refresh token which can be exchanged for a new access token and refresh token.