apicheats.dev resend/llms.txt Raw .md
PATCH

/automations/{automation_id}

Resend API

Update 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
→ 234 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 PATCH 'https://api.resend.com/automations/automation-id' \  -H "Authorization: Bearer $RESEND_API_KEY" \  -H 'User-Agent: my-app/1.0' \  -H 'Content-Type: application/json' \  -d '{  "name": "string",  "status": "enabled",  "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
automation_id path string Yes The ID of the automation.
name body string No The name of the automation.
status body string No The status of the automation.
steps body object[] No The steps that compose the automation workflow. Must be provided together with `connections`.
connections body object[] No The connections between steps in the automation graph. Must be provided together with `steps`.

Response 200 OK

{
  "object": "automation",
  "id": "string"
}