Skip to main content

Sequence Goals

Sequence goals are the persisted conversion signals shown in the dashboard. They are separate from the goal prompt used to generate sequence copy.

Endpoints

  • GET /api/v1/sequences/{sequenceId}/goals lists goals.
  • POST /api/v1/sequences/{sequenceId}/goals creates a goal.
  • PATCH /api/v1/sequences/{sequenceId}/goals/{goalId} updates a goal.
  • DELETE /api/v1/sequences/{sequenceId}/goals/{goalId} deletes a goal.
Event goals use triggerType: "event" and require triggerEventName. Subscriber-attribute goals use triggerType: "attribute_change", an attributePath, and attributeCondition set to changed, changed_to, or changed_from_to. The latter conditions also require the corresponding target and previous values.
For event goals, eventPropertyName and eventPropertyLabel can track a numeric property such as revenue. attributionWindowHours accepts whole hours from 1 to 720. Both create and update accept isActive, so you can create a goal disabled or pause tracking later without deleting the goal. The CLI exposes the same operations under sequenzy sequences goals, and MCP clients can use list_sequence_goals, create_sequence_goal, update_sequence_goal, and delete_sequence_goal.