Skip to main content
POST
/
v3
/
10dlc
/
subscriptions
Subscribe to 10DLC events
curl --request POST \
  --url https://api.wavix.com/v3/10dlc/subscriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "subscription_category": "brand",
  "url": "https://webhook.url"
}
'
{
  "subscription_category": "brand",
  "url": "https://webhook.url"
}

Authorizations

Authorization
string
header
required

Wavix API key. Pass as Authorization: Bearer <api_key>. Keys support per-resource scopes (none / read / write). See Restricted keys and scopes.

Body

application/json

Subscription configuration.

10DLC event subscription configuration.

subscription_category
string
required

The Wavix 10DLC event type. Can be one of the following: brand, campaign, or number.

Example:

"brand"

url
string
required

A webhook URL to send events to

Example:

"https://webhook.url"

Response

10DLC event subscription created.

10DLC event subscription configuration.

subscription_category
string
required

The Wavix 10DLC event type. Can be one of the following: brand, campaign, or number.

Example:

"brand"

url
string
required

A webhook URL to send events to

Example:

"https://webhook.url"