Delivery status of the mails of an API send
curl --request GET \ --url https://rocketem.fotone.io/api/v2/campaigns/example/messages \ --header 'Authorization: Bearer <token>'Required scope: messages:status
The state of the mails an API-send campaign took, by your own reference. Pass
reference for one mail or references[] for up to 50. A reference nothing was
handed in under is not in the answer; a reference used for several addresses
returns one entry per address. States are kept for 90 days.
Requires the messages:status scope. The address, the subject and the reply of the receiving mail
server are part of the answer only for a token that also has messages:status_pii
(or recipients:read_pii, which covers the whole recipient list).
Authorizations
Abschnitt betitelt „Authorizations“Parameters
Abschnitt betitelt „Parameters“Path Parameters
Abschnitt betitelt „Path Parameters“Campaign public_id
Query Parameters
Abschnitt betitelt „Query Parameters“Responses
Abschnitt betitelt „Responses“States
object
object
Only with messages:status_pii or recipients:read_pii
The subject the mail went out with, null until it is sent. Only with messages:status_pii or recipients:read_pii
queued: accepted. sent: taken over by our mail server. delivered: accepted by the recipient’s mail server. deferred: delayed, further attempts follow. bounced: given up or rejected by the recipient’s server. failed: could not be sent. skipped: not sent (suppressed).
Bounce kind (hard, soft, reputation) and server answer; for skipped the reason (e.g. blacklisted:legal, hard_bounce, campaign_blacklist, unsubscribed); for failed one of send_failed, attachment_invalid, campaign_deactivated, skipped_by_hook. Without the recipients:read_pii scope a bounce or deferral shows kind and status codes only (hard: 550 5.1.1), not the text of the mail server.
Examples
One mail delivered, one bounced
{ "data": [ { "reference": "RE-2026-0001", "status": "delivered", "detail": null, "queued_at": "2026-11-12T09:15:02+01:00", "sent_at": "2026-11-12T09:15:04+01:00", "status_at": "2026-11-12T09:15:06+01:00" }, { "reference": "RE-2026-0002", "status": "bounced", "detail": "hard: 550 5.1.1 User unknown", "queued_at": "2026-11-12T09:15:02+01:00", "sent_at": "2026-11-12T09:15:04+01:00", "status_at": "2026-11-12T09:15:05+01:00" } ]}Missing scope
Resource not found
object
object
Example generated
{ "error": { "code": "example", "message": "example", "status": 1 }}Neither reference nor references[] given, or more than 50
The state could not be read right now. Ask again after Retry-After seconds.
object
object
Example
{ "error": { "code": "retry_later", "message": "Not available right now. Ask again after Retry-After seconds.", "status": 503 }}Headers
Abschnitt betitelt „Headers“Seconds to wait