Skip to main content
WEBHOOK
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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
account_id
string
required

The ID of the account in which this event occurred

data
object
required

The data associated with the event

timestamp
string<date-time>
required

The timestamp when this event occurred, in ISO8601 format

type
string
required

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

Allowed value: "campaign.warning"

Response

200

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