SMS Numbers

Create SMS Number

Changed on
post/domains/{domain}/smsnumbers

Request

  • Base URL
    https://ns-api.com/ns-api/v2
  • URL
    https://ns-api.com/ns-api/v2/domains/{domain}/smsnumbers
  • Auth
    HTTP bearer

Path parameters

domainstring required

This is the main organization name. This is used to link resource to its group/tenant/organization/enterprise. Then using in path for GET you can set to "~" to use the domain name linked to your token/key instead of the domain name itself when reading for your own domain.

Example:example.com

Request body

numberstring required
applicationstring required

This is the application of the number. Can be for a user, callqueue, or available

deststring

This is the destination for the SMS number if assigned. Can be a user or a call queue

carrierstring

Accepts carrier definition at number creation. Be mindful of formatting here.

Response

codeinteger required
messagestring required

Changes

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status