Skip to content

Update Sequence

PUT
/api/outreach/sequences/{seq_id}
curl --request PUT \
--url http://localhost:8000/api/outreach/sequences/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "consent_basis": "example", "daily_limit": 1, "description": "example", "name": "example", "send_window_end": 1, "send_window_start": 1, "send_window_tz": "example", "status": "example", "steps": [ { "body_html": "example", "delay_hours": 0, "step_number": 1, "subject": "example" } ] }'
seq_id
required
Seq Id
string
x-workspace-id
Any of:
string
Media typeapplication/json
UpdateSequenceRequest
object
consent_basis
Any of:
string
daily_limit
Any of:
integer
description
Any of:
string
name
Any of:
string
send_window_end
Any of:
integer
send_window_start
Any of:
integer
send_window_tz
Any of:
string
status
Any of:
string
steps
Any of:
Array<object>
StepInput
object
body_html
required
Body Html
string
delay_hours
Delay Hours
integer
0
step_number
required
Step Number
integer
subject
required
Subject
string

Successful Response

Media typeapplication/json
Examplegenerated
example

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}