cURL
curl --request POST \ --url https://{appId}.session.prelude.dev/v1/session/login/finalize \ --header 'Content-Type: application/json' \ --data ' { "challenge_token": "<string>", "code_verifier": "<string>" } '
{ "access_token": "<string>", "expires_at": 123 }
Finalize a login flow by exchanging a challenge token for session tokens (access + refresh).
The challenge token obtained from a login method.
"eyJhbGciOiJFZERTQSIsInR5cCI6IkpXVCJ9..."
PKCE code verifier for OAuth flows.
"dBjftJeZ4CVP-mB92K27uhbUJU1p1r_wW1gFWFOEjXk"
OK
Unix timestamp of when the access token expires.
1717689600
Contact support