GET
/emailsRetrieve a list of emailsParameters
limitintegerqueryNumber of items to return.
afterstringqueryReturn items after this cursor.
beforestringqueryReturn items before this cursor.
Responses
objectListEmailsResponse
dataarray of objectArray containing email information.
Show child attributes
Show array items
bccarray of stringThe email addresses of the blind carbon copy recipients.
Show child attributes
ccarray of stringThe email addresses of the carbon copy recipients.
Show child attributes
created_atstring · date-timeThe date and time the email was created.
fromstringThe email address of the sender.
htmlstringThe HTML body of the email.
idstringThe ID of the email.
last_eventstringThe status of the email.
objectstringThe type of object.
reply_toarray of stringThe email addresses to which replies should be sent.
Show child attributes
subjectstringThe subject line of the email.
textstringThe plain text body of the email.
toarray of stringShow child attributes
has_morebooleanIndicates if there are more results available.
objectstringType of the response object.
{
"data": [
{
"bcc": [
"string"
],
"cc": [
"string"
],
"created_at": "2023-04-03T22:13:42.674981+00:00",
"from": "Acme <onboarding@resend.dev>",
"html": "Congrats on sending your <strong>first email</strong>!",
"id": "4ef9a417-02e9-4d39-ad75-9611e0fcc33c",
"last_event": "delivered",
"object": "email",
"reply_to": [
"string"
],
"subject": "Hello World",
"text": "string",
"to": [
"delivered@resend.dev"
]
}
],
"has_more": false,
"object": "list"
}