API Requests
How API requests work in Amerencio.
API Requests
Amerencio API endpoints use client credentials and validation rules. Requests are logged so admins can inspect behavior, troubleshoot integrations, and verify access.

Screenshot target: API request log screen showing headers, resolved client, domain, route, status, and error details. #24
Required headers
Most API calls require:
X-Client-IdX-Client-SecretX-Client-Domain
Request handling
Amerencio resolves the client, domain, live/test mode, user, and scope access before returning protected data.
Debugging failed requests
Check:
- client id and secret
- domain spelling
- domain active status
- scope approval
- user id or subject id
- live/test mode
- validation errors in the response
Docs