Skip to content

Update Sequence Template

PATCH
/sequencer/templates/sequences/{sequence_template_id}

Change a sequence template. Only what you send is written; an unknown id is a 404.

Authorizations

Parameters

Path Parameters

sequence_template_id
required

Sequence template id.

string

Sequence template id.

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Change a sequence template. Mirrors PatchSequenceTemplatePayload.

steps, when sent, REPLACES the template’s steps rather than merging.

object
appointment_id
Any of:
integer
description
Any of:
string
name
Any of:
string
schedule_id
Any of:
string
steps
Any of:
Array<object>

One step of a sequence template. Mirrors SequenceTemplateStep.

object
input_type
required
string
Allowed values: ON_DEMAND AI_GENERATED_TEMPLATE MANUAL_TEMPLATE
name
required
string
step_data
required

The step’s content: subject / body for email, message_body for SMS and WhatsApp, the linkedin_* fields for LinkedIn, instructions for AI generation. The same shape as step_data on GET /sequences/{sequence_id}/steps.

object
key
additional properties
any
step_order
required
integer
step_type
required
string
Allowed values: PHONE EMAIL MANUAL_DIALER HEYREACH NETRION SMS WHATSAPP
time_interval
Any of:
integer
textual_agent_name
Any of:
string
voice_agent_name
Any of:
string

Responses

200

Successful Response

object
data
required

An open envelope around one sequencer record.

Open because templates, schedules and channels carry nested step data and configuration that grows as channels are added.

object
key
additional properties
any
pagination
Any of:
object
has_next
required

Whether there are more pages

boolean
limit
required

Items per page

integer
next_cursor
Any of:
string
notes
Any of:
Array<string>
page
required

Current page number (1-indexed)

integer
total
required

Total number of items

integer
total_available
Any of:
integer
total_is_lower_bound
Any of:
boolean

422

Validation Error

object
detail
Array<object>
object
loc
required
Array
msg
required
string
type
required
string