Authentication (v1)
The v1 API (sending, bounces and complaints) is authenticated with the API token you obtain from Obtain API token. v1 accepts the token in one of two headers:
| Header | Example | Notes |
|---|---|---|
| X-API-Key | X-API-Key: <your_token> | Recommended. Same header as v2. |
Authorization (Basic flavor) | Authorization: Basic <your_token> | Paste the raw token after Basic — it is not base64 user:pass. |
Examples
curl -X GET 'https://webapi.inboxroad.com/api/v1/bounces' \ -H 'X-API-Key: <your_token>' \ -H 'Content-Type: application/json'curl -X GET 'https://webapi.inboxroad.com/api/v1/bounces' \ -H 'Authorization: Basic <your_token>' \ -H 'Content-Type: application/json'Errors
| Status code | Meaning |
|---|---|
| 401 | Missing, malformed, or invalid token. |
| 403 | Token is valid but is not linked to a customer profile. |
If a request fails with 401, obtain a fresh token or
contact your account manager.