Get Email Campaign by ID
GET/emails/locations/:locationId/campaigns/emails/:campaignId
Get a single email 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
sourcestring
Source of the campaign
sourceIdstring
Source ID of the campaign
namestring
Campaign name
statusstring
Campaign status
Available options
allsentfailedarchiveddraftprocessingscheduledcancelledpausedcampaignTypestring
Campaign delivery type
campaignCategorystring
Campaign category
variationsobject[]
AB test variation identifiers (available only for AB test campaigns)
editorTypestring
Original editor type the campaign was created with
Available options
htmlbuildertextisPlainTextboolean
Whether the campaign uses plain text
editorContentUrlstring
URL to fetch the rendered campaign content as HTML. Issue a GET against this URL to retrieve the body.
fromNamestring
Sender name
fromEmailstring
Sender email address
subjectstring
Email subject line
replyToAddressstring
Reply-to email address
previewTextstring
Preview text
deletedbooleanrequired
Whether the campaign is deleted
createdAtstringrequired
Created at timestamp
updatedAtstringrequired
Last updated timestamp
traceIdstring
Trace ID of the request
{
"id": "67f15c2ae99226d5bcccb8f3",
"source": "email-campaign",
"sourceId": "bulkRequest_abc123",
"name": "February Newsletter",
"status": "sent",
"campaignType": "bulk-email",
"campaignCategory": "normal",
"variations": [
{
"sourceId": "9MhVcU7dTdLI7XOU1Vdt",
"isWinner": true
}
],
"editorType": "html",
"isPlainText": false,
"editorContentUrl": "https://storage.googleapis.com/email-templates/abc123.html",
"fromName": "John Doe",
"subject": "Welcome to our newsletter",
"previewText": "Check out our latest updates",
"deleted": false,
"createdAt": "2025-07-24T11:55:43.598Z",
"updatedAt": "2026-02-09T04:49:12.322Z",
"traceId": "019e4ef5-a65e-4198-8cf9-8e93dca9bda4"
}