API Reference
Key Admin
Account

Emergency (E911) addresses

Emergency (E911) addresses are the street addresses sent to 911 when someone calls from a user or device. Validate an address before saving it.

In the Key Admin this is the Emergency (E911) addresses switch. Read lets a key call the GET endpoints below. Write lets it call the ones that change data.

List emergency addresses

GET/domains/~/addresses

Returns the emergency addresses on the account.

Read Key Admin switch: Emergency (E911) addresses, Read. Read only keys also work.

Example request

curl -X GET "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY"
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/addresses", {
  method: "GET",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
  },
});
const data = await res.json();
import os, requests

r = requests.get(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
)
print(r.status_code, r.json())

Response 200

[
  {
    "emergency-address-id": "string",
    "domain": "string",
    "user": "1001",
    "address-name": "Front Desk",
    "caller-name": "Front Desk",
    "address-line-1": "string",
    "address-line-2": "string",
    "address-city": "string",
    "...": "10 more fields"
  }
]
Response fields (18)
FieldTypeNotes
emergency-address-idstringID of the emergency address.
domainstringThe account the item belongs to. Max length 64
userstringThe user ID (extension).
address-namestringName of the address.
caller-namestringName of the caller.
address-line-1string
address-line-2string
address-citystring
address-state-province-abbreviationstring
address-postal-codestring
address-country-abbreviationstring
address-location-descriptionstring
ip-address-publicstring
address-formatted-pidflostring
carrierstring
count-users-configuredinteger
address-formatted-prettystring
address-is-default-for-siteboolean

Count emergency addresses

GET/domains/~/addresses/count

Returns how many emergency addresses there are on the account, as {"total": n}.

Read Key Admin switch: Emergency (E911) addresses, Read. Read only keys also work.

Example request

curl -X GET "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/count" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY"
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/count", {
  method: "GET",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
  },
});
const data = await res.json();
import os, requests

r = requests.get(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/count",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
)
print(r.status_code, r.json())

Response 200

{
  "total": 1
}
Response fields (1)
FieldTypeNotes
totalintegerHow many items matched.

Other responses: 400, 401, 403, 404. See errors.

List emergency address endpoints

GET/domains/~/addresses/endpoints

Returns the devices and numbers linked to emergency addresses.

Read Key Admin switch: Emergency (E911) addresses, Read. Read only keys also work.

Parameters

NameInTypeNotes
limitquerynumber (int)Most results to return in one response. Default 100 Min 1 Max 1000

Example request

curl -X GET "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/endpoints" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY"
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/endpoints", {
  method: "GET",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
  },
});
const data = await res.json();
import os, requests

r = requests.get(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/endpoints",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
)
print(r.status_code, r.json())

Response 200

[
  {
    "emergency-address-id": "string",
    "domain": "string",
    "user": "1001",
    "address-name": "Front Desk",
    "caller-name": "Front Desk",
    "address-line-1": "string",
    "address-line-2": "string",
    "address-city": "string",
    "...": "10 more fields"
  }
]
Response fields (18)
FieldTypeNotes
emergency-address-idstringID of the emergency address.
domainstringThe account the item belongs to. Max length 64
userstringThe user ID (extension).
address-namestringName of the address.
caller-namestringName of the caller.
address-line-1string
address-line-2string
address-citystring
address-state-province-abbreviationstring
address-postal-codestring
address-country-abbreviationstring
address-location-descriptionstring
ip-address-publicstring
address-formatted-pidflostring
carrierstring
count-users-configuredinteger
address-formatted-prettystring
address-is-default-for-siteboolean

Create an emergency address

POST/domains/~/addresses

Adds a new emergency address on the account.

Write Key Admin switch: Emergency (E911) addresses, Write.

Request body application/json

FieldTypeNotes
emergency-address-id requiredstringID of the emergency address.
address-name requiredstringName of the address.
caller-name requiredstringName of the caller.
address-line-1 requiredstring
address-line-2string
address-city requiredstring
address-state-province-abbreviation requiredstring
address-postal-code requiredstring
address-country-abbreviation requiredstring
address-location-descriptionstring
ip-address-publicstring
address-formatted-pidflo requiredstring
carrierstring

Example request

curl -X POST "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "emergency-address-id": "string",
    "address-name": "Front Desk",
    "caller-name": "Front Desk",
    "address-line-1": "string",
    "address-city": "string",
    "address-state-province-abbreviation": "string",
    "address-postal-code": "string",
    "address-country-abbreviation": "string",
    "address-formatted-pidflo": "string"
  }'
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/addresses", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "emergency-address-id": "string",
    "address-name": "Front Desk",
    "caller-name": "Front Desk",
    "address-line-1": "string",
    "address-city": "string",
    "address-state-province-abbreviation": "string",
    "address-postal-code": "string",
    "address-country-abbreviation": "string",
    "address-formatted-pidflo": "string"
  }),
});
const data = await res.json();
import os, requests

r = requests.post(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
    json={
        "emergency-address-id": "string",
        "address-name": "Front Desk",
        "caller-name": "Front Desk",
        "address-line-1": "string",
        "address-city": "string",
        "address-state-province-abbreviation": "string",
        "address-postal-code": "string",
        "address-country-abbreviation": "string",
        "address-formatted-pidflo": "string"
    },
)
print(r.status_code, r.json())

Response 200

{
  "address-formatted-pidflo": {},
  "object": "string",
  "domain": "string",
  "user": "1001",
  "address_id": "string",
  "address_name": "string",
  "callid_nmbr": "string",
  "address_line_1": "string",
  "...": "13 more fields"
}
Response fields (21)
FieldTypeNotes
address-formatted-pidfloobject
objectstring
domainstringThe account the item belongs to.
userstringThe user ID (extension).
address_idstring
address_namestring
callid_nmbrstring
address_line_1string
address_line_2string
citystring
state_codestring
zipstring
country_codestring
locationstring
carrierstring
public_ipstring
actionstring
singularinteger
controllerstring
formatstring
apiVerstring

Other responses: 409. See errors.

Validate an emergency address

POST/domains/~/addresses/validate

Checks an address with the emergency address service before you save it.

Write Key Admin switch: Emergency (E911) addresses, Write.

Request body application/json

FieldTypeNotes
emergency-address-idstringID of the emergency address.
address-name requiredstringName of the address.
caller-name requiredstringName of the caller.
address-line-1 requiredstring
address-line-2string
address-country-abbreviation requiredstring
address-state-province-abbreviation requiredstring
address-city requiredstring
address-postal-code requiredstring
address-location-description requiredstring

Example request

curl -X POST "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/validate" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "address-line-1": "string",
    "address-country-abbreviation": "string",
    "address-state-province-abbreviation": "string",
    "address-city": "string",
    "address-postal-code": "string",
    "address-location-description": "string",
    "address-name": "Front Desk",
    "caller-name": "Front Desk"
  }'
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/validate", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "address-line-1": "string",
    "address-country-abbreviation": "string",
    "address-state-province-abbreviation": "string",
    "address-city": "string",
    "address-postal-code": "string",
    "address-location-description": "string",
    "address-name": "Front Desk",
    "caller-name": "Front Desk"
  }),
});
const data = await res.json();
import os, requests

r = requests.post(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/validate",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
    json={
        "address-line-1": "string",
        "address-country-abbreviation": "string",
        "address-state-province-abbreviation": "string",
        "address-city": "string",
        "address-postal-code": "string",
        "address-location-description": "string",
        "address-name": "Front Desk",
        "caller-name": "Front Desk"
    },
)
print(r.status_code, r.json())

Response 200

{
  "domain": "string",
  "object": "string",
  "emergency-address-id": "string",
  "address-formatted-pidflo": {},
  "address-name": "Front Desk",
  "caller-name": "Front Desk",
  "address-line-1": "string",
  "address-line-2": "string",
  "...": "5 more fields"
}
Response fields (13)
FieldTypeNotes
domainstringThe account the item belongs to.
objectstring
emergency-address-idstringID of the emergency address.
address-formatted-pidfloobject
address-namestringName of the address.
caller-namestringName of the caller.
address-line-1string
address-line-2string
address-country-abbreviationstring
address-state-province-abbreviationstring
address-citystring
address-postal-codestring
carrierstring

Update an emergency address endpoint

PUT/domains/~/addresses/endpoints/{endpoint}

Changes an existing emergency address endpoint. Send the fields you want to set in the body.

Write Key Admin switch: Emergency (E911) addresses, Write.

Parameters

NameInTypeNotes
endpoint requiredpathstringThe emergency address endpoint ID.

Request body application/json

FieldTypeNotes
address-name requiredstringName of the address.
caller-name requiredstringName of the caller.
address-line-1string
address-line-2string
address-citystring
address-state-province-abbreviationstring
address-postal-codestring
address-country-abbreviationstring
address-location-descriptionstring
address-formatted-pidfloobject
carrierstring
location-idstringID of the location.

Example request

curl -X PUT "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/endpoints/{endpoint_id}" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "address-name": "Front Desk",
    "caller-name": "Front Desk"
  }'
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/endpoints/{endpoint_id}", {
  method: "PUT",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "address-name": "Front Desk",
    "caller-name": "Front Desk"
  }),
});
const data = await res.json();
import os, requests

r = requests.put(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/endpoints/{endpoint_id}",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
    json={
        "address-name": "Front Desk",
        "caller-name": "Front Desk"
    },
)
print(r.status_code, r.json())

Response 202

{
  "code": 1,
  "message": "Hello from NoodleVoice"
}
Response fields (2)
FieldTypeNotes
codeintegerHTTP status code.
messagestringWhat happened, in words.

Update an emergency address

PUT/domains/~/addresses/{emergency-address-id}

Changes an existing emergency address. Send the fields you want to set in the body.

Write Key Admin switch: Emergency (E911) addresses, Write.

Parameters

NameInTypeNotes
emergency-address-id requiredpathstringThe emergency address ID.

Request body application/json

FieldTypeNotes
address-name requiredstringName of the address.
caller-name requiredstringName of the caller.
address-line-1 requiredstring
address-line-2string
address-city requiredstring
address-state-province-abbreviation requiredstring
address-postal-code requiredstring
address-country-abbreviation requiredstring
address-location-descriptionstring
ip-address-publicstring
address-formatted-pidflo requiredstring
carrierstring

Example request

curl -X PUT "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/{address_id}" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "address-name": "Front Desk",
    "caller-name": "Front Desk",
    "address-line-1": "string",
    "address-city": "string",
    "address-state-province-abbreviation": "string",
    "address-postal-code": "string",
    "address-country-abbreviation": "string",
    "address-formatted-pidflo": "string"
  }'
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/{address_id}", {
  method: "PUT",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "address-name": "Front Desk",
    "caller-name": "Front Desk",
    "address-line-1": "string",
    "address-city": "string",
    "address-state-province-abbreviation": "string",
    "address-postal-code": "string",
    "address-country-abbreviation": "string",
    "address-formatted-pidflo": "string"
  }),
});
const data = await res.json();
import os, requests

r = requests.put(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/{address_id}",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
    json={
        "address-name": "Front Desk",
        "caller-name": "Front Desk",
        "address-line-1": "string",
        "address-city": "string",
        "address-state-province-abbreviation": "string",
        "address-postal-code": "string",
        "address-country-abbreviation": "string",
        "address-formatted-pidflo": "string"
    },
)
print(r.status_code, r.json())

Response 202

{
  "code": 1,
  "message": "Hello from NoodleVoice"
}
Response fields (2)
FieldTypeNotes
codeintegerHTTP status code.
messagestringWhat happened, in words.

Delete an emergency address endpoint

DELETE/domains/~/addresses/endpoints/{endpoint}

Removes an emergency address endpoint. This can't be undone.

Write Key Admin switch: Emergency (E911) addresses, Write.

Parameters

NameInTypeNotes
endpoint requiredpathstringThe emergency address endpoint ID.

Request body application/json

FieldTypeNotes
carrier requiredstring

Example request

curl -X DELETE "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/endpoints/{endpoint_id}" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "carrier": "string"
  }'
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/endpoints/{endpoint_id}", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "carrier": "string"
  }),
});
const data = await res.json();
import os, requests

r = requests.delete(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/endpoints/{endpoint_id}",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
    json={
        "carrier": "string"
    },
)
print(r.status_code, r.json())

Response 202

{
  "code": 1,
  "message": "Hello from NoodleVoice"
}
Response fields (2)
FieldTypeNotes
codeintegerHTTP status code.
messagestringWhat happened, in words.

Delete an emergency address

DELETE/domains/~/addresses/{emergency-address-id}

Removes an emergency address. This can't be undone.

Write Key Admin switch: Emergency (E911) addresses, Write.

Parameters

NameInTypeNotes
emergency-address-id requiredpathstringThe emergency address ID.

Example request

curl -X DELETE "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/{address_id}" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY"
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/{address_id}", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
  },
});
const data = await res.json();
import os, requests

r = requests.delete(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/addresses/{address_id}",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
)
print(r.status_code, r.json())

Response 202

{
  "code": 1,
  "message": "Hello from NoodleVoice"
}
Response fields (2)
FieldTypeNotes
codeintegerHTTP status code.
messagestringWhat happened, in words.

List emergency addresses for a user

GET/domains/~/users/{user}/addresses

Returns the emergency addresses for one user.

Read Key Admin switch: Emergency (E911) addresses, Read. Read only keys also work.

Parameters

NameInTypeNotes
user requiredpathstringThe user ID, usually their extension number, like 1001. Default ~ Min length 0 Max length 16
limitquerynumber (int)Most results to return in one response. Default 100 Min 1 Max 1000
show_all_personalquerystringSet to yes to include every user's personal contacts.
show_only_personalquerystringSet to yes to return only personal contacts.

Example request

curl -X GET "https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY"
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses", {
  method: "GET",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
  },
});
const data = await res.json();
import os, requests

r = requests.get(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
)
print(r.status_code, r.json())

Response 200

[
  {
    "emergency-address-id": "string",
    "domain": "string",
    "user": "1001",
    "address-name": "Front Desk",
    "caller-name": "Front Desk",
    "address-line-1": "string",
    "address-line-2": "string",
    "address-city": "string",
    "...": "10 more fields"
  }
]
Response fields (18)
FieldTypeNotes
emergency-address-idstringID of the emergency address.
domainstringThe account the item belongs to. Max length 64
userstringThe user ID (extension).
address-namestringName of the address.
caller-namestringName of the caller.
address-line-1string
address-line-2string
address-citystring
address-state-province-abbreviationstring
address-postal-codestring
address-country-abbreviationstring
address-location-descriptionstring
ip-address-publicstring
address-formatted-pidflostring
carrierstring
count-users-configuredinteger
address-formatted-prettystring
address-is-default-for-siteboolean

Get a user's emergency address

GET/domains/~/users/{user}/addresses/{emergency-address-id}

Returns one of a user's emergency addresses.

Read Key Admin switch: Emergency (E911) addresses, Read. Read only keys also work.

Parameters

NameInTypeNotes
user requiredpathstringThe user ID, usually their extension number, like 1001. Default ~ Min length 0 Max length 16
emergency-address-id requiredpathstringThe emergency address ID.

Example request

curl -X GET "https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses/{address_id}" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY"
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses/{address_id}", {
  method: "GET",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
  },
});
const data = await res.json();
import os, requests

r = requests.get(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses/{address_id}",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
)
print(r.status_code, r.json())

Response 200

{
  "emergency-address-id": "string",
  "domain": "string",
  "user": "1001",
  "address-name": "Front Desk",
  "caller-name": "Front Desk",
  "address-line-1": "string",
  "address-line-2": "string",
  "address-city": "string",
  "...": "10 more fields"
}
Response fields (18)
FieldTypeNotes
emergency-address-idstringID of the emergency address.
domainstringThe account the item belongs to. Max length 64
userstringThe user ID (extension).
address-namestringName of the address.
caller-namestringName of the caller.
address-line-1string
address-line-2string
address-citystring
address-state-province-abbreviationstring
address-postal-codestring
address-country-abbreviationstring
address-location-descriptionstring
ip-address-publicstring
address-formatted-pidflostring
carrierstring
count-users-configuredinteger
address-formatted-prettystring
address-is-default-for-siteboolean

Create an emergency address for a user

POST/domains/~/users/{user}/addresses

Adds a new emergency address for one user.

Write Key Admin switch: Emergency (E911) addresses, Write.

Parameters

NameInTypeNotes
user requiredpathstringThe user ID, usually their extension number, like 1001. Default ~ Min length 0 Max length 16

Request body application/json

FieldTypeNotes
emergency-address-id requiredstringID of the emergency address.
address-name requiredstringName of the address.
caller-name requiredstringName of the caller.
address-line-1 requiredstring
address-line-2string
address-city requiredstring
address-state-province-abbreviation requiredstring
address-postal-code requiredstring
address-country-abbreviation requiredstring
address-location-descriptionstring
ip-address-publicstring
address-formatted-pidflo requiredstring
carrierstring

Example request

curl -X POST "https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "emergency-address-id": "string",
    "address-name": "Front Desk",
    "caller-name": "Front Desk",
    "address-line-1": "string",
    "address-city": "string",
    "address-state-province-abbreviation": "string",
    "address-postal-code": "string",
    "address-country-abbreviation": "string",
    "address-formatted-pidflo": "string"
  }'
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses", {
  method: "POST",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "emergency-address-id": "string",
    "address-name": "Front Desk",
    "caller-name": "Front Desk",
    "address-line-1": "string",
    "address-city": "string",
    "address-state-province-abbreviation": "string",
    "address-postal-code": "string",
    "address-country-abbreviation": "string",
    "address-formatted-pidflo": "string"
  }),
});
const data = await res.json();
import os, requests

r = requests.post(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
    json={
        "emergency-address-id": "string",
        "address-name": "Front Desk",
        "caller-name": "Front Desk",
        "address-line-1": "string",
        "address-city": "string",
        "address-state-province-abbreviation": "string",
        "address-postal-code": "string",
        "address-country-abbreviation": "string",
        "address-formatted-pidflo": "string"
    },
)
print(r.status_code, r.json())

Response 200

{
  "address-formatted-pidflo": {},
  "object": "string",
  "domain": "string",
  "user": "1001",
  "address_id": "string",
  "address_name": "string",
  "callid_nmbr": "string",
  "address_line_1": "string",
  "...": "13 more fields"
}
Response fields (21)
FieldTypeNotes
address-formatted-pidfloobject
objectstring
domainstringThe account the item belongs to.
userstringThe user ID (extension).
address_idstring
address_namestring
callid_nmbrstring
address_line_1string
address_line_2string
citystring
state_codestring
zipstring
country_codestring
locationstring
carrierstring
public_ipstring
actionstring
singularinteger
controllerstring
formatstring
apiVerstring

Update a user's emergency address

PUT/domains/~/users/{user}/addresses/{emergency-address-id}

Changes one of a user's emergency addresses.

Write Key Admin switch: Emergency (E911) addresses, Write.

Parameters

NameInTypeNotes
user requiredpathstringThe user ID, usually their extension number, like 1001. Default ~ Min length 0 Max length 16
emergency-address-id requiredpathstringThe emergency address ID.

Request body application/json

FieldTypeNotes
address-name requiredstringName of the address.
caller-name requiredstringName of the caller.
address-line-1 requiredstring
address-line-2string
address-city requiredstring
address-state-province-abbreviation requiredstring
address-postal-code requiredstring
address-country-abbreviation requiredstring
address-location-descriptionstring
ip-address-publicstring
address-formatted-pidflo requiredstring
carrierstring

Example request

curl -X PUT "https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses/{address_id}" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "address-name": "Front Desk",
    "caller-name": "Front Desk",
    "address-line-1": "string",
    "address-city": "string",
    "address-state-province-abbreviation": "string",
    "address-postal-code": "string",
    "address-country-abbreviation": "string",
    "address-formatted-pidflo": "string"
  }'
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses/{address_id}", {
  method: "PUT",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "address-name": "Front Desk",
    "caller-name": "Front Desk",
    "address-line-1": "string",
    "address-city": "string",
    "address-state-province-abbreviation": "string",
    "address-postal-code": "string",
    "address-country-abbreviation": "string",
    "address-formatted-pidflo": "string"
  }),
});
const data = await res.json();
import os, requests

r = requests.put(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses/{address_id}",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
    json={
        "address-name": "Front Desk",
        "caller-name": "Front Desk",
        "address-line-1": "string",
        "address-city": "string",
        "address-state-province-abbreviation": "string",
        "address-postal-code": "string",
        "address-country-abbreviation": "string",
        "address-formatted-pidflo": "string"
    },
)
print(r.status_code, r.json())

Response 202

{
  "code": 1,
  "message": "Hello from NoodleVoice"
}
Response fields (2)
FieldTypeNotes
codeintegerHTTP status code.
messagestringWhat happened, in words.

Delete a user's emergency address

DELETE/domains/~/users/{user}/addresses/{address_id}

Removes one of a user's emergency addresses. This can't be undone.

Write Key Admin switch: Emergency (E911) addresses, Write.

Parameters

NameInTypeNotes
user requiredpathstringThe user ID, usually their extension number, like 1001. Default ~ Min length 0 Max length 16
address_id requiredpathstringThe emergency address ID.

Example request

curl -X DELETE "https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses/{address_id}" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY"
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses/{address_id}", {
  method: "DELETE",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
  },
});
const data = await res.json();
import os, requests

r = requests.delete(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/users/1001/addresses/{address_id}",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
)
print(r.status_code, r.json())

Response 202

{
  "code": 1,
  "message": "Hello from NoodleVoice"
}
Response fields (2)
FieldTypeNotes
codeintegerHTTP status code.
messagestringWhat happened, in words.