{
"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"
}Events
campaign.rejected
Surge sends this event when a campaign registration needs changes.
WEBHOOK
campaignRejected
{
"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"
}Surge sends
campaign.rejected when a campaign registration needs changes. The data.status field is rejected.
The data.feedback array identifies the affected fields and explains the required changes. An entry with the changes_needed outcome requires a correction. The array can also contain entries with the warning outcome.
Use data.feedback to show the required corrections in your application. For help with corrections, see Fixing rejected registrations.Authorizations
Body
application/json
Response
200
Return a 200 status to indicate that the data was received successfully