Sequences

Save a campaign's sequence

Saves the steps as the campaign’s next sequence version and returns it, with warnings for template problems that did not stop the save. Leads already in the sequence carry on from the step with the same id, so keep the ids of steps you keep. Invite notes and the first message template on each path may not contain a link or {@booking_link}.

PUT
/campaigns/{id}/sequence

Authorizations

Authorizationstringheaderrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

idstringrequired

Campaign id.

Body

application/json
stepsobject[]required

The steps, in the order they run.

Response

application/json

Success

campaign_idstringrequired
versionintegerrequired

Version number; each save adds one.

stepsobject[]required

The steps, in the order they run.

statsobjectrequired

Per step id: leads that reached the step (reached) and those who accepted, replied or booked a meeting at it (converted).

warningsobject[]required

Template problems that did not stop the save, such as a custom field no upload to the campaign has; empty when there are none.

created_atstringrequired

When the version was saved (ISO 8601).