{
"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"
}Events
campaign.warning
Surge sends this event when a campaign receives warnings while registration review continues.
WEBHOOK
campaignWarning
{
"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"
}Surge sends
campaign.warning when it publishes feedback that does not block a campaign registration. The data.status field is in_review.
The data.feedback array identifies the affected fields and explains each warning. These warnings do not stop the registration review.
Use data.feedback to show the warnings in your application. To track the result, listen for campaign.approved or campaign.rejected.Authorizations
Body
application/json
Response
200
Return a 200 status to indicate that the data was received successfully