curl --request PATCH \
--url https://api.monaco.com/v1/sequence-templates/{sequence_template_id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "Enterprise Onboarding v2"
}
'{
"data": {
"id": "seqt_abc123",
"name": "Enterprise Onboarding",
"status": "ACTIVE",
"description": "Multi-touch onboarding sequence for enterprise accounts",
"owner_id": "usr_abc123",
"is_default": false,
"archived_at": "2026-05-10T14:22:00Z",
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-05-10T14:22:00Z",
"steps": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "auto_email",
"index": 1,
"title": "Intro email",
"day": 0,
"hour": 9,
"subject": "<string>",
"message": "<string>",
"gift_id": "<string>"
}
],
"transitions": [
{
"from_step_index": 1,
"to_step_index": 2,
"transition_type": "PREVIOUS_STEP_COMPLETES",
"pre_check_time_unit": "days",
"pre_check_delay": 2,
"post_check_time_unit": "days",
"post_check_delay": 1,
"require_all": true
}
],
"blocks": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "not_found",
"message": "Resource not found",
"data": {}
}
}{
"error": {
"code": "not_found",
"message": "Resource not found",
"data": {}
}
}Update a Sequence Template
Updates an existing sequence template. steps and transitions replace their current values when supplied together.
Sequences enrolled in the template follow each step by its id. Every existing step must therefore be sent back in steps with its id, or listed in removed_step_ids to delete it. A step sent without an id is created as a new step. A request that leaves an existing step out of both lists, or puts one in both, is rejected with 422 missing_step_ids; the message names the step ids.
Use [[block:<uuid>]] in a step’s message/subject to reference an existing content block in this organization, where <uuid> is the lowercase, dash-separated block id. Unknown UUIDs, and markers that aren’t a lowercase dashed UUID, are rejected. These endpoints and the public MCP do not create or edit content blocks. Without an existing block UUID, write content directly in message/subject. A transition links steps by index sequentially or on a branch.
Template variables must be namespaced. Supported tokens are {{recipient.first_name}}, {{recipient.last_name}}, {{recipient.company}}, {{recipient.email}}, {{recipient.title}}, {{recipient.location}}, {{recipient.notes}}, {{sender.first_name}}, {{sender.last_name}}, {{sender.company}}, {{sender.title}}, {{sender.email}}, {{account.industries}}, {{account.notes}}, and {{account.description}}. Custom fields are referenced as {{recipient.<custom-field-id>}} or {{account.<custom-field-id>}}.
curl --request PATCH \
--url https://api.monaco.com/v1/sequence-templates/{sequence_template_id} \
--header 'Content-Type: application/json' \
--data '
{
"name": "Enterprise Onboarding v2"
}
'{
"data": {
"id": "seqt_abc123",
"name": "Enterprise Onboarding",
"status": "ACTIVE",
"description": "Multi-touch onboarding sequence for enterprise accounts",
"owner_id": "usr_abc123",
"is_default": false,
"archived_at": "2026-05-10T14:22:00Z",
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-05-10T14:22:00Z",
"steps": [
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"type": "auto_email",
"index": 1,
"title": "Intro email",
"day": 0,
"hour": 9,
"subject": "<string>",
"message": "<string>",
"gift_id": "<string>"
}
],
"transitions": [
{
"from_step_index": 1,
"to_step_index": 2,
"transition_type": "PREVIOUS_STEP_COMPLETES",
"pre_check_time_unit": "days",
"pre_check_delay": 2,
"post_check_time_unit": "days",
"post_check_delay": 1,
"require_all": true
}
],
"blocks": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "not_found",
"message": "Resource not found",
"data": {}
}
}{
"error": {
"code": "not_found",
"message": "Resource not found",
"data": {}
}
}Body
Request body for updating a sequence template. All fields optional.
Full replacement of the step list. Include id on steps that should keep their identity; omit id to assign a new one. An existing step left out must be listed in removed_step_ids. transitions is required in the same request.
Show child attributes
Show child attributes