Generate Access Token
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
Generate Access Token
Documentation Index
Fetch the complete documentation index at: https://casparser.in/docs/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Your API key for authentication.
Use sandbox-with-json-responses as Sandbox key.
Body
application/json
Token validity in minutes (max 60)
Required range:
1 <= x <= 60Example:
60
Response
Access token generated successfully

