Campaigns

Get Campaign Sequence

Returns the campaign's sequence steps in execution order, starting at the start step and following next_node_id. Returns the draft by default; pass published=true for the live graph. Only the published graph is executed.

source says which copy you got; has_published_sequence says whether a published copy exists; has_unpublished_changes says whether a publish is pending.

get/api/v1/campaigns/{campaign_id}/sequence

Request

  • Base URL
    http://localhost:3009
  • Auth
    HTTP bearer

Path parameters

campaign_idstring required

Campaign ID

Query parameters

published'true' | 'false'

true returns the live (published) graph; default false returns the draft

Response

Default Response

statusinteger

Example response

{
  "data": {
    "nodes": [
      {
        "node_id": "send-m2k9x1p-0"
      }
    ]
  }
}

Changes

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