Updates a workflow automation. Only draft and paused workflows can be edited. Pass active: true to activate after the update.
curl --request PATCH \
--url https://api.autosend.com/v1/automations/60d5ec49f1b2c72d9c8b9abc \
--header 'Authorization: Bearer AS_your-project-api-key' \
--header 'Content-Type: application/json' \
--data '{
"name": "Welcome Series — v2",
"tags": ["onboarding", "v2"],
"trackingClick": true,
"active": true
}'
{
"success": true,
"data": {
"id": "60d5ec49f1b2c72d9c8b9abc",
"name": "Welcome Series — v2",
"status": "active",
"tags": ["onboarding", "v2"],
"trackingClick": true,
"activeAt": "2026-05-08T11:00:00.000Z",
"updatedAt": "2026-05-08T11:00:00.000Z"
}
}
Documentation Index
Fetch the complete documentation index at: https://docs.autosend.com/llms.txt
Use this file to discover all available pages before exploring further.
draft and paused workflows can be edited — active workflows must be paused first. Pass active: true to re-activate as part of the update.steps is provided, the supplied array fully replaces the existing step list. Steps not included will be removed and any in-flight executions on those steps will exit.curl --request PATCH \
--url https://api.autosend.com/v1/automations/60d5ec49f1b2c72d9c8b9abc \
--header 'Authorization: Bearer AS_your-project-api-key' \
--header 'Content-Type: application/json' \
--data '{
"name": "Welcome Series — v2",
"tags": ["onboarding", "v2"],
"trackingClick": true,
"active": true
}'
{
"success": true,
"data": {
"id": "60d5ec49f1b2c72d9c8b9abc",
"name": "Welcome Series — v2",
"status": "active",
"tags": ["onboarding", "v2"],
"trackingClick": true,
"activeAt": "2026-05-08T11:00:00.000Z",
"updatedAt": "2026-05-08T11:00:00.000Z"
}
}
AS_<key>.255.1000.true, the workflow is validated and activated after the update. When false, the workflow is left in (or moved to) draft state.trueactive or archived — pause it first.{
"success": false,
"error": {
"message": "Only draft or paused workflows can be edited",
"code": "CANNOT_EDIT_AUTOMATION"
}
}
{
"success": false,
"error": {
"message": "Workflow automation not found",
"code": "WORKFLOW_NOT_FOUND"
}
}
curl --request PATCH \
--url https://api.autosend.com/v1/automations/60d5ec49f1b2c72d9c8b9abc \
--header 'Authorization: Bearer AS_your-project-api-key' \
--header 'Content-Type: application/json' \
--data '{
"name": "Welcome Series — v2",
"tags": ["onboarding", "v2"],
"trackingClick": true,
"active": true
}'
{
"success": true,
"data": {
"id": "60d5ec49f1b2c72d9c8b9abc",
"name": "Welcome Series — v2",
"status": "active",
"tags": ["onboarding", "v2"],
"trackingClick": true,
"activeAt": "2026-05-08T11:00:00.000Z",
"updatedAt": "2026-05-08T11:00:00.000Z"
}
}