Automations

Update an automation definition

patch/automations/{id}

Request

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

Path parameters

idstring required

Request body

namestring

Example request

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

Response

Updated automation, with warnings when there are any

warningsstring[]

Advice about a definition that saved but should not ship as-is — for example a product or newsletter send_email step whose html or text has no {{unsubscribe_url}} link. Returned by create, update, and retrieve; omitted when there are none (and never returned by activate or pause).

Example response

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

Changes

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