{
"account_id": "acct_01japd271aeatb7txrzr2xj8sg",
"data": {
"account_id": "acct_01japd271aeatb7txrzr2xj8sg",
"id": "cpn_01jjnn7s0zfx5tdcsxjfy93et2",
"status": "active"
},
"timestamp": "2024-10-21T23:29:41Z",
"type": "campaign.approved"
}Events
campaign.approved
Fires when a campaign transitions to active after carrier approval.
WEBHOOK
campaignApproved
{
"account_id": "acct_01japd271aeatb7txrzr2xj8sg",
"data": {
"account_id": "acct_01japd271aeatb7txrzr2xj8sg",
"id": "cpn_01jjnn7s0zfx5tdcsxjfy93et2",
"status": "active"
},
"timestamp": "2024-10-21T23:29:41Z",
"type": "campaign.approved"
}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
Usecampaign.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
Body
application/json
Response
200
Return a 200 status to indicate that the data was received successfully