Sequences
Mark a sequence instance as completed manually
Marks a sequence instance as manually completed (status COMPLETED, exit reason MANUAL). This is a successful closure, same bucket as a reply or a booked meeting — it is not the same as remove, which leaves the instance in status REMOVED. note is the canonical free-text field for why the recipient was marked as completed; reason is a deprecated alias for note kept for backward compatibility and is never used as the system exit reason (always MANUAL for this route).
post/public/v1/sequences/{sequenceId}/recipients/{instanceId}/exit
Path parameters
sequenceIdnumber nullable
Example:101
instanceIdnumber nullable
Example:9001
Request body
Example request
{
"reason": "example",
"note": "example"
}Response
Instance marked as completed
Example response
{
"id": 1,
"accountId": 1,
"sequenceId": 1,
"personRowId": "example",
"snapshotId": "example",
"sourceSnapshotId": "example",
"snapshotPinnedAt": "example",
"currentNodeId": "example",
"status": "ACTIVE",
"blockedOn": "NONE",
"nextExecutionAt": "example",
"enrolledByUserId": 1,
"senderConnectedAccountId": 1,
"startedAt": "example",
"lastAdvancedAt": "example",
"exitedAt": "example",
"completedAt": "example",
"pausedAt": "example",
"removedAt": "example",
"exitReason": "example",
"exitNote": "example",
"exitedByUserId": 1,
"failureReason": "example",
"failureCode": "example",
"createdAt": "example",
"updatedAt": "example",
"enrolledByUser": {
"id": 1,
"firstName": "example",
"lastName": "example",
"email": "user@example.com",
"avatar": "example"
},
"exitedByUser": {
"id": 1,
"firstName": "example",
"lastName": "example",
"email": "user@example.com",
"avatar": "example"
}
}Changes
Changed in 1 of the 2 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○