POST Authentication
Get access token
/external/auth
Prefer POST with JSON body. Alias /external/auth/accesstoken. GET with ?client_secret= works only if Body is empty (Google LB returns HTML 400 when GET still carries a body).
Base URL
Prod: https://corp-api.anamaya.ai · Dev:
https://corp-api-dev.anamaya.ai. Protected calls send
Authorization: <access_token> with no Bearer prefix.
Parameters
| Name | Type | Example | Description |
|---|---|---|---|
client_secret Required | string | amy_live_… | Customer travel request API key from corp Config → Profile. |
Notes
- Same amy_live key also works as Bearer on /api/v1/integration/requests.
- Protected Sync calls use Authorization: <access_token> with no Bearer prefix.