Resend
App · Email · 5 actions
Send and manage transactional emails with Resend, the email API for developers.
Actions
| Action | What it does |
|---|---|
| Cancel scheduled email | Cancel a scheduled email that has not been sent yet. |
| Reschedule email | Update a scheduled email's send time. |
| Retrieve email | Retrieve a single email's details and delivery status by ID. |
| Send batch emails | Send up to 100 transactional emails in a single Resend request. |
| Send email | Send a transactional email through Resend. |
Cancel scheduled email
Cancel a scheduled email that has not been sent yet.
Inputs
- Email ID
email_idtextRequired - The ID of the scheduled email to cancel.
Outputs
resultobject
Example output
{
"result": {
"id": "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794",
"object": "email"
}
}Reschedule email
Update a scheduled email's send time.
Inputs
- Email ID
email_idtextRequired - The ID of the scheduled email to reschedule.
- New schedule time
scheduled_atdate and timeRequired - New ISO 8601 send time (e.g. 2024-08-05T11:52:01.858Z).
Outputs
resultobject
Example output
{
"result": {
"id": "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794",
"object": "email"
}
}Retrieve email
Retrieve a single email's details and delivery status by ID.
Inputs
- Email ID
email_idtextRequired - The ID of the email to retrieve (returned when it was sent).
Outputs
resultobject
Example output
{
"result": {
"bcc": null,
"cc": null,
"created_at": "2024-01-01T00:00:00.000Z",
"from": "onboarding@resend.dev",
"html": "<p>Hello World</p>",
"id": "4ef9a417-02e9-4d39-ad75-9611e0fcc33c",
"last_event": "delivered",
"object": "email",
"reply_to": null,
"subject": "Hello World",
"text": null,
"to": [
"delivered@resend.dev"
]
}
}Send batch emails
Send up to 100 transactional emails in a single Resend request.
Inputs
- Emails
emailslistRequired - A list of email objects to send. Each needs 'from', 'to', 'subject', and 'html' or 'text'.
Outputs
resultobject
Example output
{
"result": {
"data": [
{
"id": "ae2014de-c168-4c61-8267-70d2662a1ce1"
},
{
"id": "faccb7a5-8a28-4e9a-ac64-8da1cc3bc1cb"
}
]
}
}Send email
Send a transactional email through Resend.
Inputs
- From
from_emailtextRequired - Sender email address. Must use a verified domain, or 'onboarding@resend.dev' for testing to your own account address.
- To
tolistRequired - One or more recipient email addresses.
- Subject
subjecttextRequired - Email subject line.
- HTML content
htmltext - HTML email body. Provide HTML or plain text (or both).
- Plain text content
texttext - Plain-text email body. Provide HTML or plain text (or both).
- CC
cclist - Optional Cc email addresses.
- BCC
bcclist - Optional Bcc email addresses.
- Reply-to
reply_tolist - Optional Reply-To email addresses.
- Schedule for
scheduled_atdate and time - Optional ISO 8601 time to schedule the email (e.g. 2024-08-05T11:52:01.858Z). Sends immediately if omitted.
Outputs
resultobject
Example output
{
"result": {
"id": "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794"
}
}