Skip to main content
POST
/
v1
/
session
/
refresh
Refresh session
curl --request POST \
  --url https://{appId}.session.prelude.dev/v1/session/refresh \
  --header 'Content-Type: application/json' \
  --cookie __refresh_%7Bapp_id%7D= \
  --data '
{
  "step_up_token": "<string>"
}
'
{
  "access_token": "<string>",
  "expires_at": 123
}

Documentation Index

Fetch the complete documentation index at: https://docs.prelude.so/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

__refresh_{app_id}
string
cookie
required

Body

application/json
step_up_token
string

Optional step-up token to include additional scopes in the access token.

Example:

"eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9..."

Response

OK

access_token
string
required
Example:

"eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9..."

expires_at
integer<int64>
required

Unix timestamp of when the access token expires.

Example:

1717689600