channels.twilio.numbers

Verify Twilio Us A2P Compliance

Changed on

Return whether Twilio shows this number on a US A2P messaging path with an approved brand.

post/api/v1/channels/twilio/{channel_id}/numbers/verify-a2p-compliance

Request

  • Base URL
    https://api.syllable.cloud
  • URL
    https://api.syllable.cloud/api/v1/channels/twilio/{channel_id}/numbers/verify-a2p-compliance
  • Auth
    API key in header Syllable-API-Key

Path parameters

channel_idinteger required

Request body

phonestring required

E.164 phone number exactly as Twilio stores it for this incoming number.

Example request

{
  "phone": "+18042221111"
}

Response

Successful Response

a2p_approvedboolean required

True when the number is on a Messaging Service with a US A2P registration whose brand is approved and campaign is verified on the same registration.

Changes