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 options
v3locationId stringrequired
Location ID
campaignId stringrequired
Campaign ID
Success
- application/json
- Schema
- Example (auto)
Schema
idstringrequired
Campaign ID
namestring
Campaign name
statusstring
Campaign status
Available options
publisheddraftsourcestring
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
{
"id": "693bd14ea6b50a8df0180e9a",
"name": "sorting workflow",
"status": "published",
"source": "workflow",
"sourceId": "115b9030-907c-474c-90a5-2debd838a024",
"subSources": [
{
"id": "a3f1c0e2-6d4b-4f3a-9c1e-7b2d8f5a4c01",
"name": "Send welcome email",
"subject": "Welcome to our newsletter",
"fromName": "John Doe",
"previewText": "Check out our latest updates",
"editorType": "html",
"isPlainText": false,
"editorContentUrl": "https://storage.googleapis.com/email-templates/abc123.html",
"createdAt": "2025-12-12T08:24:46.700Z",
"updatedAt": "2026-01-23T05:58:48.453Z"
},
{
"id": "b7d9e4f1-2a0c-4f8e-bf2a-5e1d3c9b6a02",
"name": "Follow-up after 3 days",
"subject": "Quick follow-up",
"fromName": "John Doe",
"editorType": "builder",
"isPlainText": false,
"createdAt": "2025-12-13T10:15:22.300Z",
"updatedAt": "2026-01-20T09:42:11.100Z"
}
],
"deleted": false,
"createdAt": "2025-12-12T08:24:46.700Z",
"updatedAt": "2026-01-23T05:58:48.453Z",
"traceId": "019e4ef5-a65e-4198-8cf9-8e93dca9bda4"
}