{
  "info": {
    "_postman_id": "apeiron-voice",
    "name": "Apeiron API - Voice",
    "description": "Active call management, call control (connect/playback), call forwarding, call recording, voicemail, trunk groups, routing, SIP header manipulation, call procedures, and voice performance stats.\n\nCollection Version: 1.0.0\nBase URL: https://api.apeiron.io/v2\nAuth: HTTP Basic (email + API token) or JWT Bearer token\nAPI Reference: https://api.apeiron.io/v2/",
    "version": "1.0.0",
    "schema": "https://schema.getpostman.com/json/collection/v2.1.0/collection.json"
  },
  "auth": {
    "type": "basic",
    "basic": [
      {
        "key": "username",
        "value": "{{username}}",
        "type": "string"
      },
      {
        "key": "password",
        "value": "{{api_token}}",
        "type": "string"
      }
    ]
  },
  "variable": [
    {
      "key": "base_url",
      "value": "https://api.apeiron.io",
      "type": "string"
    },
    {
      "key": "username",
      "value": "",
      "type": "string"
    },
    {
      "key": "api_token",
      "value": "",
      "type": "string"
    }
  ],
  "item": [
    {
      "name": "Active Calls",
      "description": "Active Calls endpoints",
      "item": [
        {
          "name": "List active calls",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voice/active_calls?page_size=100",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "active_calls"
              ],
              "query": [
                {
                  "key": "page_size",
                  "value": "100",
                  "description": "Custom page size for pagination",
                  "disabled": true
                }
              ]
            },
            "description": "Retrieve a list of calls currently in progress."
          }
        },
        {
          "name": "Get active call information",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voice/active_calls/{call_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "active_calls",
                "{call_id}"
              ]
            },
            "description": "Retrieve information about an active call."
          }
        },
        {
          "name": "Terminate active call",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voice/active_calls/{call_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "active_calls",
                "{call_id}"
              ]
            },
            "description": "Terminate active call."
          }
        }
      ]
    },
    {
      "name": "Call Control",
      "description": "Call Control endpoints",
      "item": [
        {
          "name": "Connect call",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/connect_call/{number}/{destination}?callback=",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "connect_call",
                "{number}",
                "{destination}"
              ],
              "query": [
                {
                  "key": "callback",
                  "value": "",
                  "description": "Callback URL. If present, a POST request will be made to callback URL on each task status update (started, completed, failed).",
                  "disabled": false
                }
              ]
            },
            "description": "Connect a call between number and destination"
          }
        },
        {
          "name": "Connect call status",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/connect_call/status/{task_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "connect_call",
                "status",
                "{task_id}"
              ]
            },
            "description": "Real-time status of a \"Connect Call\" task"
          }
        },
        {
          "name": "Playback audio call",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/playback_audio_call/{number}/{destination}?callback=",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "playback_audio_call",
                "{number}",
                "{destination}"
              ],
              "query": [
                {
                  "key": "callback",
                  "value": "",
                  "description": "Callback URL. If present, a POST request will be made to callback URL on each task status update (started, completed, failed).",
                  "disabled": false
                }
              ]
            },
            "description": "Call destination from number and playback audio",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "document",
                  "description": "Audio file to playback",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Playback audio call status",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/playback_audio_call/status/{task_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "playback_audio_call",
                "status",
                "{task_id}"
              ]
            },
            "description": "Real-time status of a \"Playback Audio Call\" task"
          }
        }
      ]
    },
    {
      "name": "Call Forwarding",
      "description": "Call Forwarding endpoints",
      "item": [
        {
          "name": "List call forwarding",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/inventory/numbers/call_forwarding?from_number=",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "inventory",
                "numbers",
                "call_forwarding"
              ],
              "query": [
                {
                  "key": "from_number",
                  "value": "",
                  "description": "Number to filter on from_number",
                  "disabled": true
                }
              ]
            },
            "description": "List all call forwarding configurations on the account"
          }
        },
        {
          "name": "Create or update call forwarding",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/inventory/numbers/call_forwarding",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "inventory",
                "numbers",
                "call_forwarding"
              ]
            },
            "description": "Create a call forwarding configuration, or update one if it exists for a `from_number`",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "from_number",
                  "description": "Number on account",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "number1",
                  "description": "Number to forward to",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "caller_id",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "number2",
                  "description": "Number to forward to",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "number3",
                  "description": "Number to forward to",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "number4",
                  "description": "Number to forward to",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "number5",
                  "description": "Number to forward to",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "forwarding_type",
                  "description": "Forwarding type",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "active",
                  "description": "",
                  "type": "text",
                  "value": "True"
                }
              ]
            }
          }
        },
        {
          "name": "Remove call forwarding",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/inventory/numbers/call_forwarding/{from_number}/delete?from_number=",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "inventory",
                "numbers",
                "call_forwarding",
                "{from_number}",
                "delete"
              ],
              "query": [
                {
                  "key": "from_number",
                  "value": "",
                  "description": "Number to remove call forwarding for",
                  "disabled": false
                }
              ]
            },
            "description": "Remove all call forwarding configurations for the given `from_number`"
          }
        }
      ]
    },
    {
      "name": "Call Procedures",
      "description": "Call Procedures endpoints",
      "item": [
        {
          "name": "List call procedure endpoints",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/call_proc/endpoints/",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "call_proc",
                "endpoints"
              ]
            },
            "description": "List all call procedure endpoints related to the requesting user."
          }
        },
        {
          "name": "List call procedure endpoint numbers",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/call_proc/endpoints/{endpoint_id}/numbers/",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "call_proc",
                "endpoints",
                "{endpoint_id}",
                "numbers"
              ]
            },
            "description": "List all numbers assigned to a given call procedure endpoint."
          }
        },
        {
          "name": "Add number to endpoint",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{base_url}}/call_proc/endpoints/{endpoint_id}/",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "call_proc",
                "endpoints",
                "{endpoint_id}"
              ]
            },
            "description": "Add a number to a call procedure endpoint",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "number",
                  "description": "Number being added to the endpoint.",
                  "type": "text",
                  "value": "1234567890"
                }
              ]
            }
          }
        },
        {
          "name": "Remove number from endpoint",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{base_url}}/call_proc/endpoints/{endpoint_id}/numbers/{number}/",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "call_proc",
                "endpoints",
                "{endpoint_id}",
                "numbers",
                "{number}"
              ]
            },
            "description": "Remove a number from a call procedure endpoint"
          }
        }
      ]
    },
    {
      "name": "Call Recording",
      "description": "Call Recording endpoints",
      "item": [
        {
          "name": "Get call recording status",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voice/trunk_group/{trunk_id}/call_recording",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "trunk_group",
                "{trunk_id}",
                "call_recording"
              ]
            },
            "description": "Get call recording status on trunk group"
          }
        },
        {
          "name": "Update call recording status",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voice/trunk_group/{trunk_id}/call_recording",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "trunk_group",
                "{trunk_id}",
                "call_recording"
              ]
            },
            "description": "Update call recording status on trunk group",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "call_recording",
                  "description": "Call recording status",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "List call recordings",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voice/call_recording/{customer_number}/list?trunk_id=&orig_number=&term_number=&call_id=&call_length_min=&call_length_max=&start=&end=",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "call_recording",
                "{customer_number}",
                "list"
              ],
              "query": [
                {
                  "key": "trunk_id",
                  "value": "",
                  "description": "Trunk group ID",
                  "disabled": true
                },
                {
                  "key": "orig_number",
                  "value": "",
                  "description": "Call recording origination number",
                  "disabled": true
                },
                {
                  "key": "term_number",
                  "value": "",
                  "description": "Call recording termination number",
                  "disabled": true
                },
                {
                  "key": "call_id",
                  "value": "",
                  "description": "Call ID",
                  "disabled": true
                },
                {
                  "key": "call_length_min",
                  "value": "",
                  "description": "Minimum call duration in seconds",
                  "disabled": true
                },
                {
                  "key": "call_length_max",
                  "value": "",
                  "description": "Maximum call duration in seconds",
                  "disabled": true
                },
                {
                  "key": "start",
                  "value": "",
                  "description": "Earliest call recording time to return",
                  "disabled": true
                },
                {
                  "key": "end",
                  "value": "",
                  "description": "Latest call recording time to return",
                  "disabled": true
                }
              ]
            },
            "description": "List call recordings and meta data"
          }
        },
        {
          "name": "Get call recording audio",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voice/call_recording/{call_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "call_recording",
                "{call_id}"
              ]
            },
            "description": "Get call recording audio, if it exists. Note that the audio content will be returned in the response body. Content-length and Content-type headers will also be returned."
          }
        },
        {
          "name": "Delete call recording",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voice/call_recording/{call_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "call_recording",
                "{call_id}"
              ]
            },
            "description": "Delete call recording"
          }
        }
      ]
    },
    {
      "name": "Routing",
      "description": "Routing endpoints",
      "item": [
        {
          "name": "Get route information",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voice/routes/{number}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "routes",
                "{number}"
              ]
            },
            "description": "Get route details"
          }
        },
        {
          "name": "Update route information",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voice/routes/{number}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "routes",
                "{number}"
              ]
            },
            "description": "Change route details",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "inbound_ra1",
                  "description": "Trunk group ID to route to",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "inbound_ra2",
                  "description": "Trunk group ID to route to",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "inbound_ra3",
                  "description": "Trunk group ID to route to",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "SIP Header Manipulation",
      "description": "SIP Header Manipulation endpoints",
      "item": [
        {
          "name": "List SIP Header Manipulation Lists",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/sip_header_manipulation/lists?id=&label=&direction=",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sip_header_manipulation",
                "lists"
              ],
              "query": [
                {
                  "key": "id",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "label",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "direction",
                  "value": "",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "List SIP Header Manipulation Lists"
          }
        },
        {
          "name": "Create SIP Header Manipulation List",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/sip_header_manipulation/lists",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sip_header_manipulation",
                "lists"
              ]
            },
            "description": "Create SIP Header Manipulation List",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "label",
                  "description": "A user defined label",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "direction",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "document",
                  "description": ".csv file containing two columns (match_value, replace_value) of data. Each entry cannot be longer than 64 characters.",
                  "type": "file",
                  "src": ""
                }
              ]
            }
          }
        },
        {
          "name": "Get SIP Header Manipulation List",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/sip_header_manipulation/lists/{shm_list_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sip_header_manipulation",
                "lists",
                "{shm_list_id}"
              ]
            },
            "description": "Get SIP Header Manipulation List details"
          }
        },
        {
          "name": "Update SIP Header Manipulation List",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{base_url}}/sip_header_manipulation/lists/{shm_list_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sip_header_manipulation",
                "lists",
                "{shm_list_id}"
              ]
            },
            "description": "Update SIP Header Manipulation List asynchronously. Creates a job, and returns an ID that can be used to check the status of that job.",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "label",
                  "description": "A user defined label",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "document",
                  "description": ".csv file containing two columns (match_value, replace_value) of data. Existing data will be replaced. Each entry cannot be longer than 64 characters.",
                  "type": "file",
                  "src": ""
                }
              ]
            }
          }
        },
        {
          "name": "Delete SIP Header Manipulation List",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{base_url}}/sip_header_manipulation/lists/{shm_list_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sip_header_manipulation",
                "lists",
                "{shm_list_id}"
              ]
            },
            "description": "Delete an existing SIP Header Manipulation List. An asynchronous job will be created for entries in this list will be deleted."
          }
        },
        {
          "name": "Get SIP Header Manipulation List entries",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/sip_header_manipulation/lists/{shm_list_id}/entries",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sip_header_manipulation",
                "lists",
                "{shm_list_id}",
                "entries"
              ]
            },
            "description": "Get SIP Header Manipulation List entries"
          }
        },
        {
          "name": "List SIP Header Manipulation Profiles",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/sip_header_manipulation/profiles?label=&direction=&profile_type=",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sip_header_manipulation",
                "profiles"
              ],
              "query": [
                {
                  "key": "label",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "direction",
                  "value": "",
                  "description": "",
                  "disabled": true
                },
                {
                  "key": "profile_type",
                  "value": "",
                  "description": "",
                  "disabled": true
                }
              ]
            },
            "description": "List SIP Header Manipulation Profiles"
          }
        },
        {
          "name": "Create SIP Header Manipulation Profile",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/sip_header_manipulation/profiles",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sip_header_manipulation",
                "profiles"
              ]
            },
            "description": "Submit an asynchronous job to create a SIP Header Manipulation Profile",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "label",
                  "description": "A user defined label",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "direction",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "profile_type",
                  "description": "DNIS Translation profile types are for egress direction only, while Dynamic E911 and Static E911 profile types are for ingress direction only.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "shm_list_id",
                  "description": "ID of a SIP Header Manipulation List. Note that the direction on this list must match the direction of the profile.",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Get SIP Header Manipulation Job status",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/sip_header_manipulation/job_status/{job_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sip_header_manipulation",
                "job_status",
                "{job_id}"
              ]
            },
            "description": "Get status of a SIP Header Manipulation job initiated by an asynchronous endpoint"
          }
        },
        {
          "name": "Get SIP Header Manipulation Profile",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/sip_header_manipulation/profiles/{shm_profile_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sip_header_manipulation",
                "profiles",
                "{shm_profile_id}"
              ]
            },
            "description": "Get SIP Header Manipulation Profile details"
          }
        },
        {
          "name": "Update SIP Header Manipulation Profile",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{base_url}}/sip_header_manipulation/profiles/{shm_profile_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sip_header_manipulation",
                "profiles",
                "{shm_profile_id}"
              ]
            },
            "description": "Submit an asynchronous job to update a SIP Header Manipulation Profile",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "label",
                  "description": "A user defined label",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "shm_list_id",
                  "description": "ID of a SIP Header Manipulation List. Note that the direction on this list must match the direction of the profile.",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Delete SIP Header Manipulation Profile",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{base_url}}/sip_header_manipulation/profiles/{shm_profile_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "sip_header_manipulation",
                "profiles",
                "{shm_profile_id}"
              ]
            },
            "description": "Submit an asynchronous job to delete an existing SIP Header Manipulation Profile"
          }
        }
      ]
    },
    {
      "name": "Trunk Groups",
      "description": "Trunk Groups endpoints",
      "item": [
        {
          "name": "Create SIP trunk group",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voice/trunk_groups",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "trunk_groups"
              ]
            },
            "description": "Create a single SIP trunk group",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "auth_type",
                  "description": "Authentication type, use \"I\" for IP authentication and \"R\" for registration authentication",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "direction",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "channels",
                  "description": "Maximum number of call paths",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "cps",
                  "description": "Maximum number of calls per second. Cannot exceed 1/20th of channels.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "sip_port",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "domain",
                  "description": "Domain to use for registration authentication. Required for registration authentication type trunk groups.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "username",
                  "description": "Username to use for registration authentication. Only alphanumeric characters, digits, underscores, pluses, and minuses are allowed. Required for registration authentication type trunk groups.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "password",
                  "description": "Password to use for registration authentication. Required for registration authentication type trunk groups.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "hosts",
                  "description": "A comma separated string of hosts with subnet mask, ex. `100.22.33.44/32, 100.23.34.45/32`. Required for IP authentication type.",
                  "type": "text",
                  "value": "100.22.33.44/32, 100.23.34.45/32"
                },
                {
                  "key": "inbound_distribution_type",
                  "description": "Distribution type. Available options are \"hunt\" and \"rr\" for round robin",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "inbound_dial_pattern",
                  "description": "",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "codec_rtp_G711u64K",
                  "description": "Whether to enable G711u64K codec for RTP",
                  "type": "text",
                  "value": "True"
                },
                {
                  "key": "codec_rtp_G729a",
                  "description": "Whether to enable G729a codec for RTP",
                  "type": "text",
                  "value": "False"
                },
                {
                  "key": "codec_rtp_G722",
                  "description": "Whether to enable G722 codec for RTP",
                  "type": "text",
                  "value": "False"
                },
                {
                  "key": "codec_dtmf_RFC2833",
                  "description": "Whether to enable RFC2833 codec for DTMF",
                  "type": "text",
                  "value": "False"
                },
                {
                  "key": "codec_dtmf_inband",
                  "description": "Whether to enable inband codec for DTMF",
                  "type": "text",
                  "value": "False"
                },
                {
                  "key": "codec_fax",
                  "description": "Codec to use for fax, one of G711, T38, T38Fallback",
                  "type": "text",
                  "value": "T38Fallback"
                },
                {
                  "key": "service_port_profile",
                  "description": "Service port profile to use for this trunk group, can be either east/west or west/east",
                  "type": "text",
                  "value": "west/east"
                },
                {
                  "key": "sip_service_port_name",
                  "description": "Service port name to use. Check the listTrunkGroupServicePortProfiles endpoint for valid names.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "label",
                  "description": "User defined name for this trunk group",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "e911_type",
                  "description": "",
                  "type": "text",
                  "value": "static"
                },
                {
                  "key": "allow_intl_high_risk",
                  "description": "Set call treatment to allow or disallow international high risk.",
                  "type": "text",
                  "value": "False"
                },
                {
                  "key": "allow_intl_medium_risk",
                  "description": "Set call treatment to allow or disallow international medium risk.",
                  "type": "text",
                  "value": "False"
                },
                {
                  "key": "allow_intl_low_risk",
                  "description": "Set call treatment to allow or disallow international low risk.",
                  "type": "text",
                  "value": "False"
                },
                {
                  "key": "allow_xus",
                  "description": "Set call treatment to allow or disallow XUS.",
                  "type": "text",
                  "value": "False"
                },
                {
                  "key": "allow_offs",
                  "description": "Set call treatment to allow or disallow OFFs.",
                  "type": "text",
                  "value": "False"
                },
                {
                  "key": "allow_l48",
                  "description": "Set call treatment to allow or disallow L48.",
                  "type": "text",
                  "value": "True"
                },
                {
                  "key": "teleblock",
                  "description": "Set call treatment to allow or disallow teleblock.",
                  "type": "text",
                  "value": "False"
                },
                {
                  "key": "allow_directory",
                  "description": "Set call treatment to allow or disallow directory.",
                  "type": "text",
                  "value": "False"
                }
              ]
            }
          }
        },
        {
          "name": "Get trunk group information",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voice/trunk_groups/{trunk_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "trunk_groups",
                "{trunk_id}"
              ]
            },
            "description": "Get trunk group details"
          }
        },
        {
          "name": "Update trunk group",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voice/trunk_groups/{trunk_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "trunk_groups",
                "{trunk_id}"
              ]
            },
            "description": "Change trunk group status. Changes take several minutes to complete, and additional changes cannot be made while other changes are being applied.",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "status",
                  "description": "Update trunk group status",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "call_recording",
                  "description": "Update trunk group call recording status on trunk group. This setting is unchanged if not provided.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "tech_prefix",
                  "description": "Optional tech prefix.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "channels",
                  "description": "Maximum capacity. Not all trunk groups are allowed to have their channels updated.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "allow_intl_high_risk",
                  "description": "Update call treatment to allow or disallow international high risk. This setting is unchanged if not provided.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "allow_intl_medium_risk",
                  "description": "Update call treatment to allow or disallow international medium risk. This setting is unchanged if not provided.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "allow_intl_low_risk",
                  "description": "Update call treatment to allow or disallow international low risk. This setting is unchanged if not provided.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "allow_xus",
                  "description": "Update call treatment to allow or disallow XUS. This setting is unchanged if not provided.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "allow_offs",
                  "description": "Update call treatment to allow or disallow OFFs. This setting is unchanged if not provided.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "allow_l48",
                  "description": "Update call treatment to allow or disallow L48. This setting is unchanged if not provided.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "teleblock",
                  "description": "Update call treatment to allow or disallow teleblock. This setting is unchanged if not provided.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "allow_directory",
                  "description": "Update call treatment to allow or disallow directory. This setting is unchanged if not provided.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "egress_shm_profile_id",
                  "description": "Update Egress SIP Header Manipulation Profile. This setting is unchanged if not provided.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "sip_service_port_name",
                  "description": "Service port name to use. Check the listTrunkGroupServicePortProfiles endpoint for valid names.",
                  "type": "text",
                  "value": ""
                },
                {
                  "key": "e911_type",
                  "description": "",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "List SIP service port profiles",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voice/trunk_groups/service_port_profiles",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voice",
                "trunk_groups",
                "service_port_profiles"
              ]
            },
            "description": "List eligible SIP service port profiles"
          }
        },
        {
          "name": "Switch number's trunk group",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{base_url}}/numbers/switch_trunk_group/{number}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "numbers",
                "switch_trunk_group",
                "{number}"
              ]
            },
            "description": "Change assigned trunk group of a number to another trunk group.",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "tgid",
                  "description": "Trunk group ID to change the number to",
                  "type": "text",
                  "value": ""
                }
              ]
            }
          }
        },
        {
          "name": "Create Feature Trunk Group",
          "request": {
            "method": "POST",
            "header": [],
            "url": {
              "raw": "{{base_url}}/ordering/create_feature_trunk_group",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "ordering",
                "create_feature_trunk_group"
              ]
            },
            "description": "Create Feature Trunk Group.",
            "body": {
              "mode": "formdata",
              "formdata": [
                {
                  "key": "label",
                  "description": "Label for the Feature Trunk Group",
                  "type": "text",
                  "value": "New Feature Trunk Group"
                }
              ]
            }
          }
        }
      ]
    },
    {
      "name": "Voice Performance",
      "description": "Voice Performance endpoints",
      "item": [
        {
          "name": "Get trunk group latest stats",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/stats/trunk_groups/{trunk_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "stats",
                "trunk_groups",
                "{trunk_id}"
              ]
            },
            "description": "Get most recent concurrent calls and calls per second for a trunk group"
          }
        },
        {
          "name": "Get trunk group latest performance",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/performance/trunk_groups/{trunk_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "performance",
                "trunk_groups",
                "{trunk_id}"
              ]
            },
            "description": "Get most recent performance statistics for a trunk group"
          }
        },
        {
          "name": "Get latest MOS",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/performance/mos/{customer_number}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "performance",
                "mos",
                "{customer_number}"
              ]
            },
            "description": "Get latest MOS numbers by sip caller ip"
          }
        }
      ]
    },
    {
      "name": "Voicemail",
      "description": "Voicemail endpoints",
      "item": [
        {
          "name": "List all received voicemail",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voicemail/received?page_size=100",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voicemail",
                "received"
              ],
              "query": [
                {
                  "key": "page_size",
                  "value": "100",
                  "description": "Custom page size for pagination",
                  "disabled": true
                }
              ]
            },
            "description": "List all received voicemail"
          }
        },
        {
          "name": "List received voicemail",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voicemail/received/{number}?page_size=100",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voicemail",
                "received",
                "{number}"
              ],
              "query": [
                {
                  "key": "page_size",
                  "value": "100",
                  "description": "Custom page size for pagination",
                  "disabled": true
                }
              ]
            },
            "description": "List received voicemail for a number"
          }
        },
        {
          "name": "List voicemail greetings",
          "request": {
            "method": "GET",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voicemail/greetings?page_size=100",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voicemail",
                "greetings"
              ],
              "query": [
                {
                  "key": "page_size",
                  "value": "100",
                  "description": "Custom page size for pagination",
                  "disabled": true
                }
              ]
            },
            "description": "List all voicemail greetings"
          }
        },
        {
          "name": "Delete voicemail greeting",
          "request": {
            "method": "DELETE",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voicemail/greetings/{number}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voicemail",
                "greetings",
                "{number}"
              ]
            },
            "description": "Remove voicemail greeting from a number"
          }
        },
        {
          "name": "Set voicemail greeting",
          "request": {
            "method": "PUT",
            "header": [],
            "url": {
              "raw": "{{base_url}}/voicemail/greetings/{number}/{document_id}",
              "host": [
                "{{base_url}}"
              ],
              "path": [
                "voicemail",
                "greetings",
                "{number}",
                "{document_id}"
              ]
            },
            "description": "Set a voicemail greeting on a voicemail enabled number. Replaces any existing voicemail greeting on that number."
          }
        }
      ]
    }
  ]
}