Automations

Set an automation's trigger

While the automation is "draft", writes the live trigger directly. Once active/paused, stages it as draftTrigger instead - it only takes effect after POST .../merge-draft. Not validated at set-time (shape/business-rule validation happens at activate/merge-draft).

patch/v1/projectId/{projectId}/automations/{automationId}/trigger

Request

  • Base URL: https://api.bluefox.email
  • URL: https://api.bluefox.email/v1/projectId/{projectId}/automations/{automationId}/trigger
  • Auth: HTTP bearer

Path parameters

projectIdstring required

The project _id, found in the app under Project Settings.

automationIdstring required

Request body

object required

A full trigger object, discriminated by type - replaces whatever trigger (or draftTrigger) shape was there before.

Response

OK

statusinteger

Example response

{
  "status": 200
}

Changes

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