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.
POST
Typescript (SDK)
Body
application/json
The session token ID received from portal.createSession.
Must be valid, unexpired, and not previously exchanged.
Minimum string length:
1Example:
"pst_abc123def456"
Response
Session exchanged successfully. Use the returned token for subsequent API calls.
Last modified on May 22, 2026
Previous
Delete ratelimit overridePermanently remove a rate limit override. Affected identifiers immediately revert to the namespace default.
Use this to remove temporary overrides, reset identifiers to standard limits, or clean up outdated rules.
**Important:** Deletion is immediate and permanent. The override cannot be recovered and must be recreated if needed again.
**Permissions:** Requires `ratelimit.*.delete_override` or `ratelimit.<namespace_id>.delete_override`
Next
Typescript (SDK)

