List emails
resend-list-emails
List sent and scheduled emails, newest first: id, from, to, subject, created_at, last_event and scheduled_at, without bodies or tags (use get-email). 20 per page; when has_more is true, pass the last email's id as after for the next page.
Get email
resend-get-email
Get one sent or scheduled email by id: from, to, cc, bcc, subject, html and text bodies, tags, last_event (for example delivered, bounced, scheduled) and scheduled_at. A long body can be cut at the response limit.
List domains
resend-list-domains
List the account's sending domains with their verification status, region and capabilities. 20 per page; when has_more is true, pass the last domain's id as after for the next page.
Get domain
resend-get-domain
Get one domain by id: its status, tracking settings, capabilities and the DNS records (SPF, DKIM, tracking) with each record's verification status.
List contacts
resend-list-contacts
List contacts, optionally only those in one segment: id, email, first and last name, created_at and whether they unsubscribed. 20 per page; when has_more is true, pass the last contact's id as after for the next page.
Get contact
resend-get-contact
Get one contact by id or by email address: name, whether they unsubscribed from broadcasts, created_at and custom properties.
List segments
resend-list-segments
List the account's segments (the groups of contacts broadcasts are sent to): id, name and created_at. 20 per page; when has_more is true, pass the last segment's id as after for the next page.
Get segment
resend-get-segment
Get one segment by id: its name and created_at. Use list-contacts with segment_id for its members.
List contact segments
resend-list-contact-segments
List the segments one contact belongs to. 20 per page; when has_more is true, pass the last segment's id as after for the next page.