Skip to main content
Cancel sequences
POST /sequences/cancel accepts an optional agentId. When it is set, only the matching in-progress sequences on that agent are cancelled; the contact’s sequences on your other agents keep running. Without it, the endpoint cancels matching sequences on every agent in your organization, as before.
Schedule sequence
POST /agents/{agentId}/schedule/sequence rejects a duplicate in-progress sequence. When the phone number already has an in-progress sequence on the same agent, the request now gets a 409 with error: "DUPLICATE_ACTIVE_SEQUENCE" and the running sequence’s existingSequenceId, and no new sequence is created. Numbers are compared in E.164, so (202) 555-0142 and +12025550142 are the same contact. Two requests for one number sent at the same moment create one sequence.To schedule another sequence for a number on purpose (for example, a separate lead that shares a phone), send "allowDuplicates": true in the request body. This matches the field of the same name on the bulk endpoint, POST /agents/{agentId}/schedule/sequences. Opt-outs and California calling restrictions still apply.