API Reference
Key Admin
People and devices

Sites and departments

Sites group users by office location. Departments group them by team. Both are handy for filtering reports and presence.

In the Key Admin this is the Sites and departments switch. Read lets a key call the GET endpoints below. Write lets it call the ones that change data.

List departments

GET/domains/~/departments/list

Returns the department names used to group users on the account.

Read Key Admin switch: Sites and departments, Read. Read only keys also work.

Example request

curl -X GET "https://api.noodlevoice.com/ns-api/v2/domains/~/departments/list" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY"
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/departments/list", {
  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/~/departments/list",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
)
print(r.status_code, r.json())

Response 200

Returns a status code with a short JSON message.

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

Get presence for a department

GET/domains/~/departments/{department}/presence/list

Returns the availability of every user in one department.

Read Key Admin switch: Sites and departments, Read. Read only keys also work.

Parameters

NameInTypeNotes
department requiredpathstringThe department name.
last_updatequerystringOnly return items changed since this date and time.
limitquerynumber (int)Most results to return in one response. Default 100 Min 1 Max 1000
orderquerystringSort order for the results.

Example request

curl -X GET "https://api.noodlevoice.com/ns-api/v2/domains/~/departments/Sales/presence/list" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY"
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/departments/Sales/presence/list", {
  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/~/departments/Sales/presence/list",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
)
print(r.status_code, r.json())

Response 200

[
  {
    "user": "1001",
    "uid": "string",
    "domain": "string",
    "site": "string",
    "name-first-name": "Front Desk",
    "name-last-name": "Front Desk",
    "department": "string",
    "user-presence-status": "string",
    "...": "1 more fields"
  }
]
Response fields (9)
FieldTypeNotes
userstringThe user ID (extension).
uidstring
domainstringThe account the item belongs to.
sitestringThe site name.
name-first-namestringFirst name.
name-last-namestringLast name.
departmentstringThe department name.
user-presence-statusstring
email-addressstringEmail address.

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

List sites

GET/domains/~/sites

Returns the sites on the account.

Read Key Admin switch: Sites and departments, Read. Read only keys also work.

Example request

curl -X GET "https://api.noodlevoice.com/ns-api/v2/domains/~/sites" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY"
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/sites", {
  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/~/sites",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
)
print(r.status_code, r.json())

Response 200

[
  {
    "synchronous": "yes",
    "site": "string",
    "login-username": "string",
    "email": "jane@example.com",
    "time-zone": "US/Alaska",
    "dial-plan": "string",
    "dial-policy": "string",
    "voicemail-user-control-enabled": "yes",
    "...": "24 more fields"
  }
]
Response fields (32)
FieldTypeNotes
synchronousstringSet to yes to wait until the change is finished before the response comes back. One of: yes, no Default no
sitestringThe site name.
login-usernamestring
emailstring (email)Email address. Separate more than one with commas.
time-zonestringTime zone name, like America/New_York. One of: US/Alaska, US/Central, US/Eastern, US/Hawaii, US/Mountain, US/Pacific, Africa/Addis_Ababa, Africa/Algiers, Africa/Brazzaville, Africa/Cairo, Africa/Casablanca, Africa/Dakar, Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Johannesburg, Africa/Khartoum, Africa/Kigali, Africa/Kinshasa, Africa/Lagos, Africa/Nairobi, Africa/Timbuktu, Africa/Tripoli, Africa/Tunis, America/Antigua, America/Aruba, America/Belize, America/Bogota, America/Buenos_Aires, America/Cancun, America/Caracas, America/Cayman, America/Chihuahua, America/Costa_Rica, America/Denver, America/Detroit, America/Edmonton, America/El_Salvador, America/Ensenada, America/Grenada, America/Guadeloupe ...
dial-planstringThe dial plan the item uses.
dial-policystringThe dial policy the item uses.
voicemail-user-control-enabledstringTurns voicemail user control on or off (yes or no). One of: yes, no Default yes
phone-numbers-to-allow-enabledstringTurns phone numbers to allow on or off (yes or no). One of: yes, no Default yes
phone-numbers-to-reject-enabledstringTurns phone numbers to reject on or off (yes or no). One of: yes, no Default yes
call-screening-enabledstringTurns call screening on or off (yes or no). One of: yes, no Default yes
language-tokenstringLanguage for prompts and voicemail, like en_US. Default en_US
limits-max-data-storage-kilobytesinteger Min 0
limits-max-active-calls-totalinteger Min 0 Max 3600
directory-announce-in-dial-by-name-enabledstringTurns directory announce in dial by name on or off (yes or no). One of: yes, no Default yes
voicemail-enabledstringTurns voicemail on or off (yes or no). One of: yes, no Default yes
voicemail-receive-broadcast-enabledstringTurns voicemail receive broadcast on or off (yes or no). One of: yes, no Default yes
reject-anonymous-calls-enabledstringTurns reject anonymous calls on or off (yes or no). One of: yes, no Default no
voicemail-playback-announce-datetime-receivedstring One of: yes, no Default no
voicemail-playback-announce-caller-idstringID of the voicemail playback announce caller. One of: yes, no Default no
voicemail-playback-sort-newest-to-oldeststring One of: yes, no Default yes
caller-id-numberstring (phonenumber)Number shown to people you call.
caller-id-namestringName shown to people you call.
caller-id-number-emergencyanyNumber sent to 911 for callback.
area-codeinteger Min 100 Max 999
directory-name-visible-in-list-enabledstringTurns directory name visible in list on or off (yes or no). One of: yes, no Default yes
emergency-address-idstringID of the emergency address.
music-on-hold-randomized-enabledstringTurns music on hold randomized on or off (yes or no). One of: yes, no Default no
active-calls-total-currentinteger
created-datetimestring (date-time)Created (date and time).
last-modified-datetimestring (date-time)Last modified (date and time).
recording-configurationstring One of: yes, yes-with-transcription, yes-with-transcription-and-sentiment, no Default no

Count sites

GET/domains/~/sites/count

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

Read Key Admin switch: Sites and departments, Read. Read only keys also work.

Example request

curl -X GET "https://api.noodlevoice.com/ns-api/v2/domains/~/sites/count" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY"
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/sites/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/~/sites/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 sites (short form)

GET/domains/~/sites/list

Returns just the names of the sites on the account.

Read Key Admin switch: Sites and departments, Read. Read only keys also work.

Example request

curl -X GET "https://api.noodlevoice.com/ns-api/v2/domains/~/sites/list" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY"
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/sites/list", {
  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/~/sites/list",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
)
print(r.status_code, r.json())

Response 200

[
  {
    "synchronous": "yes",
    "site": "string",
    "login-username": "string",
    "email": "jane@example.com",
    "time-zone": "US/Alaska",
    "dial-plan": "string",
    "dial-policy": "string",
    "voicemail-user-control-enabled": "yes",
    "...": "24 more fields"
  }
]
Response fields (32)
FieldTypeNotes
synchronousstringSet to yes to wait until the change is finished before the response comes back. One of: yes, no Default no
sitestringThe site name.
login-usernamestring
emailstring (email)Email address. Separate more than one with commas.
time-zonestringTime zone name, like America/New_York. One of: US/Alaska, US/Central, US/Eastern, US/Hawaii, US/Mountain, US/Pacific, Africa/Addis_Ababa, Africa/Algiers, Africa/Brazzaville, Africa/Cairo, Africa/Casablanca, Africa/Dakar, Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Johannesburg, Africa/Khartoum, Africa/Kigali, Africa/Kinshasa, Africa/Lagos, Africa/Nairobi, Africa/Timbuktu, Africa/Tripoli, Africa/Tunis, America/Antigua, America/Aruba, America/Belize, America/Bogota, America/Buenos_Aires, America/Cancun, America/Caracas, America/Cayman, America/Chihuahua, America/Costa_Rica, America/Denver, America/Detroit, America/Edmonton, America/El_Salvador, America/Ensenada, America/Grenada, America/Guadeloupe ...
dial-planstringThe dial plan the item uses.
dial-policystringThe dial policy the item uses.
voicemail-user-control-enabledstringTurns voicemail user control on or off (yes or no). One of: yes, no Default yes
phone-numbers-to-allow-enabledstringTurns phone numbers to allow on or off (yes or no). One of: yes, no Default yes
phone-numbers-to-reject-enabledstringTurns phone numbers to reject on or off (yes or no). One of: yes, no Default yes
call-screening-enabledstringTurns call screening on or off (yes or no). One of: yes, no Default yes
language-tokenstringLanguage for prompts and voicemail, like en_US. Default en_US
limits-max-data-storage-kilobytesinteger Min 0
limits-max-active-calls-totalinteger Min 0 Max 3600
directory-announce-in-dial-by-name-enabledstringTurns directory announce in dial by name on or off (yes or no). One of: yes, no Default yes
voicemail-enabledstringTurns voicemail on or off (yes or no). One of: yes, no Default yes
voicemail-receive-broadcast-enabledstringTurns voicemail receive broadcast on or off (yes or no). One of: yes, no Default yes
reject-anonymous-calls-enabledstringTurns reject anonymous calls on or off (yes or no). One of: yes, no Default no
voicemail-playback-announce-datetime-receivedstring One of: yes, no Default no
voicemail-playback-announce-caller-idstringID of the voicemail playback announce caller. One of: yes, no Default no
voicemail-playback-sort-newest-to-oldeststring One of: yes, no Default yes
caller-id-numberstring (phonenumber)Number shown to people you call.
caller-id-namestringName shown to people you call.
caller-id-number-emergencyanyNumber sent to 911 for callback.
area-codeinteger Min 100 Max 999
directory-name-visible-in-list-enabledstringTurns directory name visible in list on or off (yes or no). One of: yes, no Default yes
emergency-address-idstringID of the emergency address.
music-on-hold-randomized-enabledstringTurns music on hold randomized on or off (yes or no). One of: yes, no Default no
active-calls-total-currentinteger
created-datetimestring (date-time)Created (date and time).
last-modified-datetimestring (date-time)Last modified (date and time).
recording-configurationstring One of: yes, yes-with-transcription, yes-with-transcription-and-sentiment, no Default no

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

Get a site

GET/domains/~/sites/{site}

Returns one site by its ID.

Read Key Admin switch: Sites and departments, Read. Read only keys also work.

Parameters

NameInTypeNotes
site requiredpathstringThe site name.

Example request

curl -X GET "https://api.noodlevoice.com/ns-api/v2/domains/~/sites/Main" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY"
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/sites/Main", {
  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/~/sites/Main",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
)
print(r.status_code, r.json())

Response 200

{
  "synchronous": "yes",
  "site": "string",
  "login-username": "string",
  "email": "jane@example.com",
  "time-zone": "US/Alaska",
  "dial-plan": "string",
  "dial-policy": "string",
  "voicemail-user-control-enabled": "yes",
  "...": "24 more fields"
}
Response fields (32)
FieldTypeNotes
synchronousstringSet to yes to wait until the change is finished before the response comes back. One of: yes, no Default no
sitestringThe site name.
login-usernamestring
emailstring (email)Email address. Separate more than one with commas.
time-zonestringTime zone name, like America/New_York. One of: US/Alaska, US/Central, US/Eastern, US/Hawaii, US/Mountain, US/Pacific, Africa/Addis_Ababa, Africa/Algiers, Africa/Brazzaville, Africa/Cairo, Africa/Casablanca, Africa/Dakar, Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Johannesburg, Africa/Khartoum, Africa/Kigali, Africa/Kinshasa, Africa/Lagos, Africa/Nairobi, Africa/Timbuktu, Africa/Tripoli, Africa/Tunis, America/Antigua, America/Aruba, America/Belize, America/Bogota, America/Buenos_Aires, America/Cancun, America/Caracas, America/Cayman, America/Chihuahua, America/Costa_Rica, America/Denver, America/Detroit, America/Edmonton, America/El_Salvador, America/Ensenada, America/Grenada, America/Guadeloupe ...
dial-planstringThe dial plan the item uses.
dial-policystringThe dial policy the item uses.
voicemail-user-control-enabledstringTurns voicemail user control on or off (yes or no). One of: yes, no Default yes
phone-numbers-to-allow-enabledstringTurns phone numbers to allow on or off (yes or no). One of: yes, no Default yes
phone-numbers-to-reject-enabledstringTurns phone numbers to reject on or off (yes or no). One of: yes, no Default yes
call-screening-enabledstringTurns call screening on or off (yes or no). One of: yes, no Default yes
language-tokenstringLanguage for prompts and voicemail, like en_US. Default en_US
limits-max-data-storage-kilobytesinteger Min 0
limits-max-active-calls-totalinteger Min 0 Max 3600
directory-announce-in-dial-by-name-enabledstringTurns directory announce in dial by name on or off (yes or no). One of: yes, no Default yes
voicemail-enabledstringTurns voicemail on or off (yes or no). One of: yes, no Default yes
voicemail-receive-broadcast-enabledstringTurns voicemail receive broadcast on or off (yes or no). One of: yes, no Default yes
reject-anonymous-calls-enabledstringTurns reject anonymous calls on or off (yes or no). One of: yes, no Default no
voicemail-playback-announce-datetime-receivedstring One of: yes, no Default no
voicemail-playback-announce-caller-idstringID of the voicemail playback announce caller. One of: yes, no Default no
voicemail-playback-sort-newest-to-oldeststring One of: yes, no Default yes
caller-id-numberstring (phonenumber)Number shown to people you call.
caller-id-namestringName shown to people you call.
caller-id-number-emergencyanyNumber sent to 911 for callback.
area-codeinteger Min 100 Max 999
directory-name-visible-in-list-enabledstringTurns directory name visible in list on or off (yes or no). One of: yes, no Default yes
emergency-address-idstringID of the emergency address.
music-on-hold-randomized-enabledstringTurns music on hold randomized on or off (yes or no). One of: yes, no Default no
active-calls-total-currentinteger
created-datetimestring (date-time)Created (date and time).
last-modified-datetimestring (date-time)Last modified (date and time).
recording-configurationstring One of: yes, yes-with-transcription, yes-with-transcription-and-sentiment, no Default no

Create a site

POST/domains/~/sites

Adds a new site on the account.

Write Key Admin switch: Sites and departments, Write.

Request body application/json

FieldTypeNotes
synchronousstringSet to yes to wait until the change is finished before the response comes back. One of: yes, no Default no
site requiredstringThe site name.
login-usernamestring
email requiredstring (email)Email address. Separate more than one with commas.
time-zonestringTime zone name, like America/New_York. One of: US/Alaska, US/Central, US/Eastern, US/Hawaii, US/Mountain, US/Pacific, Africa/Addis_Ababa, Africa/Algiers, Africa/Brazzaville, Africa/Cairo, Africa/Casablanca, Africa/Dakar, Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Johannesburg, Africa/Khartoum, Africa/Kigali, Africa/Kinshasa, Africa/Lagos, Africa/Nairobi, Africa/Timbuktu, Africa/Tripoli, Africa/Tunis, America/Antigua, America/Aruba, America/Belize, America/Bogota, America/Buenos_Aires, America/Cancun, America/Caracas, America/Cayman, America/Chihuahua, America/Costa_Rica, America/Denver, America/Detroit, America/Edmonton, America/El_Salvador, America/Ensenada, America/Grenada, America/Guadeloupe ...
dial-planstringThe dial plan the item uses.
dial-policystringThe dial policy the item uses.
voicemail-user-control-enabledstringTurns voicemail user control on or off (yes or no). One of: yes, no Default yes
phone-numbers-to-allow-enabledstringTurns phone numbers to allow on or off (yes or no). One of: yes, no Default yes
phone-numbers-to-reject-enabledstringTurns phone numbers to reject on or off (yes or no). One of: yes, no Default yes
call-screening-enabledstringTurns call screening on or off (yes or no). One of: yes, no Default yes
language-tokenstringLanguage for prompts and voicemail, like en_US. Default en_US
limits-max-data-storage-kilobytesinteger Min 0
limits-max-active-calls-totalinteger Min 0 Max 3600
directory-announce-in-dial-by-name-enabledstringTurns directory announce in dial by name on or off (yes or no). One of: yes, no Default yes
voicemail-enabledstringTurns voicemail on or off (yes or no). One of: yes, no Default yes
voicemail-receive-broadcast-enabledstringTurns voicemail receive broadcast on or off (yes or no). One of: yes, no Default yes
reject-anonymous-calls-enabledstringTurns reject anonymous calls on or off (yes or no). One of: yes, no Default no
voicemail-playback-announce-datetime-receivedstring One of: yes, no Default no
voicemail-playback-announce-caller-idstringID of the voicemail playback announce caller. One of: yes, no Default no
voicemail-playback-sort-newest-to-oldeststring One of: yes, no Default yes
caller-id-numberstring (phonenumber)Number shown to people you call.
caller-id-namestringName shown to people you call.
caller-id-number-emergencyanyNumber sent to 911 for callback.
area-codeinteger Min 100 Max 999
directory-name-visible-in-list-enabledstringTurns directory name visible in list on or off (yes or no). One of: yes, no Default yes
emergency-address-idstringID of the emergency address.
music-on-hold-randomized-enabledstringTurns music on hold randomized on or off (yes or no). One of: yes, no Default no
active-calls-total-currentinteger
created-datetimestring (date-time)Created (date and time).
last-modified-datetimestring (date-time)Last modified (date and time).
recording-configurationstring One of: yes, yes-with-transcription, yes-with-transcription-and-sentiment, no Default no

Example request

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

r = requests.post(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/sites",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
    json={
        "site": "string",
        "email": "jane@example.com"
    },
)
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.

Other responses: 409. See errors.

Update a site

PUT/domains/~/sites/{site}

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

Write Key Admin switch: Sites and departments, Write.

Parameters

NameInTypeNotes
site requiredpathstringThe site name.

Request body application/json

FieldTypeNotes
synchronousstringSet to yes to wait until the change is finished before the response comes back. One of: yes, no Default no
login-usernamestring
email requiredstring (email)Email address. Separate more than one with commas.
time-zonestringTime zone name, like America/New_York. One of: US/Alaska, US/Central, US/Eastern, US/Hawaii, US/Mountain, US/Pacific, Africa/Addis_Ababa, Africa/Algiers, Africa/Brazzaville, Africa/Cairo, Africa/Casablanca, Africa/Dakar, Africa/Dar_es_Salaam, Africa/Djibouti, Africa/Johannesburg, Africa/Khartoum, Africa/Kigali, Africa/Kinshasa, Africa/Lagos, Africa/Nairobi, Africa/Timbuktu, Africa/Tripoli, Africa/Tunis, America/Antigua, America/Aruba, America/Belize, America/Bogota, America/Buenos_Aires, America/Cancun, America/Caracas, America/Cayman, America/Chihuahua, America/Costa_Rica, America/Denver, America/Detroit, America/Edmonton, America/El_Salvador, America/Ensenada, America/Grenada, America/Guadeloupe ...
dial-planstringThe dial plan the item uses.
dial-policystringThe dial policy the item uses.
voicemail-user-control-enabledstringTurns voicemail user control on or off (yes or no). One of: yes, no Default yes
phone-numbers-to-allow-enabledstringTurns phone numbers to allow on or off (yes or no). One of: yes, no Default yes
phone-numbers-to-reject-enabledstringTurns phone numbers to reject on or off (yes or no). One of: yes, no Default yes
call-screening-enabledstringTurns call screening on or off (yes or no). One of: yes, no Default yes
language-tokenstringLanguage for prompts and voicemail, like en_US. Default en_US
limits-max-data-storage-kilobytesinteger Min 0
limits-max-active-calls-totalinteger Min 0 Max 3600
directory-announce-in-dial-by-name-enabledstringTurns directory announce in dial by name on or off (yes or no). One of: yes, no Default yes
voicemail-enabledstringTurns voicemail on or off (yes or no). One of: yes, no Default yes
voicemail-receive-broadcast-enabledstringTurns voicemail receive broadcast on or off (yes or no). One of: yes, no Default yes
reject-anonymous-calls-enabledstringTurns reject anonymous calls on or off (yes or no). One of: yes, no Default no
voicemail-playback-announce-datetime-receivedstring One of: yes, no Default no
voicemail-playback-announce-caller-idstringID of the voicemail playback announce caller. One of: yes, no Default no
voicemail-playback-sort-newest-to-oldeststring One of: yes, no Default yes
caller-id-numberstring (phonenumber)Number shown to people you call.
caller-id-namestringName shown to people you call.
caller-id-number-emergencyanyNumber sent to 911 for callback.
area-codeinteger Min 100 Max 999
directory-name-visible-in-list-enabledstringTurns directory name visible in list on or off (yes or no). One of: yes, no Default yes
emergency-address-idstringID of the emergency address.
music-on-hold-randomized-enabledstringTurns music on hold randomized on or off (yes or no). One of: yes, no Default no
active-calls-total-currentinteger
created-datetimestring (date-time)Created (date and time).
last-modified-datetimestring (date-time)Last modified (date and time).
recording-configurationstring One of: yes, yes-with-transcription, yes-with-transcription-and-sentiment, no Default no

Example request

curl -X PUT "https://api.noodlevoice.com/ns-api/v2/domains/~/sites/Main" \
  -H "Authorization: Bearer $NOODLEVOICE_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "email": "jane@example.com"
  }'
const res = await fetch("https://api.noodlevoice.com/ns-api/v2/domains/~/sites/Main", {
  method: "PUT",
  headers: {
    Authorization: "Bearer " + process.env.NOODLEVOICE_KEY,
    "Content-Type": "application/json",
  },
  body: JSON.stringify({
    "email": "jane@example.com"
  }),
});
const data = await res.json();
import os, requests

r = requests.put(
    "https://api.noodlevoice.com/ns-api/v2/domains/~/sites/Main",
    headers={"Authorization": "Bearer " + os.environ["NOODLEVOICE_KEY"]},
    json={
        "email": "jane@example.com"
    },
)
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.