/emails/receivingRetrieve a list of received emailsParameters
limitintegerqueryMaximum number of received emails to return.
afterstring · uuidqueryPagination cursor to fetch results after this email ID. Cannot be used with 'before'.
beforestring · uuidqueryPagination cursor to fetch results before this email ID. Cannot be used with 'after'.
Responses
dataarray of objectArray containing received email information.
Show child attributes
Show array items
attachmentsarray of objectArray of attachments for this email.
Show child attributes
Show array items
content_dispositionstringHow the attachment should be displayed.
content_idstringThe content ID for inline attachments.
content_typestringThe MIME type of the attachment.
filenamestringThe filename of the attachment.
idstring · uuidThe ID of the attachment.
sizeintegerSize of the attachment in bytes.
bccarray of stringThe BCC recipients.
Show child attributes
ccarray of stringThe CC recipients.
Show child attributes
created_atstring · date-timeTimestamp when the email was received.
fromstringThe sender email address.
idstring · uuidThe ID of the received email.
message_idstringThe unique message ID from the email headers.
reply_toarray of stringThe reply-to addresses.
Show child attributes
subjectnull | stringThe email subject.
toarray of stringThe recipient email addresses.
Show child attributes
has_morebooleanIndicates if there are more results available.
objectstringType of the response object.
{
"data": [
{
"attachments": [
{
"content_disposition": "attachment",
"content_id": "string",
"content_type": "string",
"filename": "string",
"id": "00000000-0000-0000-0000-000000000000",
"size": 0
}
],
"bcc": [
"string"
],
"cc": [
"string"
],
"created_at": "2023-10-06T23:47:56.678Z",
"from": "sender@example.com",
"id": "550e8400-e29b-41d4-a716-446655440000",
"message_id": "<message-id@example.com>",
"reply_to": [
"string"
],
"subject": "Hello World",
"to": [
"delivered@resend.dev"
]
}
],
"has_more": false,
"object": "list"
}