Verfügbare Operationen
Authentifizierung
| Schlüssel | Beschreibung | Wo | Beispiel |
|---|---|---|---|
| Authorization | Base64-kodierter API-Schlüssel und Geheimnis, verbunden durch einen Doppelpunkt. | Headers | Basic <base64> |
15500900000An available inbound virtual number.
John SmithPerson of contact in case of emergency
c49f3586-9b3b-458b-89fc-3c8beb58865cVonage Address unique ID
232myaddressA friendly name to identify the address
1 REGAL CTFirst line of the full address
Merchant's House 205Second line of the full address
New YorkThe city where this address is located
NJThe state or region of the address
emergencyType of address
emergencybusinessbusinessAddrss location type as a business or domestic
businessresidential10002The Postal Code of this address
22USThe two character country code in ISO 3166-1 alpha-2 format
Beispiel Antwort
{
"number": "15500900000",
"contact_name": "John Smith",
"address": {
"id": "c49f3586-9b3b-458b-89fc-3c8beb58865c",
"address_name": "myaddress",
"address_line1": "1 REGAL CT",
"address_line2": "Merchant's House 205",
"city": "New York",
"region": "NJ",
"type": "emergency",
"address_location_type": "business",
"postal_code": "10002",
"country": "US"
}
}Authentifizierung
| Schlüssel | Beschreibung | Wo | Beispiel |
|---|---|---|---|
| Authorization | Base64-kodierter API-Schlüssel und Geheimnis, verbunden durch einen Doppelpunkt. | Headers | Basic <base64> |
c49f3586-9b3b-458b-89fc-3c8beb58865cVonage Address unique ID
John SmithPerson of contact in case of emergency
Beispiel Anfrage
{
"address": {
"id": "c49f3586-9b3b-458b-89fc-3c8beb58865c"
},
"contact_name": "John Smith"
}{
"address": {
"id": "c49f3586-9b3b-458b-89fc-3c8beb58865c"
},
"contact_name": "John Smith"
}15500900000An available inbound virtual number.
John SmithPerson of contact in case of emergency
c49f3586-9b3b-458b-89fc-3c8beb58865cVonage Address unique ID
232myaddressA friendly name to identify the address
1 REGAL CTFirst line of the full address
Merchant's House 205Second line of the full address
New YorkThe city where this address is located
NJThe state or region of the address
emergencyType of address
emergencybusinessbusinessAddrss location type as a business or domestic
businessresidential10002The Postal Code of this address
22USThe two character country code in ISO 3166-1 alpha-2 format
Beispiel Antwort
{
"number": "15500900000",
"contact_name": "John Smith",
"address": {
"id": "c49f3586-9b3b-458b-89fc-3c8beb58865c",
"address_name": "myaddress",
"address_line1": "1 REGAL CT",
"address_line2": "Merchant's House 205",
"city": "New York",
"region": "NJ",
"type": "emergency",
"address_location_type": "business",
"postal_code": "10002",
"country": "US"
}
}