API Reference
Key Admin
Account

Billing summary

The billing summary shows usage and plan details for the account. Read only.

In the Key Admin this is the Billing summary switch. Read lets a key call the GET endpoints below. This feature is read only.

Get the billing summary

GET/domains/~/billing

Returns the billing and usage summary for the account.

Read Key Admin switch: Billing summary, Read. Read only keys also work.

Example request

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

Response 200

{
  "domain": "string",
  "reseller": "string",
  "description": "string",
  "music-on-hold-enabled": "yes",
  "music-on-ring-enabled": "yes",
  "music-on-hold-randomized-enabled": "yes",
  "domain-type": "Standard",
  "dial-plan": "string",
  "...": "34 more fields"
}
Response fields (42)
FieldTypeNotes
domainstringThe account the item belongs to. Max length 64
resellerstringThe parent account group. Set by the platform.
descriptionstringA note about the item.
music-on-hold-enabledstringTurns music on hold on or off (yes or no). One of: yes, no
music-on-ring-enabledstringTurns music on ring on or off (yes or no). One of: yes, no
music-on-hold-randomized-enabledstringTurns music on hold randomized on or off (yes or no). One of: yes, no
domain-typestring One of: Standard, Residential, Hospitality
dial-planstringThe dial plan the item uses.
dial-policystringThe dial policy the item uses.
email-send-from-addressstring
single-sign-on-enabledstringTurns single sign on on or off (yes or no). One of: yes, no
area-codenumber Min 100 Max 999
caller-id-namestringName shown to people you call.
caller-id-numberstringNumber shown to people you call.
caller-id-number-emergencystringNumber sent to 911 for callback.
limits-max-subcriber-resources-totalinteger
limits-max-active-calls-totalinteger
limits-max-active-calls-offnetinteger
limits-max-call-queuesinteger
limits-max-auto-attendantsinteger
limits-max-conferencesinteger
limits-max-departmentsinteger
limits-max-usersinteger
limits-max-sitesinteger
limits-max-fax-accountsinteger
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 ...
email-send-smtp-hostnamestring (hostname)
email-send-smtp-portstring
email-send-smtp-usernamestring
email-send-smtp-passwordstring (pass)
active-calls-total-currentinteger
active-calls-against-license-countintegerNumber of active calls against license.
active-calls-offnet-currentinteger
count-subcriber-resources-totalinteger
emergency-address-idstringID of the emergency address.
voicemail-enabledstringTurns voicemail on or off (yes or no). One of: yes, no
recording-configurationstring One of: yes, yes-with-transcription, yes-with-transcription-and-sentiment, no Default no
voicemail-transcription-enabledstringTurns voicemail transcription on or off (yes or no). One of: no, Deepgram, Google, Mutare, Voicebase Default no
language-tokenstringLanguage for prompts and voicemail, like en_US. Default en_US
is-domain-lockedstring One of: yes, no
is-stir-enabledstringTurns is stir on or off (yes or no). One of: yes, no
is-ivr-forward-change-blockedstring One of: yes, no

Other responses: 404. See errors.