v1
latestOpenAPI 3.1.02026-07-26261466.6 KBAuthentication
Create an access token
Exchanges your client_id + client_secret for a platform access token (OAuth2 client credentials, RFC 6749 §4.4). The token lives one hour — when it expires, exchange again; there are no refresh tokens on this grant.
Get your credentials in the Agentcard dashboard under Organization → Developer → Credentials. A sandbox client mints tokens that act in sandbox; a production client acts in production.
You can also send the credentials as HTTP Basic (Authorization: Basic base64(client_id:client_secret)) instead of in the form body.
This endpoint is rate limited to 30 requests per 5 minutes per IP — cache the token and reuse it until it expires.
post/api/v2/oauth/token
Response
The token to send as Authorization: Bearer <access_token> on every other call.