Look up email and SMS delivery status for up to 25 tracking IDs. Each entry is the tracking id, channel (EMAIL or SMS), status, and the time that status was recorded. The result does not include recipients, phone numbers, user ids, request bodies, IP addresses, account ids, or user-agent data. Unknown tracking ids are omitted. Other channels are not included.
const url = 'https://api.pingram.io/logs/status/example';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.pingram.io/logs/status/example \ --header 'Authorization: Bearer <token>'Authorizations
Parameters
Path Parameters
Comma-separated tracking IDs (URL encoded, max 25)
Responses
200
Successful response
Response type for GET /logs/status/{trackingIds}. Unknown tracking ids are omitted. A log that is still ingesting is omitted until it can be read.
object
Delivery outcomes for the requested tracking ids.
One delivery outcome. Fields are limited to the tracking id, channel, status, and the time that status was recorded. channel is omitted when the outcome is for the whole request, before a channel was chosen.
object
Opaque id returned when the notification was accepted.
Channel named on a delivery-status row. Email and SMS only. Coarse labels: no address or provider id.
Delivery outcome for one request or one channel. These are the same states shown in the dashboard status column.
ISO 8601 time this outcome was recorded.
Example
{ "statuses": [ { "channel": "EMAIL", "status": "PROCESSING" } ]}400
Bad Request - validation errors, invalid input
Standard error response for API errors.
object
Unique tracking ID for the request.
Structured error details for API error responses.
object
Machine-readable error code.
Human-readable error message.
Actionable hint for fixing the error.
Examplegenerated
{ "trackingId": "example", "error": { "code": "example", "message": "example", "fix": "example" }}401
Unauthorized
402
Payment Required - usage limits exceeded
Standard error response for API errors.
object
Unique tracking ID for the request.
Structured error details for API error responses.
object
Machine-readable error code.
Human-readable error message.
Actionable hint for fixing the error.
Examplegenerated
{ "trackingId": "example", "error": { "code": "example", "message": "example", "fix": "example" }}500
Internal Server Error
502
Bad Gateway - provider error
Standard error response for API errors.
object
Unique tracking ID for the request.
Structured error details for API error responses.
object
Machine-readable error code.
Human-readable error message.
Actionable hint for fixing the error.
Examplegenerated
{ "trackingId": "example", "error": { "code": "example", "message": "example", "fix": "example" }}