Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.spojit.com/llms.txt

Use this file to discover all available pages before exploring further.

The Resend connector lets your workflows send transactional and marketing emails, manage audience contacts, and verify sending domains.
For the full API reference, see the Resend API documentation.
If you just need to send a quick notification email without setting up an external service, use the built-in Send Email node instead — it sends from Spojit with no connection required.

Connection setup

1

Get your API key

Log in to the Resend dashboard and navigate to API Keys. Create a new API key or copy an existing one.
2

Add the connection in Spojit

Go to Connections in Spojit, click Add Connection, select Resend, and enter:
  • API Key: Your Resend API key (starts with re_)
  • Default From Address (optional): A default sender address (e.g., Team <hello@yourdomain.com>) used when from is not specified in the tool parameters
Make sure you’ve verified a sending domain in Resend before sending emails. Emails from unverified domains will fail.

Tools

Emails

from
string
Sender address. Falls back to the connection’s default from address.
to
string | string[]
required
Recipient email address(es).
subject
string
required
Email subject line.
html
string
HTML email body.
text
string
Plain text email body.
cc
string | string[]
CC recipient(s).
bcc
string | string[]
BCC recipient(s).
reply_to
string | string[]
Reply-to address(es).
tags
object[]
Email tags for tracking. Each tag has a name and value.
scheduled_at
string
Schedule send time (ISO 8601).
Example request:
{
  "from": "Acme <onboarding@resend.dev>",
  "to": ["delivered@resend.dev"],
  "subject": "hello world",
  "html": "<p>it works!</p>",
  "reply_to": "onboarding@resend.dev"
}
Example response:
{
  "id": "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794"
}
emails
object[]
required
Array of email objects with the same fields as send-email.
Example request:
{
  "emails": [
    {
      "from": "Acme <onboarding@resend.dev>",
      "to": ["foo@gmail.com"],
      "subject": "hello world",
      "html": "<h1>it works!</h1>"
    },
    {
      "from": "Acme <onboarding@resend.dev>",
      "to": ["bar@outlook.com"],
      "subject": "world hello",
      "html": "<p>it works!</p>"
    }
  ]
}
Example response:
{
  "data": [
    {
      "id": "ae2014de-c168-4c61-8267-70d2662a1ce1"
    },
    {
      "id": "faccb7a5-8a28-4e9a-ac64-8da1cc3bc1cb"
    }
  ]
}
id
string
required
Email ID.
Example request:
{
  "id": "4ef9a417-02e9-4d39-ad75-9611e0fcc33c"
}
Example response:
{
  "object": "email",
  "id": "4ef9a417-02e9-4d39-ad75-9611e0fcc33c",
  "to": ["delivered@resend.dev"],
  "from": "Acme <onboarding@resend.dev>",
  "created_at": "2023-04-03T22:13:42.674981+00:00",
  "subject": "Hello World",
  "html": "Congrats on sending your <strong>first email</strong>!",
  "text": null,
  "bcc": [],
  "cc": [],
  "reply_to": [],
  "last_event": "delivered",
  "scheduled_at": null,
  "tags": [
    {
      "name": "category",
      "value": "confirm_email"
    }
  ]
}
No parameters required.Example response:
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "id": "4ef9a417-02e9-4d39-ad75-9611e0fcc33c",
      "to": ["delivered@resend.dev"],
      "from": "Acme <onboarding@resend.dev>",
      "created_at": "2023-04-03T22:13:42.674981+00:00",
      "subject": "Hello World",
      "bcc": null,
      "cc": null,
      "reply_to": null,
      "last_event": "delivered",
      "scheduled_at": null
    }
  ]
}

Contacts

audience_id
string
required
Audience ID.
email
string
required
Contact email address.
first_name
string
First name.
last_name
string
Last name.
unsubscribed
boolean
default:"false"
Whether the contact is unsubscribed.
Example request:
{
  "audience_id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
  "email": "steve.wozniak@gmail.com",
  "first_name": "Steve",
  "last_name": "Wozniak",
  "unsubscribed": false
}
Example response:
{
  "object": "contact",
  "id": "479e3145-dd38-476b-932c-529ceb705947"
}
audience_id
string
required
Audience ID.
Example request:
{
  "audience_id": "78261eea-8f8b-4381-83c6-79fa7120f1cf"
}
Example response:
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "id": "e169aa45-1ecf-4183-9955-b1499d5701d3",
      "email": "steve.wozniak@gmail.com",
      "first_name": "Steve",
      "last_name": "Wozniak",
      "created_at": "2023-10-06T23:47:56.678Z",
      "unsubscribed": false
    }
  ]
}
audience_id
string
required
Audience ID.
id
string
required
Contact ID.
Example request:
{
  "audience_id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
  "id": "e169aa45-1ecf-4183-9955-b1499d5701d3"
}
Example response:
{
  "object": "contact",
  "id": "e169aa45-1ecf-4183-9955-b1499d5701d3",
  "email": "steve.wozniak@gmail.com",
  "first_name": "Steve",
  "last_name": "Wozniak",
  "created_at": "2023-10-06T23:47:56.678Z",
  "unsubscribed": false
}
audience_id
string
required
Audience ID.
id
string
required
Contact ID.
first_name
string
New first name.
last_name
string
New last name.
unsubscribed
boolean
Update subscription status.
Example request:
{
  "audience_id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
  "id": "479e3145-dd38-476b-932c-529ceb705947",
  "unsubscribed": true
}
Example response:
{
  "object": "contact",
  "id": "479e3145-dd38-476b-932c-529ceb705947"
}
audience_id
string
required
Audience ID.
id
string
required
Contact ID.
Example request:
{
  "audience_id": "78261eea-8f8b-4381-83c6-79fa7120f1cf",
  "id": "520784e2-887d-4c25-b53c-4ad46ad38100"
}
Example response:
{
  "object": "contact",
  "contact": "520784e2-887d-4c25-b53c-4ad46ad38100",
  "deleted": true
}

Domains

No parameters required.Example response:
{
  "object": "list",
  "has_more": false,
  "data": [
    {
      "id": "d91cd9bd-1176-453e-8fc1-35364d380206",
      "name": "example.com",
      "status": "not_started",
      "created_at": "2023-04-26T20:21:26.347412+00:00",
      "region": "us-east-1"
    }
  ]
}
id
string
required
Domain ID.
Example request:
{
  "id": "d91cd9bd-1176-453e-8fc1-35364d380206"
}
Example response:
{
  "object": "domain",
  "id": "d91cd9bd-1176-453e-8fc1-35364d380206",
  "name": "example.com",
  "status": "not_started",
  "created_at": "2023-04-26T20:21:26.347412+00:00",
  "region": "us-east-1",
  "records": [
    {
      "record": "SPF",
      "name": "send",
      "type": "MX",
      "ttl": "Auto",
      "status": "not_started",
      "value": "feedback-smtp.us-east-1.amazonses.com",
      "priority": 10
    },
    {
      "record": "SPF",
      "name": "send",
      "value": "\"v=spf1 include:amazonses.com ~all\"",
      "type": "TXT",
      "ttl": "Auto",
      "status": "not_started"
    },
    {
      "record": "DKIM",
      "name": "resend._domainkey",
      "value": "p=MIGfMA0GCSqGSIb3DQEBAQUAA4...",
      "type": "TXT",
      "status": "not_started",
      "ttl": "Auto"
    }
  ]
}
id
string
required
Domain ID.
Example request:
{
  "id": "d91cd9bd-1176-453e-8fc1-35364d380206"
}
Example response:
{
  "object": "domain",
  "id": "d91cd9bd-1176-453e-8fc1-35364d380206"
}

Advanced

Send a request to any Resend API endpoint.
method
string
required
HTTP method: GET, POST, PATCH, PUT, or DELETE.
path
string
required
API path (e.g., /emails).
body
object
Request body.
Example request:
{
  "method": "POST",
  "path": "/emails",
  "body": {
    "from": "Acme <onboarding@resend.dev>",
    "to": ["delivered@resend.dev"],
    "subject": "Hello World",
    "html": "<p>Congrats on sending your first email!</p>"
  }
}
Example response:
{
  "id": "49a3999c-0ce1-4ea6-ab68-afcd6dc2e794"
}