Automations

Cancel or retry an automation run

Both actions return { run }. cancel stops a queued, running, or waiting run and returns it with status cancelled. retry starts a new run of the same automation from the original trigger event and returns that new run; only failed or cancelled runs can be retried, and a retry is not blocked by trigger.once_per_contact or trigger.cooldown_days.

post/automations/runs/{id}

Request

  • Base URL: https://api.supersendtx.com
  • URL: https://api.supersendtx.com/automations/runs/{id}
  • Auth: HTTP bearer

Path parameters

idstring required

Request body

action'cancel' | 'retry' required

Response

The cancelled run, or the new run started by retry

Example response

{
  "run": {
    "automation": {
      "trigger": {
        "event": "user.created"
      }
    }
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.