Create a new subsequence
POST
https://api.plusvibe.ai/api/v1/campaign/add/subsequence
Campaign
Provide an array of lead labels in the `val` field.
**Important:** Each label **must** begin with `LEAD_MARKED_AS_`.
**Exact Example:**
"workspace_id": "65099a0dd96fae8ab61130c0",
"name": "API Sub Camp Name",
"parent_camp_id": "67ee00f7612525c35a6e8abf",
"events": [{
"name": "LEAD_LABEL_UPDATED",
"val": ["LEAD_MARKED_AS_INTERESTED", "LEAD_MARKED_AS_MEETING_BOOKED"]
}]
}
2.
The `include_text` field is required and should specify the text that must appear in the lead's reply; you can also optionally provide `exclude_text` for text that must not be present.
**Exact Example:**
"name": "test",
"parent_camp_id": "67edfddba4c4e2b75518d1b7",
"events": [{
"name": "LEAD_REPLY_CONTENT",
"include_text": "call me, CALL ME",
"exclude_text": "not interested, don't call me"
}]
}
3.
No additional fields are required beyond specifying the event name.
**Exact Example:**
"name": "Test Subsequence with LEAD_REPLY_ALL",
"parent_camp_id": "67ee00f7612525c35a6e8abf",
"events": [{
"name": "LEAD_REPLY_ALL"
}]
}
4.
No additional fields are required beyond specifying the event name.
**Exact Example:**
"name": "Test Subsequence with LEAD_REPLY_ALL_EXCEPT_OOO_AUTOMATIC_REPLY",
"parent_camp_id": "67ee00f7612525c35a6e8abf",
"events": [{
"name": "LEAD_REPLY_ALL_EXCEPT_OOO_AUTOMATIC_REPLY"
}]
}
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.plusvibe.ai/api/v1/campaign/add/subsequence' \
--header 'x-api-key;' \
--header 'Content-Type: application/json' \
--data-raw '{
"workspace_id": "65099a0dd96fae8ab61130c0",
"name": "New Subsequence Name",
"parent_camp_id": "67ee00f7612525c35a6e8abf",
"events": [
{
"name": "LEAD_LABEL_UPDATED",
"val": [
"LEAD_MARKED_AS_INTERESTED"
]
}
]
}'
Response Response Example
200 - Example 1
{
"status": "success",
"id": "67ee01f9a4c4e2b75518d1b8"
}
Request
Header Params
x-api-key
string
optional
Default:
Example:
your-api-key
Body Params application/json
Responses
Modified at 2025-05-24 06:50:42