Authentication
Every account, keyword and data request requires the full API key in the X-API-Key header.
X-API-Key: <YOUR_API_KEY>Accept: application/jsonDo not prepend Bearer. POST and PATCH keyword requests also use Content-Type: application/json.
Account and key lifecycle
Section titled “Account and key lifecycle”- Your Echora contact generates, revokes or deletes keys. There is no customer key-management endpoint.
- One account can have multiple active keys. Generating another key does not revoke the others.
- All keys share the same account’s keyword slots and monthly source budgets.
- A revoked or deleted key cannot authenticate.
- An account must be active and not expired. The expiry date is inclusive in Asia/Jakarta.
- Key validity does not grant access to another account’s keyword paths.
Keep keys on your backend
Section titled “Keep keys on your backend”Store the key in environment variables or a secret store. Do not place it in frontend bundles, URLs, public repositories or unredacted logs.
Returned media URLs may point to an external CDN. Do not forward your X-API-Key header to those URLs. Echora signed media URLs carry their own scoped access token.
Authentication errors
Section titled “Authentication errors”| HTTP | Code | Action |
|---|---|---|
| 401 | missing_api_key |
Add the full key to the header. |
| 401 | invalid_api_key |
Check that the key is correct, active and not deleted. |
| 403 | account_unavailable |
Ask your Echora contact to check account status and expiry. |
{ "error": { "code": "account_unavailable", "message": "Account is inactive or expired." }}There is no unauthenticated account-status endpoint for customers. GET /v1/account/info also requires an eligible account.