Skip to main content
WEBHOOK
phoneNumberAttachedToCampaign
{
  "account_id": "acct_01japd271aeatb7txrzr2xj8sg",
  "data": {
    "campaign_id": "cpn_01jjnn7s0zfx5tdcsxjfy93et2",
    "id": "pn_01jsjwe4d9fx3tpymgtg958d9w",
    "number": "+18015551234",
    "type": "local"
  },
  "timestamp": "2024-10-21T23:29:41Z",
  "type": "phone_number.attached_to_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 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