Skip to main content
WEBHOOK
Fires when a campaign transitions to active status after being approved by the carriers. Once phone numbers are successfully attached to this campaign, they will be able to send production messages.

Common use case

Use campaign.approved to automatically progress a customer’s onboarding, for example, to notify them that they can start sending, or to trigger attaching their purchased phone numbers to the now-approved campaign.

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.approved for this event.

Allowed value: "campaign.approved"

Response

200

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