Unsubscribes lead to a specified sequence. Note that...

  1. The sequence must be already created in your account (https://app.kartra.com/communication/sequences).
  2. The lead must have been previously subscribed to that sequence. Otherwise, the command will be ignored.



* Required fields Here is an example:

'lead' => [
    'email' => 'example@email.com'
'actions' => [
    '0' => [
        'cmd' => 'unsubscribe_lead_from_sequence',
        'sequence_name' => 'Sequence name'

Success message:

  "status": "Success",
  "message": "Lead removed from sequence",
  "type": "108"
Error Cases:
Type NumberMessageCause
226Sequence cannot be empty
  • 'sequence_name' parameter is mandatory and cannot be empty
220Sequence does not exist
  • The sequence is not in our database.
An example of an error message:
  "status": "Error",
  "message": "Sequence cannot be empty",
  "type": "226"