Create a Sequence Template
curl --request POST \
--url https://api.monaco.com/v1/sequence-templates \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"steps": [
{
"index": 2,
"title": "Intro email",
"day": 0,
"hour": 9,
"subject": "<string>",
"message": "<string>",
"gift_id": "<string>"
}
],
"description": "Multi-touch onboarding sequence for enterprise accounts",
"transitions": [
{
"from_step_index": 123,
"to_step_index": 123,
"pre_check_time_unit": "business_days",
"pre_check_delay": 2,
"post_check_time_unit": "business_days",
"post_check_delay": 1,
"require_all": true
}
],
"blocks": {}
}
'import requests
url = "https://api.monaco.com/v1/sequence-templates"
payload = {
"name": "<string>",
"steps": [
{
"index": 2,
"title": "Intro email",
"day": 0,
"hour": 9,
"subject": "<string>",
"message": "<string>",
"gift_id": "<string>"
}
],
"description": "Multi-touch onboarding sequence for enterprise accounts",
"transitions": [
{
"from_step_index": 123,
"to_step_index": 123,
"pre_check_time_unit": "business_days",
"pre_check_delay": 2,
"post_check_time_unit": "business_days",
"post_check_delay": 1,
"require_all": True
}
],
"blocks": {}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
steps: [
{
index: 2,
title: 'Intro email',
day: 0,
hour: 9,
subject: '<string>',
message: '<string>',
gift_id: '<string>'
}
],
description: 'Multi-touch onboarding sequence for enterprise accounts',
transitions: [
{
from_step_index: 123,
to_step_index: 123,
pre_check_time_unit: 'business_days',
pre_check_delay: 2,
post_check_time_unit: 'business_days',
post_check_delay: 1,
require_all: true
}
],
blocks: {}
})
};
fetch('https://api.monaco.com/v1/sequence-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.monaco.com/v1/sequence-templates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'steps' => [
[
'index' => 2,
'title' => 'Intro email',
'day' => 0,
'hour' => 9,
'subject' => '<string>',
'message' => '<string>',
'gift_id' => '<string>'
]
],
'description' => 'Multi-touch onboarding sequence for enterprise accounts',
'transitions' => [
[
'from_step_index' => 123,
'to_step_index' => 123,
'pre_check_time_unit' => 'business_days',
'pre_check_delay' => 2,
'post_check_time_unit' => 'business_days',
'post_check_delay' => 1,
'require_all' => true
]
],
'blocks' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.monaco.com/v1/sequence-templates"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"steps\": [\n {\n \"index\": 2,\n \"title\": \"Intro email\",\n \"day\": 0,\n \"hour\": 9,\n \"subject\": \"<string>\",\n \"message\": \"<string>\",\n \"gift_id\": \"<string>\"\n }\n ],\n \"description\": \"Multi-touch onboarding sequence for enterprise accounts\",\n \"transitions\": [\n {\n \"from_step_index\": 123,\n \"to_step_index\": 123,\n \"pre_check_time_unit\": \"business_days\",\n \"pre_check_delay\": 2,\n \"post_check_time_unit\": \"business_days\",\n \"post_check_delay\": 1,\n \"require_all\": true\n }\n ],\n \"blocks\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.monaco.com/v1/sequence-templates")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"steps\": [\n {\n \"index\": 2,\n \"title\": \"Intro email\",\n \"day\": 0,\n \"hour\": 9,\n \"subject\": \"<string>\",\n \"message\": \"<string>\",\n \"gift_id\": \"<string>\"\n }\n ],\n \"description\": \"Multi-touch onboarding sequence for enterprise accounts\",\n \"transitions\": [\n {\n \"from_step_index\": 123,\n \"to_step_index\": 123,\n \"pre_check_time_unit\": \"business_days\",\n \"pre_check_delay\": 2,\n \"post_check_time_unit\": \"business_days\",\n \"post_check_delay\": 1,\n \"require_all\": true\n }\n ],\n \"blocks\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.monaco.com/v1/sequence-templates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"steps\": [\n {\n \"index\": 2,\n \"title\": \"Intro email\",\n \"day\": 0,\n \"hour\": 9,\n \"subject\": \"<string>\",\n \"message\": \"<string>\",\n \"gift_id\": \"<string>\"\n }\n ],\n \"description\": \"Multi-touch onboarding sequence for enterprise accounts\",\n \"transitions\": [\n {\n \"from_step_index\": 123,\n \"to_step_index\": 123,\n \"pre_check_time_unit\": \"business_days\",\n \"pre_check_delay\": 2,\n \"post_check_time_unit\": \"business_days\",\n \"post_check_delay\": 1,\n \"require_all\": true\n }\n ],\n \"blocks\": {}\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"name": "<string>",
"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": "<string>",
"index": 1,
"title": "Intro email",
"day": 0,
"hour": 9,
"subject": "<string>",
"message": "<string>",
"gift_id": "<string>"
}
],
"transitions": [
{
"from_step_index": 123,
"to_step_index": 123,
"pre_check_time_unit": "business_days",
"pre_check_delay": 2,
"post_check_time_unit": "business_days",
"post_check_delay": 1,
"require_all": true
}
],
"blocks": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Sequence Templates
Create 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}}`.
POST
/
v1
/
sequence-templates
Create a Sequence Template
curl --request POST \
--url https://api.monaco.com/v1/sequence-templates \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"steps": [
{
"index": 2,
"title": "Intro email",
"day": 0,
"hour": 9,
"subject": "<string>",
"message": "<string>",
"gift_id": "<string>"
}
],
"description": "Multi-touch onboarding sequence for enterprise accounts",
"transitions": [
{
"from_step_index": 123,
"to_step_index": 123,
"pre_check_time_unit": "business_days",
"pre_check_delay": 2,
"post_check_time_unit": "business_days",
"post_check_delay": 1,
"require_all": true
}
],
"blocks": {}
}
'import requests
url = "https://api.monaco.com/v1/sequence-templates"
payload = {
"name": "<string>",
"steps": [
{
"index": 2,
"title": "Intro email",
"day": 0,
"hour": 9,
"subject": "<string>",
"message": "<string>",
"gift_id": "<string>"
}
],
"description": "Multi-touch onboarding sequence for enterprise accounts",
"transitions": [
{
"from_step_index": 123,
"to_step_index": 123,
"pre_check_time_unit": "business_days",
"pre_check_delay": 2,
"post_check_time_unit": "business_days",
"post_check_delay": 1,
"require_all": True
}
],
"blocks": {}
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
steps: [
{
index: 2,
title: 'Intro email',
day: 0,
hour: 9,
subject: '<string>',
message: '<string>',
gift_id: '<string>'
}
],
description: 'Multi-touch onboarding sequence for enterprise accounts',
transitions: [
{
from_step_index: 123,
to_step_index: 123,
pre_check_time_unit: 'business_days',
pre_check_delay: 2,
post_check_time_unit: 'business_days',
post_check_delay: 1,
require_all: true
}
],
blocks: {}
})
};
fetch('https://api.monaco.com/v1/sequence-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.monaco.com/v1/sequence-templates",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'steps' => [
[
'index' => 2,
'title' => 'Intro email',
'day' => 0,
'hour' => 9,
'subject' => '<string>',
'message' => '<string>',
'gift_id' => '<string>'
]
],
'description' => 'Multi-touch onboarding sequence for enterprise accounts',
'transitions' => [
[
'from_step_index' => 123,
'to_step_index' => 123,
'pre_check_time_unit' => 'business_days',
'pre_check_delay' => 2,
'post_check_time_unit' => 'business_days',
'post_check_delay' => 1,
'require_all' => true
]
],
'blocks' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.monaco.com/v1/sequence-templates"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"steps\": [\n {\n \"index\": 2,\n \"title\": \"Intro email\",\n \"day\": 0,\n \"hour\": 9,\n \"subject\": \"<string>\",\n \"message\": \"<string>\",\n \"gift_id\": \"<string>\"\n }\n ],\n \"description\": \"Multi-touch onboarding sequence for enterprise accounts\",\n \"transitions\": [\n {\n \"from_step_index\": 123,\n \"to_step_index\": 123,\n \"pre_check_time_unit\": \"business_days\",\n \"pre_check_delay\": 2,\n \"post_check_time_unit\": \"business_days\",\n \"post_check_delay\": 1,\n \"require_all\": true\n }\n ],\n \"blocks\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.monaco.com/v1/sequence-templates")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"steps\": [\n {\n \"index\": 2,\n \"title\": \"Intro email\",\n \"day\": 0,\n \"hour\": 9,\n \"subject\": \"<string>\",\n \"message\": \"<string>\",\n \"gift_id\": \"<string>\"\n }\n ],\n \"description\": \"Multi-touch onboarding sequence for enterprise accounts\",\n \"transitions\": [\n {\n \"from_step_index\": 123,\n \"to_step_index\": 123,\n \"pre_check_time_unit\": \"business_days\",\n \"pre_check_delay\": 2,\n \"post_check_time_unit\": \"business_days\",\n \"post_check_delay\": 1,\n \"require_all\": true\n }\n ],\n \"blocks\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.monaco.com/v1/sequence-templates")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"steps\": [\n {\n \"index\": 2,\n \"title\": \"Intro email\",\n \"day\": 0,\n \"hour\": 9,\n \"subject\": \"<string>\",\n \"message\": \"<string>\",\n \"gift_id\": \"<string>\"\n }\n ],\n \"description\": \"Multi-touch onboarding sequence for enterprise accounts\",\n \"transitions\": [\n {\n \"from_step_index\": 123,\n \"to_step_index\": 123,\n \"pre_check_time_unit\": \"business_days\",\n \"pre_check_delay\": 2,\n \"post_check_time_unit\": \"business_days\",\n \"post_check_delay\": 1,\n \"require_all\": true\n }\n ],\n \"blocks\": {}\n}"
response = http.request(request)
puts response.read_body{
"data": {
"id": "<string>",
"name": "<string>",
"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": "<string>",
"index": 1,
"title": "Intro email",
"day": 0,
"hour": 9,
"subject": "<string>",
"message": "<string>",
"gift_id": "<string>"
}
],
"transitions": [
{
"from_step_index": 123,
"to_step_index": 123,
"pre_check_time_unit": "business_days",
"pre_check_delay": 2,
"post_check_time_unit": "business_days",
"post_check_delay": 1,
"require_all": true
}
],
"blocks": {}
},
"meta": {
"timestamp": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}Body
application/json
Request body for creating a sequence template.
Name of the sequence template
Example:
"Enterprise Onboarding"
Ordered list of steps in the template
Show child attributes
Show child attributes
Description of the sequence template
Example:
"Multi-touch onboarding sequence for enterprise accounts"
Transitions between steps (ordering and branching rules). A transition that omits its lead-time delay defaults to 3 business days: on post_check_delay for accepted-branch transitions (LINKEDIN_REQUEST_ACCEPTED, GIFT_ACCEPTED), on pre_check_delay for all others. Pass an explicit 0 to evaluate immediately.
Show child attributes
Show child attributes
Content blocks referenced by this template, keyed by block id. A step's subject/message may contain [[block:]] markers.
Show child attributes
Show child attributes
⌘I