ByteChef LogoByteChef
Components

Resend

Resend is the email API for developers.

Categories: Marketing Automation

Type: resend/v1


Connections

Version: 1

Bearer Token

Properties

NameLabelTypeDescriptionRequired
tokenTokenSTRINGtrue

Actions

Send Email

Name: sendEmail

Send an email

Properties

NameLabelTypeDescriptionRequired
fromFromSTRINGSender email address.true
toToARRAY
Items [STRING($email)]
Recipients email addresses.true
subjectSubjectSTRINGEmail subject.true
bccBccARRAY
Items [STRING($email)]
Bcc recipients email addresses.false
ccCcARRAY
Items [STRING($email)]
Cc recipients email addresses.false
reply_toReply ToARRAY
Items [STRING($email)]
Reply-to email addresses.false
contentTypeContent TypeSTRING
Options HTML, TEXT
true
htmlHTMLSTRINGThe HTML version of the message.false
textTextSTRINGThe plain text version of the message.false
headersHeadersOBJECT
Properties {}
Custom headers to add to the email.false
attachmentsAttachmentsARRAY
Items [FILE_ENTRY]
A list of attachments to send with the email.false
tagsARRAY
Items [{STRING(name), STRING(value)}]
false

Example JSON Structure

{
  "label" : "Send Email",
  "name" : "sendEmail",
  "parameters" : {
    "from" : "",
    "to" : [ "" ],
    "subject" : "",
    "bcc" : [ "" ],
    "cc" : [ "" ],
    "reply_to" : [ "" ],
    "contentType" : "",
    "html" : "",
    "text" : "",
    "headers" : { },
    "attachments" : [ {
      "extension" : "",
      "mimeType" : "",
      "name" : "",
      "url" : ""
    } ],
    "tags" : [ {
      "name" : "",
      "value" : ""
    } ]
  },
  "type" : "resend/v1/sendEmail"
}

Output

Type: OBJECT

Properties

NameTypeDescription
idSTRING

Output Example

{
  "id" : ""
}

What to do if your action is not listed here?

If this component doesn't have the action you need, you can use Custom Action to create your own. Custom Actions empower you to define HTTP requests tailored to your specific requirements, allowing for greater flexibility in integrating with external services or APIs.

To create a Custom Action, simply specify the desired HTTP method, path, and any necessary parameters. This way, you can extend the functionality of your component beyond the predefined actions, ensuring that you can meet all your integration needs effectively.


Additional instructions

CONNECTION

API key location