Skip to main content
PATCH
Update a sequence — name, brief, criteria, reply instructions, settings

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

sequenceId
string<uuid>
required

The unique identifier of the sequence

Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$

Body

application/json
name
string
Required string length: 1 - 200
brief
string
Maximum string length: 10000
reply_instructions
string
criteria
object
settings
object

Response

Default Response

id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
org_id
string<uuid>
required
Pattern: ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
name
string
required
status
enum<string>
required
Available options:
draft,
scheduled,
active,
paused
paused_reason
enum<string> | null
required

Set when the sequence paused itself: "trunk_missing" (a Human voice step's SIP trunk was deleted), "caller_id_missing" (its caller ID is no longer one of the workspace's verified numbers, its OpenCX number was removed from the workspace, or its caller ID on your own trunk became an OpenCX number), "team_missing" (its team was deleted), "telephony_off" (telephony was turned off for the workspace), "calls_failing" (most of its latest team calls failed) or "scheduled_launch_failed" (its scheduled launch was refused when it came due; paused_detail says why). null when a person paused it or it is not paused. Resuming clears it.

Available options:
trunk_missing,
caller_id_missing,
team_missing,
telephony_off,
calls_failing,
scheduled_launch_failed
paused_detail
string | null
required

Why a scheduled launch was refused, when paused_reason is "scheduled_launch_failed". null otherwise.

launch_at
string<date-time> | null
required

When a scheduled sequence launches. Set while status is "scheduled", and kept on a launched sequence until everyone it can start has been started. null otherwise.

steps
object[]
required
settings
object
required
brief
string
required
reply_instructions
string
required
criteria
object
required
columns
object[]
required
Maximum array length: 12
created_at
string<date-time>
required
updated_at
string<date-time>
required
deleted_at
string<date-time> | null
required