Skip to content

campaign.sent

POST

A campaign started sending

webhook-id
required
string

The event’s id: the same on every attempt and every endpoint

webhook-timestamp
required
string

When this attempt was signed, in Unix seconds. Reject old ones to stop replays.

webhook-signature
required
string

v1, and the base64 HMAC-SHA256 of <webhook-id>.<webhook-timestamp>.<body>, keyed with the endpoint’s secret (whsec_…). For 24 hours after the secret is rotated, both secrets sign, separated by a space. Any Standard Webhooks library verifies it.

Sendwing-Version
required
string

The API version the body is in: the endpoint’s

Media typeapplication/json

A campaign started sending

object
id
required

Like evt_…. The same on every delivery attempt: use it to skip duplicates

string
type
required
string
Allowed value: campaign.sent
createdAt
required

When it happened

string format: date-time
/^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$/
data
required
object
campaign
required
object
id
required
string
name
required
string

Received. Any other status (redirects too), or no answer within 10 seconds, is tried again 9 times, waiting 1 minute, 5 minutes, 30 minutes, 2 hours, 5 hours, 10 hours, 12 hours, 12 hours, 12 hours (give or take 20%). A 429 or 503 can ask for a longer wait with Retry-After.