---
title: "POST phoneNumberAttachedToCampaign"
method: POST
path: "phoneNumberAttachedToCampaign"
---

# POST phoneNumberAttachedToCampaign

`POST phoneNumberAttachedToCampaign` (webhook)

The `phone_number.attached_to_campaign` event is delivered whenever a phone number is attached to a campaign.

## Payload

- PhoneNumberAttachedToCampaignEvent
  - `account_id` string, required — The ID of the account in which this event occurred
  - `data` object, required — The data associated with the event
    - `campaign_id` string, required — The unique identifier of the campaign this phone number is attached to
    - `id` string, required — The unique identifier for the phone number
    - `number` string, required — The phone number in E.164 format
    - `type` 'local' | 'short_code' | 'toll_free', required — Whether the phone number is local, toll-free, or short code
  - `timestamp` string, date-time, required — The timestamp when this event occurred, in ISO8601 format
  - `type` 'phone_number.attached_to_campaign', required — The type of the event. Always `phone_number.attached_to_campaign` for this event.

## Acknowledgement `200`

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

---

[API](https://skmtc.dev/surgeapi/apis/surge.md) · [All operations](https://skmtc.dev/surgeapi/apis/surge/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/surgeapi/surge/revisions/2c4e5c5794b5/schema)
