API
일시 중지, 재개, 보관
일시 중지는 아무도 잃지 않고 게시 중인 자동화를 멈춥니다. 새로 들어오는 사람은 없고 참여 중인 사람은 모두 자기 단계에서 기다립니다. 재개하면 거기서부터 이어 가고, 보관하면 자동화가 영구히 종료됩니다.
POST/automations/{id}/pause
3개 호출을 워크스페이스에 실제로 실행합니다.
POST /automations/{id}/pause
일시 중지는 아무도 잃지 않고 게시 중인 자동화를 멈춥니다. 새로 들어오는 사람은 없고 참여 중인 사람은 모두 자기 단계에서 기다립니다. 재개하면 거기서부터 이어 가고, 보관하면 자동화가 영구히 종료됩니다.
예시
automations:write가 필요합니다. 재개에는 emails:send도 필요합니다.
curl -X POST "$OE/automations/aut_7c2e9a1f4b8d30c65e1a9f27/pause" -H "$AUTH"curl -X POST "$OE/automations/aut_7c2e9a1f4b8d30c65e1a9f27/resume" -H "$AUTH"curl -X POST "$OE/automations/aut_7c2e9a1f4b8d30c65e1a9f27/archive" -H "$AUTH"{ "object": "automation", "id": "aut_7c2e9a1f4b8d30c65e1a9f27", "name": "Welcome series", "description": null, "status": "live", "triggerKind": "audience_joined", "stepCount": 4, "emailCount": 2, "hasUnpublishedChanges": false, "publishedVersion": 2, "pausedReason": null, "lastError": null, "counts": { "active": 38, "completed": 412, "exited": 9 }, "createdBy": "q7Vd3kX9mT2pLw8RzN4bYc6HfJ1sGa5E", "publishedAt": "2026-10-02T09:14:00.000Z", "pausedAt": null, "archivedAt": null, "createdAt": "2026-10-01T16:40:12.000Z", "updatedAt": "2026-10-02T09:14:00.000Z", "definition": { "trigger": { "kind": "audience_joined", "audienceId": "aud_4c1b8e2a7d9f05c36b4e8a71", "includeImported": false }, "entry": "welcome", "steps": [ { "key": "welcome", "kind": "send_email", "next": "pause", "templateId": "tpl_9c1f0a4b7e05d3862c1f0a44", "templateVersion": null, "from": { "email": "[email protected]", "name": "Acme" }, "replyTo": null, "subject": null, "props": { "firstName": { "source": "contact", "field": "firstName" } } }, { "key": "pause", "kind": "wait", "next": "opened", "wait": { "mode": "duration", "amount": 3, "unit": "days" } }, { "key": "opened", "kind": "branch", "condition": { "kind": "email_opened", "stepKey": "welcome" }, "yes": null, "no": "nudge" }, { "key": "nudge", "kind": "send_email", "next": null, "templateId": "tpl_8f3a1c2e9b7d4a60", "templateVersion": null, "from": { "email": "[email protected]", "name": "Acme" }, "replyTo": null, "subject": "{{firstName|Hello}}, did you see this?", "props": {} } ] }, "published": { "trigger": { "kind": "audience_joined", "…": "…" }, "entry": "welcome", "steps": ["…"] }, "settings": { "timezone": "Europe/London", "sendWindow": { "days": [1, 2, 3, 4, 5], "startMinute": 540, "endMinute": 1020 }, "reentryDays": null, "exitOnLeave": true, "listAudienceId": null }, "problems": []}자동화가 일시 중지된 동안에도 대기 시간은 계속 흐릅니다. 그사이 대기가 끝난 사람은 재개되자마자 다음으로 넘어갑니다.
일시 중지된 동안 트리거 조건을 충족한 사람은 나중에 추가되지 않습니다.
재개할 때는 게시 중인 버전을 다시 확인하며, 필요한 발신자, 템플릿 또는 오디언스가 사라진 동안에는 422 invalid_automation으로 거부됩니다.
보관은 되돌릴 수 없습니다. 참여 중인 사람은 모두 archived 사유로 나가고, 그 자동화는 더 이상 요금제 한도에 포함되지 않습니다.
게시된 자동화만 일시 중지하거나 재개할 수 있습니다: 409 automation_not_published.