Skip to content

Authentication (v2)

The v2 API (contacts, contact lists and segments) is authenticated with the API token you obtain from Obtain API token.

Send your token in the X-API-Key header on every request:

Terminal window
curl -X GET 'https://webapi.inboxroad.com/api/v2/contacts-lists/' \
-H 'X-API-Key: <your_token>' \
-H 'Content-Type: application/json'

Errors

Status codeMeaning
401Missing or invalid X-API-Key, or token not linked to a profile.
429Rate limit exceeded (see below).

Rate limiting

v2 endpoints are rate limited per API key at 60 requests per minute. Every response includes headers describing your current budget:

HeaderDescription
X-RateLimit-LimitMaximum requests allowed in the current window.
X-RateLimit-RemainingRequests still available in the current window.
X-RateLimit-ResetSeconds until the limit window resets.

When the limit is exceeded the API responds with 429 Too Many Requests and a Retry-After header indicating how many seconds to wait before retrying.

HTTP/1.1 429 Too Many Requests
Retry-After: 23
X-RateLimit-Limit: 60
X-RateLimit-Remaining: 0
X-RateLimit-Reset: 23