Skip to main content
Create an exchange code valid for 15 minutes and exchangeable exactly once for a 24-hour portal access token. Redirect the end user to the returned URL.

Usage

Flags

string
required
Portal configuration ID or slug.
string
required
The end user’s identifier in your system.
string[]
required
Capabilities: keys:read, keys:create, keys:reroll, and analytics:read.
bool
default:"false"
Create a preview session for testing.
string
Absolute URL to return the end user to when they leave the portal.

Global Flags

Examples

Last modified on August 25, 2026