Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
532mydomainThe customised SIP domain that will used in Programmable SIP: mydomain.sip-eu.nexmo.com.
c49f3586-9b3b-458b-89fc-3c8beb58865cVonage Application ID to associate with the domain.
optionalRequire TLS use in SIP connection. Optional allows customer to choose. Always will require it to always be used. Never will require it to never be used.
alwaysneveroptionalfalseAllow definition of up to 200 users that can use Digest Authentication to access domain.
optionalRequire SRTP use in SIP connection. Optional allows customer to choose. Always will require it to always be used. Never will require it to never be used.
alwaysneveroptionalAccess Control List of IPs that can make calls to domain. Can use CIDR notation to facilitate inclusion of IP ranges.
appappType of domain. 'app' for PSIP application, 'trunk' for SIP trunking
apptrunkExample Request
{
"name": "mydomain",
"application_id": "c49f3586-9b3b-458b-89fc-3c8beb58865c",
"tls": "always",
"digest_auth": false,
"srtp": "always",
"acl": [
"50.127.127.0/29",
"50.128.128.0/29"
],
"domain_type": "app"
}{
"name": "mydomain",
"application_id": "c49f3586-9b3b-458b-89fc-3c8beb58865c",
"tls": "always",
"digest_auth": false,
"srtp": "always",
"acl": [
"50.127.127.0/29",
"50.128.128.0/29"
],
"domain_type": "app"
}532mydomainThe customised SIP domain that will used in Programmable SIP: mydomain.sip-eu.nexmo.com.
c49f3586-9b3b-458b-89fc-3c8beb58865cVonage Application ID to associate with the domain.
optionalRequire TLS use in SIP connection. Optional allows customer to choose. Always will require it to always be used. Never will require it to never be used.
alwaysneveroptionalfalseAllow definition of up to 200 users that can use Digest Authentication to access domain.
optionalRequire SRTP use in SIP connection. Optional allows customer to choose. Always will require it to always be used. Never will require it to never be used.
alwaysneveroptionalAccess Control List of IPs that can make calls to domain. Can use CIDR notation to facilitate inclusion of IP ranges.
appappType of domain. 'app' for PSIP application, 'trunk' for SIP trunking
apptrunkExample Response
{
"name": "mydomain",
"application_id": "c49f3586-9b3b-458b-89fc-3c8beb58865c",
"tls": "always",
"digest_auth": false,
"srtp": "always",
"acl": [
"50.127.127.0/29",
"50.128.128.0/29"
],
"domain_type": "app"
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
532mydomainThe customised SIP domain that will used in Programmable SIP: mydomain.sip-eu.nexmo.com.
c49f3586-9b3b-458b-89fc-3c8beb58865cVonage Application ID to associate with the domain.
optionalRequire TLS use in SIP connection. Optional allows customer to choose. Always will require it to always be used. Never will require it to never be used.
alwaysneveroptionalfalseAllow definition of up to 200 users that can use Digest Authentication to access domain.
optionalRequire SRTP use in SIP connection. Optional allows customer to choose. Always will require it to always be used. Never will require it to never be used.
alwaysneveroptionalAccess Control List of IPs that can make calls to domain. Can use CIDR notation to facilitate inclusion of IP ranges.
appappType of domain. 'app' for PSIP application, 'trunk' for SIP trunking
apptrunkExample Response
[
{
"name": "mydomain",
"application_id": "c49f3586-9b3b-458b-89fc-3c8beb58865c",
"tls": "always",
"digest_auth": false,
"srtp": "always",
"acl": [
"50.127.127.0/29",
"50.128.128.0/29"
],
"domain_type": "app"
}
]Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
532mydomainThe customised SIP domain that will used in Programmable SIP: mydomain.sip-eu.nexmo.com.
c49f3586-9b3b-458b-89fc-3c8beb58865cVonage Application ID to associate with the domain.
optionalRequire TLS use in SIP connection. Optional allows customer to choose. Always will require it to always be used. Never will require it to never be used.
alwaysneveroptionalfalseAllow definition of up to 200 users that can use Digest Authentication to access domain.
optionalRequire SRTP use in SIP connection. Optional allows customer to choose. Always will require it to always be used. Never will require it to never be used.
alwaysneveroptionalAccess Control List of IPs that can make calls to domain. Can use CIDR notation to facilitate inclusion of IP ranges.
appappType of domain. 'app' for PSIP application, 'trunk' for SIP trunking
apptrunkExample Response
{
"name": "mydomain",
"application_id": "c49f3586-9b3b-458b-89fc-3c8beb58865c",
"tls": "always",
"digest_auth": false,
"srtp": "always",
"acl": [
"50.127.127.0/29",
"50.128.128.0/29"
],
"domain_type": "app"
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
532mydomainThe customised SIP domain that will used in Programmable SIP: mydomain.sip-eu.nexmo.com.
c49f3586-9b3b-458b-89fc-3c8beb58865cVonage Application ID to associate with the domain.
optionalRequire TLS use in SIP connection. Optional allows customer to choose. Always will require it to always be used. Never will require it to never be used.
alwaysneveroptionalfalseAllow definition of up to 200 users that can use Digest Authentication to access domain.
optionalRequire SRTP use in SIP connection. Optional allows customer to choose. Always will require it to always be used. Never will require it to never be used.
alwaysneveroptionalAccess Control List of IPs that can make calls to domain. Can use CIDR notation to facilitate inclusion of IP ranges.
appappType of domain. 'app' for PSIP application, 'trunk' for SIP trunking
apptrunkExample Request
{
"name": "mydomain",
"application_id": "c49f3586-9b3b-458b-89fc-3c8beb58865c",
"tls": "always",
"digest_auth": false,
"srtp": "always",
"acl": [
"50.127.127.0/29",
"50.128.128.0/29"
],
"domain_type": "app"
}{
"name": "mydomain",
"application_id": "c49f3586-9b3b-458b-89fc-3c8beb58865c",
"tls": "always",
"digest_auth": false,
"srtp": "always",
"acl": [
"50.127.127.0/29",
"50.128.128.0/29"
],
"domain_type": "app"
}532mydomainThe customised SIP domain that will used in Programmable SIP: mydomain.sip-eu.nexmo.com.
c49f3586-9b3b-458b-89fc-3c8beb58865cVonage Application ID to associate with the domain.
optionalRequire TLS use in SIP connection. Optional allows customer to choose. Always will require it to always be used. Never will require it to never be used.
alwaysneveroptionalfalseAllow definition of up to 200 users that can use Digest Authentication to access domain.
optionalRequire SRTP use in SIP connection. Optional allows customer to choose. Always will require it to always be used. Never will require it to never be used.
alwaysneveroptionalAccess Control List of IPs that can make calls to domain. Can use CIDR notation to facilitate inclusion of IP ranges.
appappType of domain. 'app' for PSIP application, 'trunk' for SIP trunking
apptrunkExample Response
{
"name": "mydomain",
"application_id": "c49f3586-9b3b-458b-89fc-3c8beb58865c",
"tls": "always",
"digest_auth": false,
"srtp": "always",
"acl": [
"50.127.127.0/29",
"50.128.128.0/29"
],
"domain_type": "app"
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
user-1The user's key and unique identifier. Permitted list of characters is alphanumeric (a-z, 0-9) and dash (-).
mysupersecretsecretThe user's secret to do authentication.
Example Request
{
"key": "user-1",
"secret": "mysupersecretsecret"
}{
"key": "user-1",
"secret": "mysupersecretsecret"
}user-1The user's key and unique identifier. Permitted list of characters is alphanumeric (a-z, 0-9) and dash (-).
532mydomainThe customised SIP domain that will used in Programmable SIP: mydomain.sip-eu.nexmo.com.
Example Response
{
"key": "user-1",
"domain": "mydomain"
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
user-1The user's key and unique identifier. Permitted list of characters is alphanumeric (a-z, 0-9) and dash (-).
532mydomainThe customised SIP domain that will used in Programmable SIP: mydomain.sip-eu.nexmo.com.
Example Response
[
{
"key": "user-1",
"domain": "mydomain"
},
{
"key": "user-0",
"domain": "mydomain"
}
]Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
user-1The user's key and unique identifier. Permitted list of characters is alphanumeric (a-z, 0-9) and dash (-).
532mydomainThe customised SIP domain that will used in Programmable SIP: mydomain.sip-eu.nexmo.com.
Example Response
{
"key": "user-1",
"domain": "mydomain"
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
user-1The user's key and unique identifier. Permitted list of characters is alphanumeric (a-z, 0-9) and dash (-).
mysupersecretsecretThe user's secret to do authentication.
Example Request
{
"key": "user-1",
"secret": "mysupersecretsecret"
}{
"key": "user-1",
"secret": "mysupersecretsecret"
}user-1The user's key and unique identifier. Permitted list of characters is alphanumeric (a-z, 0-9) and dash (-).
532mydomainThe customised SIP domain that will used in Programmable SIP: mydomain.sip-eu.nexmo.com.
Example Response
{
"key": "user-1",
"domain": "mydomain"
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
The unique id of the endpoint in this domain.
100The priority of this endpoint when sending calls to one of the domain's endpoints. A numeric value where a lower value means higher priority.
sip:myendpoint@mydomain.example.com:5060A SIP URI to deliver incoming calls for this domain.
Example Request
{
"id": "string",
"priority": 100,
"uri": "sip:myendpoint@mydomain.example.com:5060"
}{
"id": "string",
"priority": 100,
"uri": "sip:myendpoint@mydomain.example.com:5060"
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
The unique id of the endpoint in this domain.
100The priority of this endpoint when sending calls to one of the domain's endpoints. A numeric value where a lower value means higher priority.
sip:myendpoint@mydomain.example.com:5060A SIP URI to deliver incoming calls for this domain.
Example Response
[
{
"id": "string",
"priority": 100,
"uri": "sip:myendpoint@mydomain.example.com:5060"
}
]Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
The unique id of the endpoint in this domain.
100The priority of this endpoint when sending calls to one of the domain's endpoints. A numeric value where a lower value means higher priority.
sip:myendpoint@mydomain.example.com:5060A SIP URI to deliver incoming calls for this domain.
Example Response
{
"id": "string",
"priority": 100,
"uri": "sip:myendpoint@mydomain.example.com:5060"
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |
The unique id of the endpoint in this domain.
100The priority of this endpoint when sending calls to one of the domain's endpoints. A numeric value where a lower value means higher priority.
sip:myendpoint@mydomain.example.com:5060A SIP URI to deliver incoming calls for this domain.
Example Request
{
"id": "string",
"priority": 100,
"uri": "sip:myendpoint@mydomain.example.com:5060"
}{
"id": "string",
"priority": 100,
"uri": "sip:myendpoint@mydomain.example.com:5060"
}The unique id of the endpoint in this domain.
100The priority of this endpoint when sending calls to one of the domain's endpoints. A numeric value where a lower value means higher priority.
sip:myendpoint@mydomain.example.com:5060A SIP URI to deliver incoming calls for this domain.
Example Response
{
"id": "string",
"priority": 100,
"uri": "sip:myendpoint@mydomain.example.com:5060"
}Authentication
| Key | Description | Where | Example |
|---|---|---|---|
| Authorization | Base64 encoded API key and secret joined by a colon. | Headers | Basic <base64> |