Skip to main content
POST
/
sessions
/
refresh
Refresh session
curl --request POST \
  --url https://api.authsignal.com/v1/sessions/refresh \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "refreshToken": "3f72a26e6834b4da..."
}
'
{
  "accessToken": "<string>",
  "refreshToken": "<string>"
}

Authorizations

Authorization
string
header
required

Use your Authsignal secret key as the username and leave the password empty. The secret key can be found in the API Keys section of the Authsignal Portal settings page.

Body

application/json
refreshToken
string
required

The refresh token to be exchanged for a new access token and refresh token.

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.