Skip to content

Create Sequence

POST
/api/outreach/sequences
curl --request POST \
--url http://localhost:8000/api/outreach/sequences \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "consent_basis": "", "daily_limit": 50, "description": "", "name": "example", "send_window_end": 18, "send_window_start": 9, "send_window_tz": "UTC", "steps": [] }'
x-workspace-id
Any of:
string
Media typeapplication/json
CreateSequenceRequest
object
consent_basis
Consent Basis
string
""
daily_limit
Daily Limit
integer
default: 50
description
Description
string
""
name
required
Name
string
send_window_end
Send Window End
integer
default: 18
send_window_start
Send Window Start
integer
default: 9
send_window_tz
Send Window Tz
string
default: UTC
steps
Steps
Array<object>
default:
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"
}
]
}