Authentication
To use the Inboxroad Sending API, you need an API token.
You can generate a token on the Obtain API token page.
The Sending API accepts your token in one of these two headers:
| Header | Example | Notes |
|---|---|---|
| X-API-Key | X-API-Key: <your_token> | Recommended method. Same header used by the Contacts API. |
| Authorization | Authorization: Basic <your_token> | Uses a custom Basic format. See note below. |
Example requests
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'Error responses
| Status code | Meaning |
|---|---|
| 401 | The API token is missing, invalid, or incorrectly formatted. |
| 403 | The token is valid, but not linked to a customer profile. |
If you receive a 401 response, generate a new token via Obtain API token or contact your account manager.