v4

latestOpenAPI 3.1.02026-07-3163216290.7 KB
Webhooks

Campaign email sent

Sent when a campaign email is sent to a contact. This event fires for every campaign send (for example, sending to 1,000 contacts produces 1,000 events). Contains campaignId and campaignName plus contactIdentity and email objects. If the campaign was sent to one or more mailing lists, a mailingLists array is also included.

postWebhookcampaignEmailSent

Headers

webhook-idstring required

Unique message ID. Use to deduplicate deliveries.

webhook-timestampstring required

Unix timestamp of when the message was sent.

webhook-signaturestring required

HMAC signature for verifying the request. Verify using your endpoint signing secret from the Loops dashboard.

Payload

eventName'campaign.email.sent' required
eventTimeinteger required

Unix timestamp in seconds.

webhookSchemaVersion'1.0.0' required
campaignIdstring required
campaignNamestring required

Response

Webhook received successfully. Return any 2xx status code to acknowledge delivery.