v1
latestOpenAPI 3.1.02026-07-263788129.7 KBCreate a Sequence Template
Creates a new sequence template. The template is created as a USER_GENERATED template.
Supply steps (ordered by index), transitions, and blocks together; see each field's schema for its shape and allowed values. A step references a block via a [[block:<id>]] marker in its message/subject, and a transition links steps by index sequentially or on a branch. Example:
{"steps": [{"index": 1, "day": 0, "hour": 9, "type": "auto_email", "subject": "Quick question", "message": "<p>Hi {{recipient.first_name}} [[block:intro]]</p>"}, {"index": 2, "day": 2, "hour": 9, "type": "auto_linkedin_connection", "message": "Let's connect"}], "transitions": [{"from_step_index": 1, "to_step_index": 2, "transition_type": "PREVIOUS_STEP_COMPLETES"}], "blocks": {"intro": {"name": "Intro", "block_type": "MANUAL", "content": "..."}}}
Template variables must be namespaced. Supported tokens are {{recipient.first_name}}, {{recipient.last_name}}, {{recipient.company}}, {{recipient.email}}, {{sender.first_name}}, {{sender.last_name}}, and {{sender.company}}.
Request body
Example request
{
"name": "Enterprise Onboarding",
"description": "Multi-touch onboarding sequence for enterprise accounts",
"steps": [
{
"index": 1,
"title": "Intro email",
"hour": 9
}
],
"transitions": [
{
"from_step_index": 1,
"to_step_index": 2,
"pre_check_delay": 2,
"post_check_delay": 1
}
]
}Response
Successful Response
Example response
{
"data": {
"id": "seqt_abc123",
"name": "Enterprise Onboarding",
"description": "Multi-touch onboarding sequence for enterprise accounts",
"owner_id": "usr_abc123",
"archived_at": "2026-05-10T14:22:00Z",
"created_at": "2026-01-15T10:30:00Z",
"updated_at": "2026-05-10T14:22:00Z",
"steps": [
{
"id": "stp_abc123",
"index": 1,
"title": "Intro email",
"hour": 9
}
],
"transitions": [
{
"from_step_index": 1,
"to_step_index": 2,
"pre_check_delay": 2,
"post_check_delay": 1
}
]
}
}