Skip to main content
POST
Subscribe to 10DLC events

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"