Campaign tracking

Get the message of a send activity

Rebuilds the content sent for a SENT, MESSAGE_SENT, INMAIL_SENT, INVITED or WHATSAPP_MESSAGE_SENT activity by replaying the step template against the contact. The sent content itself is not stored: the result can differ if the step or the contact changed since. Errors use a different format here: {"error": "NOT_FOUND"} (404) or {"error": "NO_MESSAGE"} (422).

get/advanced/campaigns/{campaignId}/activities/{activityId}/message

Request

  • Base URL: https://api.emelia.io
  • URL: https://api.emelia.io/advanced/campaigns/{campaignId}/activities/{activityId}/message
  • Auth: API key in header Authorization

Path parameters

campaignIdstring required

MongoDB ObjectId: 24 hexadecimal characters.

Example:6650f1a2b839d80011c5a0f1

Identifier of a multichannel campaign (24 hexadecimal characters), as returned by POST /advanced/campaigns or GET /advanced/campaigns.

activityIdstring required

MongoDB ObjectId: 24 hexadecimal characters.

Example:6650f1a2b839d80011c5a0f1

Activity id.

Response

Success.

channel'EMAIL' | 'LINKEDIN' | 'WHATSAPP'
subjectstring nullable
messagestring

Changes

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