Exchange Token
POST/organizations/{organization_id}/token
Exchange user token for organization-scoped M2M token
Path Parameters
organization_id: string
Organization ID or label identifier
minLength1
maxLength255
Header Parameters
"X-Client-Request-ID": optional string
formatuuid
Returns
Exchange Token
curl https://api.keycard.ai/organizations/$ORGANIZATION_ID/token \
-X POST{
"access_token": "access_token",
"token_type": "Bearer",
"expires_in": 3600
}Returns Examples
{
"access_token": "access_token",
"token_type": "Bearer",
"expires_in": 3600
}