Set follow-up sequences
Replaces the campaign's follow-up sequences: up to 5, each with a name, 1 to 10 keywords and 1 to 8 emails. A reply that contains a keyword moves that person into the first matching sequence. Keywords also count in capitals, as a plural, with a small typo or inside a short sentence. A keyword after "not" ("not interested") and a reply that asks to stop never start one. Email 1 defaults to the subject "Re: {{thread_subject}}". POST does the same.
| Cost | What it does | Key scopes |
|---|---|---|
| Free | Writes | argorant:manage_lists |
Authorization
BearerAuth Your API key from app.argorant.com/profile, sent as Authorization: Bearer <key>. A connector sign-in token (ag_mcp_...) works the same way.
In: header
Path Parameters
The campaign id from create or list.
uuidHeader Parameters
Any unique text up to 128 characters. A retry with the same key and the same body within 24 hours returns the first answer (with the header Idempotent-Replayed: true) instead of doing the work twice. The same key with another body answers 409 idempotency_conflict.
length <= 128Your own id for this request, 8 to 64 letters, digits, dot, dash or underscore. Returned as X-Request-Id; one is made for you when you send none.
^[A-Za-z0-9._-]{8,64}$Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X PUT "https://app.argorant.com/api/v1/campaigns/7f3a2c1e-9b4d-4e8a-a1c2-5d6e7f8a9b0c/subsequences" \ -H "Idempotency-Key: 6f1c2e7a-run-42" \ -H "Content-Type: application/json" \ -d '{ "subsequences": [ { "name": "Asked about pricing", "keywords": [ "pricing", "cost" ], "emails": [ { "body": "Here is how pricing works...", "delay_days": 0 } ] } ] }'{ "subsequences": [ { "id": "5e4d3c2b-1a09-4f8e-9d7c-6b5a4f3e2d1c", "name": "Asked about pricing", "keywords": [ "pricing", "cost" ] } ]}