Skip to main content
Version: v3New

Get Workflow Campaign by ID

GET 

/emails/locations/:locationId/campaigns/workflows/:campaignId

Get a single workflow campaign by its ID

Request

Version stringrequired

API Version

Available optionsv3
locationId stringrequired

Location ID

campaignId stringrequired

Campaign ID

application/json

Success

Schema
    idstringrequired

    Campaign ID

    namestring

    Campaign name

    statusstring

    Campaign status

    Available optionspublisheddraft
    sourcestring

    Source of the campaign

    sourceIdstring

    Source ID of the campaign

    subSourcesobject[]

    Sub-sources (email-sending steps) within this workflow. Each entry's id can be passed as the subSourceId query parameter to the campaign stats endpoint to retrieve per-step stats.

    deletedboolean

    Whether the campaign is deleted

    createdAtstringrequired

    Created at timestamp

    updatedAtstringrequired

    Updated at timestamp

    traceIdstring

    Trace ID of the request