Skip to content

Resend

Resend

Resend is the universal API for sending emails, designed for developers who need reliable deliverability and a simple integration experience. With the Resend integration in SquadOS, your agents can send transactional emails, manage audiences and contacts, configure verified domains, create reusable templates, and monitor events via webhooks in real time.

This tool uses an API key (API_KEY) to connect.

You will need the following fields:

FieldRequiredDescription
api_keyYesAPI key generated in the Resend dashboard, used to authenticate all requests.
  1. Go to resend.com and create an account (or sign in).
  2. In the dashboard, click API Keys in the side menu.
  3. Click Create API Key, give it a descriptive name (e.g. “SquadOS”), and choose the desired permission level.
  4. Copy the key shown — it is only displayed once.
  1. Go to Tools in the side menu (/admin/tools).
  2. Open the Available tab and search for Resend.
  3. Click the card to open the details modal and hit Connect.
  4. You’re taken to the secure connection page hosted by Composio, where you enter the API key obtained above.
  5. Once done, you’re sent back to SquadOS with the account connected and the tool available for your agents. (Connection-flow details in Organization Tools.)

RESEND_ADD_CONTACT_TO_SEGMENT

Add an existing contact to a segment in Resend. Use when you need to organize contacts into specific segments for targeted communication.

NameTypeRequiredDescription
contact_idstringYesThe ID of the contact to add to the segment.
segment_idstringYesThe ID of the segment to add the contact to.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_CANCEL_EMAIL

Cancel a scheduled email.

NameTypeRequiredDescription
idstringYesThe id of the email to cancel.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_CREATE_API_KEY

Create a new API key to authenticate communications with Resend. Use when you need to generate a new authentication token for API access.

NameTypeRequiredDescription
namestringYesThe API key name. Maximum 50 characters.
domain_idstringNoRestrict an API key to send emails only from a specific domain. Only used when the permission is sending_access.
permissionstring ("full_access" | "sending_access")NoAPI key permission levels.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_CREATE_AUDIENCE

Create a list of contacts.

NameTypeRequiredDescription
namestringYesThe name of the audience you want to create.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_CREATE_CONTACT

Create a contact in Resend.

NameTypeRequiredDescription
emailstringYesThe email address of the contact. Must be a valid RFC-compliant email address.
lastNamestringNoThe last name of the contact.
firstNamestringNoThe first name of the contact.
audienceIdstringYesThe Audience ID.
unsubscribedbooleanNoThe subscription status.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_CREATE_CONTACT_PROPERTY

Tool to create a new contact property in Resend. Use when you need to define custom fields for contacts.

NameTypeRequiredDescription
keystringYesThe key of the contact property. Must be alphanumeric and underscore only, max 50 characters. Case sensitive.
typestring ("string" | "number")YesThe type of the contact property.
fallbackValuestringNoThe fallback value for the property. Must match the type of the property.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_CREATE_CONTACT_V2

Tool to create a new contact in Resend. Use when you need to add a contact to Resend without specifying an audience.

NameTypeRequiredDescription
emailstringYesThe email address of the contact.
topicsarrayNoList of topic subscriptions with ID and subscription status (opt_in or opt_out).
segmentsarrayNoList of segment IDs to enroll the contact in.
last_namestringNoThe last name of the contact.
first_namestringNoThe first name of the contact.
propertiesarrayNoCustom key-value pairs for the contact. Each property must have a key and value.
unsubscribedbooleanNoContact’s global subscription status; when true, the contact opts out of all broadcasts.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_CREATE_DOMAIN

Create a domain through the Resend Email API. The domain is created in a pending/unverified state and cannot be used for sending emails until DNS verification is completed.

NameTypeRequiredDescription
namestringYesThe name of the domain to be created.
regionstring ("us-east-1" | "eu-west-1" | "sa-east-1" | "ap-northeast-1")NoThe region where emails will be sent from. Supported values: us-east-1, eu-west-1, sa-east-1. Unsupported values cause validation errors.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_CREATE_TEMPLATE

Tool to create a new email template in Resend. Use when you need to define reusable email templates with optional variables.

NameTypeRequiredDescription
fromstringNoSender email address. To include a friendly name, use the format 'Your Name <sender@domain.com>'.
htmlstringYesThe HTML version of the template. Use {{VARIABLE_NAME}} syntax to reference template variables.
namestringYesThe name of the template.
textstringNoThe plain text version of the template. If omitted, Resend will auto-generate from HTML.
aliasstringNoThe alias of the template. This is an optional identifier that can be used instead of the template ID.
subjectstringNoEmail subject for the template.
reply_tostringNoReply-to email address. For multiple addresses, send as an array of strings.
variablesarrayNoTemplate variables. Up to 50 variables can be defined per template.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_CREATE_TOPIC

Tool to create a new topic to segment your audience. Use when you need to create a topic for organizing contacts by interests or preferences.

NameTypeRequiredDescription
namestringYesThe topic name. Max length is 50 characters.
visibilitystring ("public" | "private")NoTopic visibility on the unsubscribe page.
descriptionstringNoThe topic description. Max length is 200 characters.
defaultSubscriptionstring ("opt_in" | "opt_out")YesThe default subscription preference for new contacts. Accepts opt_in or opt_out. This value cannot be modified afterwards.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_CREATE_WEBHOOK

Tool to create a webhook to receive real-time notifications about email events. Use when you need to set up automated notifications for email status changes.

NameTypeRequiredDescription
eventsarrayYesArray of event types to subscribe to. Common events include: email.sent, email.delivered, email.delivery_delayed, email.complained, email.bounced, email.opened, email.clicked. Must include at least one event.
endpointstringYesThe URL where webhook events will be sent. Must be a valid HTTPS endpoint.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_DELETE_API_KEY

Remove an existing API key from Resend. Use when you need to revoke or delete an API key.

NameTypeRequiredDescription
api_key_idstringYesThe API key ID to delete.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_DELETE_AUDIENCE

Remove an existing audience.

NameTypeRequiredDescription
audience_idstringYesThe ID of the audience to delete.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_DELETE_CONTACT

Delete a contact in Resend.

NameTypeRequiredDescription
idstringNoThe Contact ID. Either id or email must be provided.
emailstringNoThe Contact email. Either id or email must be provided.
audienceIdstringYesThe Audience ID.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_DELETE_CONTACT_BY_ID

Tool to remove an existing contact by its ID. Use when you need to delete a contact directly without specifying an audience.

NameTypeRequiredDescription
idstringYesThe Contact ID to delete.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_DELETE_CONTACT_PROPERTY

Remove an existing contact property from Resend.

NameTypeRequiredDescription
contact_property_idstringYesThe Contact Property ID.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_DELETE_DOMAIN

Delete a domain through the Resend Email API. Deletion is irreversible; ensure no active email traffic or DNS configurations depend on the domain before calling.

NameTypeRequiredDescription
domain_idstringYesThe id of the domain to delete.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_DELETE_SEGMENT

Remove an existing segment. Use when you need to permanently delete a segment by its ID.

NameTypeRequiredDescription
segment_idstringYesThe ID of the segment to delete.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_DELETE_TEMPLATE

Remove an existing template. Use this action when you need to delete a template from Resend.

NameTypeRequiredDescription
template_idstringYesThe Template ID or alias.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_DELETE_TOPIC

Tool to remove an existing topic in Resend. Use when you need to delete a topic.

NameTypeRequiredDescription
idstringYesThe Topic ID.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_DELETE_WEBHOOK

Remove an existing webhook. Use this to delete a webhook configuration when you no longer need to receive event notifications at that endpoint.

NameTypeRequiredDescription
webhook_idstringYesThe Webhook ID.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_DUPLICATE_TEMPLATE

Duplicate an existing template through the Resend Email API. Use when you need to create a copy of an existing template.

NameTypeRequiredDescription
template_idstringYesThe Template ID or alias to duplicate.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_GET_CONTACT

Tool to retrieve a single contact from Resend by ID or email. Use when you need to get details of a specific contact using the global contacts endpoint.

NameTypeRequiredDescription
contact_idstringYesThe Contact ID or email address to retrieve. Can be either a UUID (e.g., 'e169aa45-1ecf-4183-9955-b1499d5701d3') or an email address (e.g., 'user@example.com').
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_GET_CONTACT_PROPERTY

Tool to retrieve a single contact property from Resend. Use when you need to get details about a specific contact property by its ID.

NameTypeRequiredDescription
contact_property_idstringYesThe Contact Property ID.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_GET_EMAIL_ATTACHMENT

Retrieve a single attachment from a sent email. Use when you need to access attachment metadata and download URL.

NameTypeRequiredDescription
email_idstringYesThe ID of the email.
attachment_idstringYesThe ID of the attachment.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_GET_SEGMENT

Retrieve a single segment by its ID. Use when you need to get detailed information about a specific segment.

NameTypeRequiredDescription
segment_idstringYesThe ID of the segment to retrieve.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_GET_TEMPLATE

Retrieve a single template by ID or alias from Resend. Use when you need to view template details.

NameTypeRequiredDescription
template_idstringYesThe Template ID or alias to retrieve.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_GET_TOPIC

Tool to retrieve a single topic by its ID in Resend. Use when you need to fetch details of a specific topic.

NameTypeRequiredDescription
idstringYesThe Topic ID.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_GET_WEBHOOK

Retrieve a single webhook for the authenticated user. Use this to get details about a specific webhook configuration including its endpoint, subscribed events, and signing secret.

NameTypeRequiredDescription
webhook_idstringYesThe Webhook ID.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_ALL_CONTACTS

Tool to retrieve a list of all contacts from Resend. Use when you need to fetch contacts across all audiences with optional pagination.

NameTypeRequiredDescription
afterstringNoPagination cursor - retrieves contacts after this ID (the ID itself is excluded). Cannot be used with the before parameter.
limitintegerNoNumber of contacts to retrieve per request. Minimum 1, maximum 100. If not provided, defaults to 20.
beforestringNoPagination cursor - retrieves contacts before this ID (the ID itself is excluded). Cannot be used with the after parameter.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_API_KEYS

Tool to retrieve a list of API keys for the authenticated user. Use when you need to view all API keys associated with the account, including pagination support for large result sets.

NameTypeRequiredDescription
afterstringNoThe ID after which we’ll retrieve more API keys (for pagination). This ID will not be included in the returned list. Cannot be used with the before parameter.
limitintegerNoNumber of API keys to retrieve. If omitted, all keys are returned in a single response.
beforestringNoThe ID before which we’ll retrieve more API keys (for pagination). This ID will not be included in the returned list. Cannot be used with the after parameter.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_AUDIENCES

List all audiences.

NameTypeRequiredDescription
afterstringNoCursor ID for forward pagination.
limitintegerNoMaximum number of results to return. Max: 100.
beforestringNoCursor ID for backward pagination.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_BROADCASTS

Tool to retrieve a list of broadcasts. Use when you need to fetch all broadcasts or paginate through them.

NameTypeRequiredDescription
afterstringNoThe ID after which we’ll retrieve more broadcasts (for pagination). This ID will not be included in the returned list. Cannot be used with the before parameter.
limitintegerNoNumber of broadcasts to retrieve. If not provided, all broadcasts will be returned.
beforestringNoThe ID before which we’ll retrieve more broadcasts (for pagination). This ID will not be included in the returned list. Cannot be used with the after parameter.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_CONTACT_PROPERTIES

Tool to retrieve a list of contact properties from Resend. Use when you need to view available contact property definitions.

NameTypeRequiredDescription
afterstringNoReturn items after this cursor.
limitintegerNoNumber of items to return.
beforestringNoReturn items before this cursor.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_CONTACTS

List contacts in Resend.

NameTypeRequiredDescription
afterstringNoCursor ID for forward pagination.
limitintegerNoMaximum number of results to return. Max: 100.
beforestringNoCursor ID for backward pagination.
audienceIdstringYesThe Audience ID.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_CONTACT_SEGMENTS

Retrieve a list of segments that a contact is part of. Use when you need to determine which segments a specific contact belongs to.

NameTypeRequiredDescription
idstringYesThe ID of the contact.
afterstringNoCursor ID for forward pagination.
limitintegerNoMaximum number of results to return. Max: 100.
beforestringNoCursor ID for backward pagination.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_CONTACT_TOPICS

Retrieve a list of topic subscriptions for a contact in Resend. Use when you need to check which topics a specific contact is subscribed to.

NameTypeRequiredDescription
afterstringNoCursor ID for forward pagination.
limitintegerNoMaximum number of results to return. Max: 100.
beforestringNoCursor ID for backward pagination.
contact_idstringYesThe ID of the contact.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_DOMAINS

List all domains. Use the returned domain IDs as inputs for tools like RESEND_VERIFY_DOMAIN that require a domain_id.

NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_EMAIL_ATTACHMENTS

Tool to retrieve a list of attachments from a sent email. Use when you need to get information about files attached to an email sent via Resend.

NameTypeRequiredDescription
afterstringNoPagination cursor to fetch results after this attachment ID. Cannot be used with before.
limitintegerNoMaximum number of attachments to return. Use for pagination.
beforestringNoPagination cursor to fetch results before this attachment ID. Cannot be used with after.
email_idstringYesThe ID of the email to retrieve attachments from.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_EMAILS

Tool to retrieve a list of emails sent by your team. Use when you need to fetch outbound emails from your account. Supports pagination with limit, after, and before parameters.

NameTypeRequiredDescription
afterstringNoPagination cursor to fetch results after this email ID. Cannot be used with before.
limitintegerNoMaximum number of emails to return. Default 20, max 100, min 1.
beforestringNoPagination cursor to fetch results before this email ID. Cannot be used with after.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_RECEIVED_EMAILS

Tool to retrieve a list of received emails for the authenticated user. Use when you need to fetch incoming emails from the receiving endpoint.

NameTypeRequiredDescription
afterstringNoPagination cursor to fetch results after this email ID. Cannot be used with before.
limitintegerNoMaximum number of received emails to return.
beforestringNoPagination cursor to fetch results before this email ID. Cannot be used with after.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_SEGMENTS

Tool to retrieve a list of segments from Resend. Use when you need to view all available segments for audience management.

NameTypeRequiredDescription
afterstringNoReturn items after this cursor for pagination.
limitintegerNoNumber of items to return.
beforestringNoReturn items before this cursor for pagination.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_TEMPLATES

Tool to retrieve a list of templates from Resend. Use when you need to get all available templates with optional pagination support.

NameTypeRequiredDescription
afterstringNoReturn items after this cursor.
limitintegerNoNumber of items to return.
beforestringNoReturn items before this cursor.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_TOPICS

Tool to retrieve a list of topics for the authenticated user. Use when you need to fetch available topics with optional pagination support.

NameTypeRequiredDescription
afterstringNoReturn items after this cursor.
limitintegerNoNumber of items to return.
beforestringNoReturn items before this cursor.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_LIST_WEBHOOKS

Retrieve a list of webhooks for the authenticated user. Use this to view all configured webhooks with their endpoints, event types, and status.

NameTypeRequiredDescription
afterstringNoPagination cursor to fetch results after this webhook ID. Cannot be used with before.
limitintegerNoMaximum number of webhooks to return.
beforestringNoPagination cursor to fetch results before this webhook ID. Cannot be used with after.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_PUBLISH_TEMPLATE

Publish a template through the Resend Email API. Use when you need to make a template publicly available.

NameTypeRequiredDescription
template_idstringYesThe Template ID or alias to publish.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_REMOVE_CONTACT_FROM_SEGMENT

Remove an existing contact from a segment. Use when you need to disassociate a contact from a specific segment.

NameTypeRequiredDescription
contact_idstringYesThe ID of the contact to remove from the segment.
segment_idstringYesThe ID of the segment to remove the contact from.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_RETRIEVE_AUDIENCE

Retrieve a single audience.

NameTypeRequiredDescription
audience_idstringYesThe ID of the audience to retrieve.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_RETRIEVE_CONTACT

Retrieve a contact in Resend.

NameTypeRequiredDescription
idstringYesThe Contact ID.
audienceIdstringYesThe Audience ID.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_RETRIEVE_DOMAIN

Retrieve a single domain.

NameTypeRequiredDescription
domain_idstringYesThe id of the domain to retrieve.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_RETRIEVE_EMAIL

Retrieve a single email.

NameTypeRequiredDescription
email_idstringYesThe id of the email to retrieve.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_SEND_BATCH_EMAILS

Trigger up to 100 batch emails at once. Use when you need to send multiple emails in a single API request.

NameTypeRequiredDescription
emailsarrayYesList of email items to send in batch. Maximum 100 emails per batch.
Idempotency-KeystringNoA unique identifier for the request to ensure emails are only sent once.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_SEND_EMAIL

Send an email using Resend. Confirm recipients and content with the user before invoking — sends are irreversible. All recipients must be listed explicitly via to, cc, or bcc; audience-based sending is unsupported. Render HTML or plain text externally before passing via html or text.

NameTypeRequiredDescription
ccstringNoCc recipient email address. For multiple addresses, send as an array of strings.
tostringYesRecipient email address. For multiple addresses, send as an array of strings. Max 50.
bccstringNoBcc recipient email address. For multiple addresses, send as an array of strings. Use bcc instead of to when sending to multiple recipients to prevent them from seeing each other’s addresses.
fromstringYesSender email address. To include a name, use the format 'Your Name <sender@domain.com>'.
htmlstringNoThe HTML version of the message. At least one of html or text must be provided.
textstringNoThe plain text version of the message. At least one of html or text must be provided.
reactstringNoThe React version of the message. Only available in the Node.js SDK.
headersobjectNoCustom headers to add to the email. Must be a dictionary/object with key-value pairs (e.g., {'X-Custom-Header': 'value'}). Pass None or omit to exclude.
subjectstringYesEmail subject.
reply_tostringNoReply-to email address. For multiple addresses, send as an array of strings.
scheduled_atstringNoSchedule email to be sent later. The date should be in ISO 8601 format (e.g., '2024-08-05T11:52:01.858Z').
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_UPDATE_BROADCAST

Update an existing broadcast in Resend. Use when you need to modify broadcast details like name, subject, content, or recipients.

NameTypeRequiredDescription
idstringYesThe Broadcast ID to update.
fromstringNoThe email address of the sender.
htmlstringNoThe HTML version of the message.
namestringNoName of the broadcast.
textstringNoThe plain text version of the message.
subjectstringNoThe subject line of the email.
reply_toarrayNoThe email addresses to which replies should be sent.
segment_idstringNoUnique identifier of the segment this broadcast will be sent to.
audience_idstringNoUnique identifier of the audience this broadcast will be sent to.
preview_textstringNoThe preview text of the email.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_UPDATE_CONTACT

Tool to update an existing contact in Resend by ID or email. Use when you need to modify contact details such as name or subscription status.

NameTypeRequiredDescription
last_namestringNoThe last name of the contact.
first_namestringNoThe first name of the contact.
id_or_emailstringYesThe Contact ID or email address to update. Can be either the unique contact ID (UUID format) or the contact’s email address.
unsubscribedbooleanNoThe subscription status of the contact. When true, unsubscribes the contact from all broadcasts.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_UPDATE_CONTACT_PROPERTY

Update an existing contact property in Resend. Only the fallback_value can be updated; the key and type fields cannot be changed after creation.

NameTypeRequiredDescription
fallback_valuestringNoThe default value to use when the property is not set for a contact. Must match the type specified in the contact property’s type field. Can be a string or number.
contact_property_idstringYesThe Contact Property ID to update.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_UPDATE_DOMAIN

Update an existing domain.

NameTypeRequiredDescription
tlsstring ("opportunistic" | "enforced")NoTLS setting for email communication. opportunistic: Always attempts to make a secure connection. enforced: Requires TLS for email communication.
domain_idstringYesThe id of the domain to update.
open_trackingbooleanNoTrack the open rate of each email.
click_trackingbooleanNoTrack clicks within the body of each HTML email.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_UPDATE_EMAIL

Update a scheduled email.

NameTypeRequiredDescription
idstringYesThe ID of the email to update.
scheduled_atstringYesSchedule email to be sent later. The date should be in ISO 8601 format (e.g: 2024-08-05T11:52:01.858Z).
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_UPDATE_TEMPLATE

Tool to update an existing email template in Resend. Use when you need to modify template properties such as name, subject, HTML content, or variables.

NameTypeRequiredDescription
idstringYesThe Template ID or alias to update.
fromstringNoSender email address. To include a friendly name, use the format "Your Name <sender@domain.com>".
htmlstringNoThe HTML version of the template.
namestringNoThe name of the template.
textstringNoThe plain text version of the template.
aliasstringNoThe alias of the template.
subjectstringNoEmail subject.
reply_toarrayNoReply-to email addresses.
variablesarrayNoTemplate variables with their types and optional fallback values.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_UPDATE_TOPIC

Tool to update an existing topic in Resend. Use when you need to modify the name of a topic.

NameTypeRequiredDescription
idstringYesThe Topic ID to update.
namestringYesThe name of the topic to update.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_UPDATE_WEBHOOK

Tool to update an existing webhook configuration. Use when you need to modify the endpoint URL, change event subscriptions, or enable/disable a webhook.

NameTypeRequiredDescription
eventsarrayNoArray of event types to subscribe to. Must contain at least one event if provided.
statusstring ("enabled" | "disabled")NoThe status of the webhook. Set to enabled to activate or disabled to deactivate.
endpointstringNoThe URL where webhook events will be sent.
webhook_idstringYesThe ID of the webhook to update.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.

RESEND_VERIFY_DOMAIN

Verify a domain through the Resend Email API. DNS records must fully propagate before verification succeeds; avoid immediate retries after DNS setup.

NameTypeRequiredDescription
domain_idstringYesThe id of the domain to verify. Must match an existing registered domain; use RESEND_LIST_DOMAINS to retrieve valid IDs.
NameTypeRequiredDescription
datastringYesData from the action execution.
errorstringNoError if any occurred during the execution of the action.
successfulbooleanYesWhether or not the action execution was successful.