10DLC

Subscribe to 10DLC events

Changed on

Registers a callback URL to receive Wavix 10DLC event notifications.

post/v3/10dlc/subscriptions

Request

  • Base URL
    https://api.wavix.com
  • URL
    https://api.wavix.com/v3/10dlc/subscriptions
  • Auth
    HTTP bearer

Request body

subscription_categorystring required

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

urlstring required

Webhook URL that events in this category are delivered to.

Example request

{
  "subscription_category": "brand",
  "url": "https://webhook.url"
}

Response

Returns the created 10DLC event subscription.

subscription_categorystring required

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

urlstring required

Webhook URL that events in this category are delivered to.

Example response

{
  "subscription_category": "brand",
  "url": "https://webhook.url"
}

Changes

    • breaking

      the response's body type changed from no type to object for status

    • info

      removed subschema #2 from the response body allOf list for the response status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added to the response body allOf list for the response status

    • info

      removed from the response body allOf list for the response status