Operaciones disponibles
Autenticación
| Clave | Descripción | Dónde | Ejemplo |
|---|---|---|---|
| Authorization | Clave API codificada en Base64 y secreto unidos por dos puntos. | 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
Ejemplo Respuesta
{
"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"
}
}Autenticación
| Clave | Descripción | Dónde | Ejemplo |
|---|---|---|---|
| Authorization | Clave API codificada en Base64 y secreto unidos por dos puntos. | Headers | Basic <base64> |
c49f3586-9b3b-458b-89fc-3c8beb58865cVonage Address unique ID
John SmithPerson of contact in case of emergency
Ejemplo Solicitar
{
"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
Ejemplo Respuesta
{
"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"
}
}