Skip to content

Update Step Template

PATCH
/sequencer/templates/steps/{step_template_id}

Change a step template. An unknown id is a 404.

Authorizations

Parameters

Path Parameters

step_template_id
required

Step template id.

string

Step template id.

Header Parameters

X-Target-Org-Id
Any of:
string

Request Body required

Change a step template. Mirrors PatchStepTemplatePayload.

There is no input_type here because the app’s patch has none: a template’s input type is fixed at creation.

object
name
Any of:
string
step_data
Any of:
object
key
additional properties
any
step_type
Any of:
string
Allowed values: PHONE EMAIL MANUAL_DIALER HEYREACH NETRION SMS WHATSAPP

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