platform
numbers
number-registration
campaigns

Receive Campaign Status Update

Any time campaign status is changed, an event is sent. You need to subscribe to this event over 'REGISTRATION' channel, and specify the 'CAMPAIGN_STATUS_UPDATE' event.

postWebhookcampaign-status-change-notification

Payload

Example payload

{
  "results": [
    {
      "event": "CAMPAIGN_STATUS_UPDATE",
      "content": {
        "campaignId": "38a1c2c6-55f2-11ee-a061-325096b39f47",
        "tcrId": "C0O3XVU",
        "campaignStatus": "REJECTED",
        "rejectionReasons": "Unable to verify, need website.",
        "rejectionDetails": [
          {
            "errorCode": "1001",
            "description": "Campaign appears to be for an age gated content type but age gate attribute is not selected."
          }
        ]
      },
      "platform": {
        "applicationId": "application-id",
        "entityId": "entity-id"
      }
    }
  ]
}

Response

Your server returns this code if it accepts the callback.

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.