POST Webhook campaignRejected
The campaign.rejected event is delivered when Surge publishes blocking field-level feedback for a campaign registration, including any accompanying non-blocking warnings.
Payload
Example payload
{
"account_id": "acct_01japd271aeatb7txrzr2xj8sg",
"data": {
"feedback": [
{
"field": "sample_messages",
"message": "Sample messages need to identify the sender.",
"outcome": "changes_needed",
"suggested_value": null
}
],
"id": "cpn_01jjnn7s0zfx5tdcsxjfy93et2",
"status": "rejected"
},
"timestamp": "2024-10-21T23:29:41Z",
"type": "campaign.rejected"
}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.