Emails

Retrieve an email

Retrieve a single email by id, including its current send status and lifecycle timestamps (created, scheduled, sent, delivered, and so on). Find an id by browsing List sent emails. Messages submitted over SMTP can also be retrieved by the RFC 5322 Message-ID your mail library stamped on them (URL-encode it, e.g. /email/%3Cabc%40example.com%3E; angle brackets optional) — the id in the SMTP 250 Queued as … reply works too. To change a scheduled or queued email, use Cancel or reschedule an email. Requires the emails:read capability.

get/email/{id}

Request

  • Base URL: https://www.unitpost.com/api/v1
  • URL: https://www.unitpost.com/api/v1/email/{id}
  • Auth: HTTP bearer

Response

The email.

object'email' required
idstring required
tostring[] required
fromstring required
subjectstring required
template_idstring nullable required
campaign_idstring nullable required
status'scheduled' | 'queued' | 'sent' | 'delivered' | 'bounced' | 'complained' | 'canceled' | 'failed' required
last_eventstring required
scheduled_atstring nullable required
sent_atstring nullable required
delivered_atstring nullable required
opened_atstring nullable required
clicked_atstring nullable required
canceled_atstring nullable required
last_errorstring nullable required
created_atstring required

Changes

No recorded changes to this operation across all 1 revision of this API.