curl --request POST \
--url https://api.open.cx/sequences \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"steps": [
{
"action": {
"type": "send_emails",
"data": {
"from_email": "[email protected]",
"email_body": "Hello!",
"email_sender_name": "OpenCX Team",
"email_subject": "Welcome to OpenCX!",
"email_is_transactional": false
}
},
"delay_in_minutes": 2
}
],
"filter": {
"or": [
{
"and": [
{
"type": "contacts_created_at_between",
"before": "2025-11-25T21:06:15.490Z",
"after": "2025-11-25T21:06:15.490Z"
}
]
}
]
}
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}curl --request POST \
--url https://api.open.cx/sequences \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"steps": [
{
"action": {
"type": "send_emails",
"data": {
"from_email": "[email protected]",
"email_body": "Hello!",
"email_sender_name": "OpenCX Team",
"email_subject": "Welcome to OpenCX!",
"email_is_transactional": false
}
},
"delay_in_minutes": 2
}
],
"filter": {
"or": [
{
"and": [
{
"type": "contacts_created_at_between",
"before": "2025-11-25T21:06:15.490Z",
"after": "2025-11-25T21:06:15.490Z"
}
]
}
]
}
}
'{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
A combination of contact filters. All filters within and arrays must apply to a contact in order for the contact to be included. On the other hand, only one of the filters within the or array must apply for the contact to be included. If no filter is provided, all contacts will be included.
Show child attributes
1Show child attributes
Show child attributes
send_emails x >= 0Was this page helpful?