POST
/automations
Resend APICreate an automation
- Base URL
- https://api.resend.com
- Auth
- Authorization: Bearer <RESEND_API_KEY>
- Last verified
- 2026-09-03 · upstream hash matched
Actions
Agents: curl -H "Accept: text/markdown" this URL
→ 211 tokens · Vary: Accept
→ 211 tokens · Vary: Accept
Critical gotchas
All requests must include a User-Agent header (e.g. User-Agent: my-app/1.0) or the API returns HTTP 403.
The to field is an array of strings, even when sending to a single recipient.
cURL
curl -X POST 'https://api.resend.com/automations' \ -H "Authorization: Bearer $RESEND_API_KEY" \ -H 'User-Agent: my-app/1.0' \ -H 'Content-Type: application/json' \ -d '{ "name": "string", "status": "disabled", "steps": [ { "key": "string", "type": "trigger", "config": {} } ], "connections": [ { "from": "string", "to": "string", "type": "default" } ]}'Get a free Resend API key → sponsored
Parameters
| Name | In | Type | Required | Description |
|---|---|---|---|---|
| name | body | string | Yes | The name of the automation. |
| status | body | string | No | The initial status of the automation. Defaults to `disabled`. |
| steps | body | object[] | Yes | The steps that compose the automation workflow. Must include at least one `trigger` step. |
| connections | body | object[] | Yes | The connections between steps in the automation graph. |
Response 200 OK
{
"object": "automation",
"id": "string"
}