{ "opencollection": "1.0.0", "info": { "name": "Webex Admin Address Book PSTN API", "version": "1.0.0" }, "items": [ { "info": { "name": "PSTN", "type": "folder" }, "items": [ { "info": { "name": "Retrieve PSTN Connection Options for a Location", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/telephony/pstn/locations/:locationId/connectionOptions", "params": [ { "name": "locationId", "value": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzEyMzQ1", "type": "path", "description": "Return the list of List PSTN location connection options for this location." }, { "name": "orgId", "value": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE", "type": "query", "description": "List PSTN location connection options for this organization." }, { "name": "serviceTypes", "value": "MOBILE_NUMBERS", "type": "query", "description": "Use the `serviceTypes` parameter to fetch connections for the following services\n* `MOBILE_NUMBERS`" } ] }, "docs": "Retrieve the list of PSTN connection options available for a location.\n\nPSTN location connection settings enables the admin to configure or change the PSTN provider for a location.\n\nRetrieving this list requires a full or read-only administrator auth token with a scope of `spark-admin:telephony_pstn_read`." }, { "info": { "name": "Retrieve PSTN Connection for a Location", "type": "http" }, "http": { "method": "GET", "url": "{{baseUrl}}/telephony/pstn/locations/:locationId/connection", "params": [ { "name": "locationId", "value": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzEyMzQ1", "type": "path", "description": "Retrieve PSTN location connection details for this location." }, { "name": "orgId", "value": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE", "type": "query", "description": "Retrieve PSTN location connection details for this organization." } ] }, "docs": "Retrieves the current configured PSTN connection details for a location.\n\nPSTN location connection settings enables the admin to configure or change the PSTN provider for a location.\n\nRetrieving the PSTN connection details for a location requires a full or read-only administrator auth token with a scope of `spark-admin:telephony_pstn_read`." }, { "info": { "name": "Setup PSTN Connection for a Location", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/telephony/pstn/locations/:locationId/connection", "params": [ { "name": "locationId", "value": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzEyMzQ1", "type": "path", "description": "Setup PSTN location connection options for this location." }, { "name": "orgId", "value": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE", "type": "query", "description": "Setup PSTN location connection for this organization." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Set up or update the PSTN connection details for a location.\n\nPSTN location connection settings enables the admin to configure or change the PSTN provider for a location.\n\nSetting up PSTN connection on a location requires a full administrator auth token with scopes of `spark-admin:telephony_pstn_write` and `spark-admin:telephony_pstn_read`." }, { "info": { "name": "Update the Emergency Address for a Phone Number", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/telephony/pstn/numbers/:phoneNumber/emergencyAddress", "params": [ { "name": "phoneNumber", "value": "Y2lzY29zcGFyazovL3VzL1BIT05FX05VTUJFUi8rMTk4NzY1NDMyMTA", "type": "path", "description": "Update the emergency address for this phone number." }, { "name": "orgId", "value": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE", "type": "query", "description": "Update the emergency address of phone number in this organization." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Update the emergency address for a phone number.\n\nEmergency address settings allow the admin to configure or update the physical address associated with a phone number or a location.\n\nUpdating the emergency address for a phone number requires a full administrator auth token with scope of `spark-admin:telephony_pstn_write`." }, { "info": { "name": "Emergency Address Lookup to Verify if Address is Valid", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/telephony/pstn/locations/:locationId/emergencyAddress/lookup", "params": [ { "name": "locationId", "value": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzAwM2FmYjBhLTBiZWMtNGQ1Yy05Mjc4LTRmMDdhYWY4OTg4ZA", "type": "path", "description": "Emergency address lookup for this location." }, { "name": "orgId", "value": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE", "type": "query", "description": "Emergency address lookup for this organization." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Returns a suggested address. If the input address is valid and unchanged, no errors are returned. If the input address requires corrections, the response includes a suggested address along with error details.\n\nEmergency address settings allow the admin to configure or update the physical address associated with a phone number or a location.\n\nEmergency address lookup to verify if address is valid requires a full administrator auth token with scope of `spark-admin:telephony_pstn_read`." }, { "info": { "name": "Add an Emergency Address to a Location", "type": "http" }, "http": { "method": "POST", "url": "{{baseUrl}}/telephony/pstn/locations/:locationId/emergencyAddress", "params": [ { "name": "locationId", "value": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzAwM2FmYjBhLTBiZWMtNGQ1Yy05Mjc4LTRmMDdhYWY4OTg4ZA", "type": "path", "description": "Location to which the emergency address will be added." }, { "name": "orgId", "value": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE", "type": "query", "description": "Adding emergency address for a location in this organization." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Adds a new emergency address to the specified location. On success, returns the unique identifier of the newly created emergency address.\n\nEmergency address settings allow the admin to configure or update the physical address associated with a phone number or a location.\n\nAdding emergency address to a location requires a full administrator auth token with scope of `spark-admin:telephony_pstn_write`." }, { "info": { "name": "Update the Emergency Address of a Location", "type": "http" }, "http": { "method": "PUT", "url": "{{baseUrl}}/telephony/pstn/locations/:locationId/emergencyAddresses/:addressId", "params": [ { "name": "locationId", "value": "Y2lzY29zcGFyazovL3VzL0xPQ0FUSU9OLzAwM2FmYjBhLTBiZWMtNGQ1Yy05Mjc4LTRmMDdhYWY4OTg4ZA", "type": "path", "description": "Location for which the emergency address will be updated." }, { "name": "addressId", "value": "Y2lzY29zcGFyazovL3VzL0VNRVJHRU5DWV9BRERSRVNTLzhiMjdlM2JiLWY5Y2EtNDkyYi05YWM5LWVkZGEzN2EwY2IzZA", "type": "path", "description": "Unique identifier for the emergency address that will be updated." }, { "name": "orgId", "value": "Y2lzY29zcGFyazovL3VzL09SR0FOSVpBVElPTi85NmFiYzJhYS0zZGNjLTExZTUtYTE1Mi1mZTM0ODE5Y2RjOWE", "type": "query", "description": "Updating the emergency address of a location in this organization." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Updates the emergency address of the specified location.\n\nEmergency address settings allow the admin to configure or update the physical address associated with a phone number or a location.\n\nUpdating the emergency address of a location requires a full administrator auth token with scope of `spark-admin:telephony_pstn_write`." } ] } ], "bundled": true }