SnapBuilder/Phone Templates

Create Phone Template in domain

Changed on
post/domains/{domain}/phonetemplates

Request

  • Base URL
    https://ns-api.com/ns-api/v2
  • URL
    https://ns-api.com/ns-api/v2/domains/{domain}/phonetemplates
  • 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

phoneconfiguration-namestring

This is the main name for the phone configuration when used as a template

phoneconfiguration-descriptionstring required

This is a plain description of the configuration

phoneconfiguration-brandstring required

The brand for which this phone configuration will be build for.

phoneconfiguration-modelstring required

The model specific to brand for which this phone configuration will be build for.

Example request

{
  "phoneconfiguration-directory": {
    "exclusions": [
      {
        "id": "user@domain"
      }
    ]
  }
}

Response

codeinteger required
messagestring required

Changes