Docs

GET /emails/{id}

Fetch one message with its current status and last event.

Parameters

  • id path · string · required

Responses

  • 200 Success
  • 400 Validation error
  • 401 Missing API key
  • 403 Forbidden
  • 404 Not found
  • 409 Conflict
  • 429 Rate limited
  • 500 Internal server error

Response headers

  • ratelimit-limit — Messages this API key may spend in one 60-second window.
  • ratelimit-remaining — Messages left in the current window.
  • ratelimit-reset — Seconds until the current window resets and the budget refills.

200 body

FieldTypeRequiredNotes
api_key_idstring | nullyes
attachmentsarray<object> | nullyes
bccarray<string> | nullyes
ccarray<string> | nullyes
created_atstringyes
domainstringyes
fromstringyes
headersobject | nullyes
htmlstring | nullyes
idstringyes
last_event"queued" | "scheduled" | "sent" | "delivered" | "delivery_delayed" | "bounced" | … | nullyes
provider_message_idstring | nullyes
reply_toarray<string> | nullyes
scheduled_atstring | nullyes
status"queued" | "scheduled" | "sent" | "delivered" | "delivery_delayed" | "bounced" | …yes
subjectstringyes
tagsobject | nullyes
template_idstring | nullyes
template_versioninteger | nullyes
textstring | nullyes
toarray<string>yes
updated_atstringyes
warningsarray<object>yes
warnings[].codestringyes
warnings[].fixstringyes
warnings[].messagestringyes

Errors

Codes in the catalogue that answer with one of this operation’s error statuses. Every one of them carries a fix.