Update sequence
Campaigns
Update sequence
Replace the entire sequence with a new set of steps. Creates a new version; previous versions are preserved for historical reference. The server assigns step IDs and ranks from array order. Message steps can use variables — see Create column to set up custom variables.
PUT
Update sequence
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
The ID of the campaign.
Pattern:
^[0-9a-z]+$Example:
"usdjpdql3f90seqk13rwuo7z"
Body
application/json
Ordered list of steps for the new sequence. Step IDs and ranks are assigned by the server based on array position.
- Message step
- Delay step
- Like tweet step
Example:
[
{
"type": "message",
"data": {
"segments": [
{
"type": "variation",
"options": ["Hey", "Hi", "What's up"]
},
{ "type": "static", "text": " " },
{
"type": "variable",
"name": "first-name",
"fallback": "there"
},
{
"type": "static",
"text": ", saw your work at "
},
{
"type": "variable",
"name": "custom_q5cktl47a6pqa74eu06fz89v",
"fallback": "your company"
},
{
"type": "static",
"text": " — would love to connect. Open to a quick chat?"
}
]
}
},
{
"type": "delay",
"data": { "delaySeconds": 86400, "unit": "days" }
},
{
"type": "message",
"data": {
"segments": [
{
"type": "static",
"text": "Hey, just following up — would love to hear your thoughts!"
}
]
}
}
]