Submit a New Offnet Number

/submit

Full Url:

https://apiv1.teleapi.net/dids/offnet/submit

Arguments:

  • token (string, required)
  • numbers (stringified JSON array, required)
  • enable_sms (optional, 'yes' or 'no', defaults to 'yes')

Info: This will submit an offnet insert job. Please note that if you do not wish to have the SMS enabled on the number make sure to send it with enable_sms=no -- otherwise it will enable SMS, negating any previous SMS setup the numbers have already and possibly causing downtime.

Return:

{
    "success": [
        "5555555555",
        "5555555556"
    ],
    "fail": {
        "555555555": "Invalid USA/CAN number",
        "5555555554": "Number already loaded"
    },
    "jobid": 123
}

results matching ""

    No results matching ""