Update a sequence name or existing sequence email steps
cURL
curl --request PUT \ --url https://api.sequenzy.com/api/v1/sequences/{sequenceId} \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "emails": [ {} ], "steps": [ {} ] } '
{ "success": true, "sequence": { "id": "seq_abc123", "name": "Updated Welcome Sequence", "status": "draft", "updatedEmailCount": 1 } }
nodeId
emailId
emails
steps
curl -X PUT "https://api.sequenzy.com/api/v1/sequences/seq_abc123" \ -H "Authorization: Bearer seq_live_xxx" \ -H "Content-Type: application/json" \ -d '{ "name": "Updated Welcome Sequence", "emails": [ { "nodeId": "node_abc123", "subject": "Welcome to Acme", "html": "<h1>Welcome</h1><p>Here is your first step.</p>" } ] }'