Provision 10DLC Number

After registering your brands, campaigns and numbers with TCR to complete the process you need to register your campaign-numbers with TSG and TSG upstream providers.

Prior to submitting your campaigns and numbers to this API please make sure that you have shared your campaigns with TSG in the TCR.

Overview

This method allows you to submit your 10dlc campaigns and numbers for TSG to provision those with the upstream vendors (including carriers).

Authentication

Authentication is done by passing your TSG Global API key via the Authorization header in the format "Authorization: Bearer <api_key>"

Method

Adds numbers to campaign

POST ten-dlc-provisioning-api.tsgglobal.world/add-numbers-to-campaign

Payload should be the list of elements described in this article.

Request Body

{
    "request_id": {guid}
}

Example POST

[
    {
    "campaign_id" : "CFEDCBZ",
    "numbers" : [
        "1234567890"
        ]
    },
    {
    "campaign_id" : "CABCDEF",
    "numbers" : [
        "12223334444"
        ]
    }
]

Deprecated method

POST ten-dlc-provisioning-api.tsgglobal.world/long-codes

The body should be a map with one or many campaign_ids as key and a list of numbers as strings in 11digit format as the value of each campaign_id.

{ "cmp1" : ["12003004000"], "cmp2": ["13002005000", "12005003000"] }

Request Body

{
    "request_id": {guid}
}

Last updated