Exchange session token
Exchange a short-lived session token for a long-lived browser session.
This endpoint is unauthenticated. The session token itself serves as proof of authorization. Each token can only be exchanged once; subsequent attempts return 401.
The returned browser session token is valid for 24 hours and should be stored as an httpOnly cookie or used in the Authorization header for subsequent API calls.
Documentation Index
Fetch the complete documentation index at: https://unkey-mintlify-b9e3cc05.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Body
The session token ID received from portal.createSession.
Must be valid, unexpired, and not previously exchanged.
1"pst_abc123def456"
Response
Session exchanged successfully. Use the returned token for subsequent API calls.

