Setup
Put them in your environment or
.env; Data APIs covers the other ways.
Notes
- Every path is under /v3. A key without the endpoint’s scope answers 403.
- Rate limits are per endpoint and reported in X-RateLimit-Limit, X-RateLimit-Remaining and X-RateLimit-Reset; a 429 means wait until the reset.
- Suppression lists page by limit (max 500) and offset; times there are unix seconds, while stats take YYYY-MM-DD dates.
- Email address validation needs a Pro or Premier plan and its own Email Validation key, so it is not in this entry.
Endpoints
Get global email statistics
Search email activity
- Needs the paid Email Activity history add-on; without it the call is refused.
- Values in the query are double-quoted: to_email=“[email protected]” (URL-encoded on the wire).
Get one message’s activity
- Needs the Email Activity history add-on; no data for EU regional subusers.