POST Webhook campaignWarning

The campaign.warning event is delivered when Surge publishes non-blocking field-level feedback while a campaign continues through review.

Payload

account_idstring required

The ID of the account in which this event occurred

timestampstring date-time required

The timestamp when this event occurred, in ISO8601 format

type'campaign.warning' required

The type of the event. Always campaign.warning for this event.

Example payload

{
  "account_id": "acct_01japd271aeatb7txrzr2xj8sg",
  "data": {
    "feedback": [
      {
        "field": "sample_messages",
        "message": "Sample messages need to identify the sender.",
        "outcome": "warning",
        "suggested_value": null
      }
    ],
    "id": "cpn_01jjnn7s0zfx5tdcsxjfy93et2",
    "status": "in_review"
  },
  "timestamp": "2024-10-21T23:29:41Z",
  "type": "campaign.warning"
}

Response

Return a 200 status to indicate that the data was received successfully

Changes

Webhooks have no change history: a webhook is keyed by its event name rather than a path and method, so no recorded change can name it.