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

Event categories and callback URL for the subscription.

Represents a subscription that delivers 10DLC lifecycle events to a webhook URL.

subscription_category
string
required

Category of 10DLC events to subscribe to. One of brand (brand status changes), campaign (campaign status changes), or number (number provisioning changes).

Example:

"brand"

url
string
required

Webhook URL that events in this category are delivered to.

Example:

"https://webhook.url"

Response

Returns the created 10DLC event subscription.

Represents a subscription that delivers 10DLC lifecycle events to a webhook URL.

subscription_category
string
required

Category of 10DLC events to subscribe to. One of brand (brand status changes), campaign (campaign status changes), or number (number provisioning changes).

Example:

"brand"

url
string
required

Webhook URL that events in this category are delivered to.

Example:

"https://webhook.url"