Get Campaign

Fetch one campaign.

MethodGET
/api/v2/campaigns/:campaignId

Returns one campaign. Permission: campaigns.

Path Parameters

NameTypeDescription
campaignIdstringRequired. Campaign id.

Response Fields

FieldTypeDescription
idstringCampaign id.
namestringCampaign name.
subjectstringSubject line.
previewstring or nullPreview text.
statusstringDRAFT, ARCHIVED, SCHEDULED, SENDING, SENT, or FAILED.
contentTypestringMAILY, PLATE, or MARKDOWN.
mailFormatstringRender format.
contentunknownTipTap document.
recipientCountintegerMatching recipients.
recipientFiltersarrayAudience filters.
emailsSentCountintegerEmails handed to SES.
emailsOpenedCountintegerUnique opens.
emailsClickedCountintegerUnique clicks.
scheduledAtstring or nullScheduled send time.
sendAtstring or nullActual send time.
timezonestring or nullSchedule timezone.
senderIdstringSender id.
senderobject or null{ id, name, email }.
replyTostring or nullReply-To address.

Errors

StatusnameWhen
401missing_api_keyMissing or invalid bearer token
403missing_permissionToken lacks the campaigns permission
404not_foundUnknown campaign id