Skip to main content
WEBHOOK
Fires when a phone number is successfully attached to a specific campaign. After this event, the number is ready to send production-volume messages under that campaign’s registered use cases.

Common use case

Use phone_number.attached_to_campaign to confirm that a number is ready for production sends, for example, to flip a status flag in your own database or to notify the end customer that their number is active.

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

Allowed value: "phone_number.attached_to_campaign"

Response

200

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