curl --request GET \
--url 'https://gateway.amana.io/auth/crm-token-callback?token=<token>'
import requests
url = "https://gateway.amana.io/auth/crm-token-callback?token=<token>"
headers = {}
response = requests.request("GET", url, headers=headers)
print(response.json())
const response = await fetch('https://gateway.amana.io/auth/crm-token-callback?token=<token>', {
method: 'GET',
headers: {},
});
console.log(await response.json());
{
"success": true,
"token": "<string>"
}
{
"error": "<string>",
"message": "<string>",
"details": {}
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
Authentication
Exchange back-office token
Convert a token issued by Amana’s back-office system into an app access token.
GET
/
auth
/
crm-token-callback
curl --request GET \
--url 'https://gateway.amana.io/auth/crm-token-callback?token=<token>'
import requests
url = "https://gateway.amana.io/auth/crm-token-callback?token=<token>"
headers = {}
response = requests.request("GET", url, headers=headers)
print(response.json())
const response = await fetch('https://gateway.amana.io/auth/crm-token-callback?token=<token>', {
method: 'GET',
headers: {},
});
console.log(await response.json());
{
"success": true,
"token": "<string>"
}
{
"error": "<string>",
"message": "<string>",
"details": {}
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
Query parameters
string
required
CRM access token to be converted
Response
200 Success.
boolean
string
Possible Errors
| Error | Possible cause | What to do |
|---|---|---|
| 400 | Invalid or missing field | Check the request against the schema. |
| 403 | IP not whitelisted, or account restricted | Confirm your IP is whitelisted; otherwise contact Amana. |
| 429 / 5xx | Rate limit, or temporary issue on our side | Retry with backoff; contact support if it persists. |
curl --request GET \
--url 'https://gateway.amana.io/auth/crm-token-callback?token=<token>'
import requests
url = "https://gateway.amana.io/auth/crm-token-callback?token=<token>"
headers = {}
response = requests.request("GET", url, headers=headers)
print(response.json())
const response = await fetch('https://gateway.amana.io/auth/crm-token-callback?token=<token>', {
method: 'GET',
headers: {},
});
console.log(await response.json());
{
"success": true,
"token": "<string>"
}
{
"error": "<string>",
"message": "<string>",
"details": {}
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
{
"error": "<string>",
"message": "<string>"
}
Last modified on October 8, 2026
