Track email open (pixel)
Overview
Email-open tracking pixel. Looks up a sent campaign email request by unique_code and, on first view, stamps opened_at (and delivered_at if unset). Returns an image/png response so it can be embedded as an <img> in the email body — not a JSON envelope on the happy path.
Prerequisites
- No authentication — this endpoint is public.
- The
emailRequestUniqueCodeof the record you are targeting.
Base URL
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://development-api.shoutaboutus.com |
Endpoint
GET /api/v1/campaign/view-email/{emailRequestUniqueCode}
Authentication
-
No bearer token required.
-
Public — no bearer token (unauthenticated
campaigngroup; item markednoauth). Requested by the recipient's mail client when the email is opened.
Rate limit
- 30 requests/min per IP (public).
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
emailRequestUniqueCode | string | Required | Identifier for the record you are targeting. |
How it works
- 200 with
Content-Type: image/png(tracking pixel) on success; caching disabled viaCache-Control/Pragma/Expiresheaders. - 200 Sent email not found with JSON response
{ "data": { "status": "failed", "message": "Sent email not found" } }when the email record cannot be located.
Response
200 OK (tracking pixel) · 200
200<binary image/png body — tracking pixel; not JSON>200 Sent email not found · 200
200{
"data": {
"status": "failed",
"message": "Sent email not found"
}
}Errors
| Status | Meaning |
|---|---|
500 | Unexpected server error (rare — handled failures come back as 200 with status: failed) |
Example request
curl --request GET \
--url "https://production-api.shoutaboutus.com/api/v1/campaign/view-email/<emailRequestUniqueCode>"Note: Do not include an Accept: application/json header. The endpoint returns image/png by default. To embed the tracking pixel in an email, use an <img> tag:
<img src="https://production-api.shoutaboutus.com/api/v1/campaign/view-email/<emailRequestUniqueCode>" alt="" width="1" height="1" />Updated 16 days ago
Did this page help you?
