Portfolio Connect
Generate Access Token
Generate a short-lived access token from your API key.
Use this endpoint from your backend to create tokens that can be safely passed to frontend/SDK.
Legacy path: /v1/access-token (still supported)
Access tokens:
- Are prefixed with at_ for easy identification
- Valid for up to 60 minutes
- Can be used in place of API keys on all v4 endpoints
- Cannot be used to generate other access tokens
post/v1/token
Request body
Example request
{
"expiry_minutes": 60
}Response
Access token generated successfully
Example response
{
"access_token": "at_eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"expires_in": 3600,
"token_type": "api_key"
}