curl --request POST \
--url https://app.leonar.app/api/v1/sequences/{id}/enroll \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contact_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'{
"data": {
"enrolled": 8,
"skipped_blacklisted": 1,
"skipped_already_enrolled": 2,
"skipped_active_elsewhere": 0,
"skipped_not_found": 0
}
}Enrolls contacts in a sequence. Skips contacts that are blacklisted, already enrolled, or active in another sequence.
curl --request POST \
--url https://app.leonar.app/api/v1/sequences/{id}/enroll \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"contact_ids": [
"3c90c3cc-0d44-4b50-8888-8dd25736052a"
]
}
'{
"data": {
"enrolled": 8,
"skipped_blacklisted": 1,
"skipped_already_enrolled": 2,
"skipped_active_elsewhere": 0,
"skipped_not_found": 0
}
}API key starting with leo_
Sequence ID
Simple format - list of contact IDs
500Enrollment results
Show child attributes