Webex Call Routing API

The Call Routing API from Webex — 28 operation(s) for call routing.

GitHub OpenAPI

Operations 47

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /telephony/config/actions/testCallRouting/invoke Test whether an incoming call routes correctly · Test Call Routing #
Ask an LLM
“Can I test how a call would be routed before it actually goes through?”
“What does a call routing test need, like an originator and destination?”
Tell an agent
Test call routing for originator {originator} to destination {destination}.
Validate that {destination} routes through trunk {originator} with originator type {originatorType}.
GET /telephony/config/premisePstn/trunks/{trunkId}/usageDialPlan See which dial plan a trunk uses · Get Local Gateway Dial Plan Usage for a Trunk #
Ask an LLM
“Which dial plan is a particular trunk using for its PSTN calls?”
“Can I check a trunk's dial plan usage for troubleshooting?”
Tell an agent
Show the dial plan usage for trunk {trunk}.
List the dial plan trunk {trunk} is routing calls through.
GET /telephony/config/premisePstn/trunks/{trunkId}/usagePstnConnection List locations using a trunk as PSTN connection · Get Locations Using the Local Gateway as PSTN Connection Routing #
Ask an LLM
“Which locations use a trunk as their PSTN connection?”
“Can I find out where a trunk is routing PSTN calls?”
Tell an agent
List locations using trunk {trunk} as PSTN connection.
Show which locations route PSTN calls over trunk {trunk}.
GET /telephony/config/premisePstn/trunks/{trunkId}/usageRouteGroup List route groups a trunk belongs to · Get Route Groups Using the Local Gateway #
Ask an LLM
“Which route group is a trunk assigned to?”
“Can I see the route groups that use a trunk?”
Tell an agent
List route groups using trunk {trunk}.
Show which route groups trunk {trunk} belongs to.
GET /telephony/config/premisePstn/trunks/{trunkId}/usage Count calls routed through a trunk · Get Local Gateway Usage Count #
Ask an LLM
“How many calls has a trunk handled?”
“Can I get a usage count for a trunk?”
Tell an agent
Get the usage count for trunk {trunk}.
Count calls routed through trunk {trunk}.
PUT /telephony/config/premisePstn/dialPlans/{dialPlanId}/dialPatterns Add or remove dial patterns on a dial plan · Modify Dial Patterns #
Ask an LLM
“Can I add new dial patterns to a dial plan?”
“Is it possible to delete all dial patterns on a dial plan?”
Tell an agent
Add dial patterns {patterns} to dial plan {plan}.
Delete all dial patterns on dial plan {plan}.
POST /telephony/config/premisePstn/actions/validateDialPatterns/invoke Check that dial patterns are valid · Validate a Dial Pattern #
Ask an LLM
“Can I validate a dial pattern before adding it to a dial plan?”
“What does a dial pattern validation return?”
Tell an agent
Validate dial patterns {patterns}.
Check that {patterns} are valid dial patterns.
GET /telephony/config/premisePstn/dialPlans List dial plans for an organization · Read the List of Dial Plans #
Ask an LLM
“What dial plans exist for my organization?”
“Can I find a dial plan by route group or trunk name?”
Tell an agent
List all dial plans in organization {org}.
Find dial plans named {name} using route group {route}.
POST /telephony/config/premisePstn/dialPlans Create a dial plan for on-premises routing · Create a Dial Plan #
Ask an LLM
“How do I route calls to on-premises destinations with a dial plan?”
“Can a new dial plan route calls to a trunk or route group?”
Tell an agent
Create dial plan {name} routing to {routeType} {routeId}.
Add dial patterns {patterns} to new dial plan {name} on {routeType} {routeId}.
GET /telephony/config/premisePstn/dialPlans/{dialPlanId} Get a dial plan · Get a Dial Plan #
Ask an LLM
“What trunk or route group does a dial plan route calls to?”
“Can I view one dial plan's settings?”
Tell an agent
Get dial plan {plan}.
Show the settings of dial plan {plan}.
PUT /telephony/config/premisePstn/dialPlans/{dialPlanId} Change a dial plan's settings · Modify a Dial Plan #
Ask an LLM
“Can I change the trunk or route group a dial plan routes calls to?”
“What can I edit on an existing dial plan?”
Tell an agent
Change dial plan {plan} to route to {routeType} {routeId}.
Rename existing dial plan {plan} to {name}.
DELETE /telephony/config/premisePstn/dialPlans/{dialPlanId} Delete a dial plan · Delete a Dial Plan #
Ask an LLM
“Can I remove a dial plan I no longer use?”
“What happens to calls when a dial plan is deleted?”
Tell an agent destructive · confirm first
Delete dial plan {plan}.
Remove the unused dial plan {plan}.
POST /telephony/config/premisePstn/trunks/actions/validate/invoke Validate trunk settings before creating · Validate a Trunk #
Ask an LLM
“How do I check trunk settings like FQDN and domain before creating the trunk?”
“Can I validate a Local Gateway trunk's peer identity and trunk type?”
Tell an agent
Validate trunk settings {fqdnAddress} and {fqdnDomain} for org {orgId}.
Validate a {trunkType} trunk with peer identity {peerIdentity}.
POST /telephony/config/premisePstn/trunks/actions/fqdnValidation/invoke Check a trunk's FQDN and domain · Validate Local Gateway FQDN and Domain for a Trunk #
Ask an LLM
“Can I validate the FQDN and domain of a trunk?”
“What does trunk FQDN validation return?”
Tell an agent
Validate trunk FQDN {address} with domain {domain}.
Check that trunk {address} on port {port} resolves to {domain}.
GET /telephony/config/premisePstn/trunks List premise PSTN trunks · Read the List of Trunks #
Ask an LLM
“Which trunks connect Webex Calling to on-premises gateways?”
“Can I filter trunks by location or trunk type?”
Tell an agent
List all premise PSTN trunks in organization {org}.
Find trunks at location {location} of type {type}.
POST /telephony/config/premisePstn/trunks Create a premise PSTN trunk · Create a Trunk #
Ask an LLM
“How do I connect Webex Calling to an on-premises gateway with a trunk?”
“What do I need to create a trunk, like a password and location?”
Tell an agent
Create trunk {name} at location {location} with password {password} and type {type}.
Add trunk {name} at {location} using {type} and password {password}.
GET /telephony/config/premisePstn/trunks/{trunkId} Get a premise PSTN trunk · Get a Trunk #
Ask an LLM
“What settings does a trunk have, like its password and type?”
“Can I look up one trunk by ID?”
Tell an agent
Get trunk {trunk}.
Show the settings of trunk {trunk}.
PUT /telephony/config/premisePstn/trunks/{trunkId} Change a premise PSTN trunk · Modify a Trunk #
Ask an LLM
“Can I change a trunk's password or maximum concurrent calls?”
“What can I edit on an existing trunk?”
Tell an agent
Change trunk {trunk}'s password to {password}.
Set trunk {trunk} max concurrent calls to {max}.
DELETE /telephony/config/premisePstn/trunks/{trunkId} Delete a premise PSTN trunk · Delete a Trunk #
Ask an LLM
“Can I remove a trunk that's no longer connected to the premises?”
“What happens to calls when a trunk is deleted?”
Tell an agent destructive · confirm first
Delete trunk {trunk}.
Remove the disconnected trunk {trunk}.
GET /telephony/config/premisePstn/trunks/trunkTypes List premise PSTN trunk types · Read the List of Trunk Types #
Ask an LLM
“What trunk types are available for premise PSTN connections?”
“Can I see the trunk types and their device types?”
Tell an agent
List premise PSTN trunk types in organization {org}.
Show the trunk types and device types for {org}.
GET /telephony/config/premisePstn/routeGroups List premise PSTN route groups · Read the List of Routing Groups #
Ask an LLM
“Which route groups exist for premise PSTN connections?”
“Can I find a route group by name?”
Tell an agent
List all premise PSTN route groups in organization {org}.
Find route group {name} in {org}.
POST /telephony/config/premisePstn/routeGroups Create a premise PSTN route group · Create Route Group for a Organization #
Ask an LLM
“How do I group premises PSTN trunks for redundancy?”
“Can a route group include trunks from different locations?”
Tell an agent
Create route group {name} with local gateways {localGateways}.
Add premises PSTN trunks {localGateways} to route group {name}.
GET /telephony/config/premisePstn/routeGroups/{routeGroupId} Get a premise PSTN route group · Read a Route Group for a Organization #
Ask an LLM
“Which premises PSTN trunks are in a route group?”
“Can I look up a route group by its ID?”
Tell an agent
Show route group {routeGroupId}.
List the local gateways in route group {routeGroupId}.
PUT /telephony/config/premisePstn/routeGroups/{routeGroupId} Update a premise PSTN route group · Modify a Route Group for a Organization #
Ask an LLM
“How do I change the gateways in an existing route group?”
“Can I rename a premise PSTN route group?”
Tell an agent
Rename route group {routeGroupId} to {name}.
Replace the local gateways in route group {routeGroupId} with {localGateways}.
DELETE /telephony/config/premisePstn/routeGroups/{routeGroupId} Delete a premise PSTN route group · Remove a Route Group from an Organization #
Ask an LLM
“How do I remove a route group from premises PSTN?”
“Can I delete a premise PSTN route group I no longer use?”
Tell an agent destructive · confirm first
Delete route group {routeGroupId}.
Remove the premise PSTN route group {routeGroupId}.
GET /telephony/config/premisePstn/routeGroups/{routeGroupId}/usage Count a route group's usage · Read the Usage of a Routing Group #
Ask an LLM
“How many call-to extensions, dial plans and PSTN connections use a route group?”
“What is the overall usage of a premise PSTN route group?”
Tell an agent
Show the usage of route group {routeGroupId}.
Count how many dial plans and PSTN connections use route group {routeGroupId}.
GET /telephony/config/premisePstn/routeGroups/{routeGroupId}/usageCallToExtension List call-to extension locations for a route group · Read the Call to Extension Locations of a Routing Group #
Ask an LLM
“Which on-premises extension locations route to a route group?”
“Can I find the call-to extension locations using a route group name?”
Tell an agent
List call-to extension locations for route group {routeGroupId}.
Find extension locations named {locationName} using route group {routeGroupId}.
GET /telephony/config/premisePstn/routeGroups/{routeGroupId}/usageDialPlan List dial plan locations for a route group · Read the Dial Plan Locations of a Routing Group #
Ask an LLM
“Which dial plans route calls through a route group?”
“Can I filter a route group's dial plan locations by name?”
Tell an agent
List dial plan locations for route group {routeGroupId}.
Find dial plan locations named {locationName} using route group {routeGroupId}.
GET /telephony/config/premisePstn/routeGroups/{routeGroupId}/usagePstnConnection List PSTN connection locations for a route group · Read the PSTN Connection Locations of a Routing Group #
Ask an LLM
“Which PSTN connections are routed through a route group?”
“Can I see the premises PSTN connections using a route group?”
Tell an agent
List PSTN connection locations for route group {routeGroupId}.
Find PSTN connection locations named {locationName} using route group {routeGroupId}.
GET /telephony/config/premisePstn/routeGroups/{routeGroupId}/usageRouteList List route lists for a route group · Read the Route Lists of a Routing Group #
Ask an LLM
“Which route lists are assigned to a route group?”
“Can I find a route list by name on a route group?”
Tell an agent
List route lists for route group {routeGroupId}.
Find route list {name} on route group {routeGroupId}.
GET /telephony/config/premisePstn/routeLists List all premise PSTN route lists · Read the List of Route Lists #
Ask an LLM
“What route lists exist for my premises PSTN setup?”
“Can I filter the route list by location ID?”
Tell an agent
List all route lists.
List route lists for location {locationId}.
POST /telephony/config/premisePstn/routeLists Create a premise PSTN route list · Create a Route List #
Ask an LLM
“How do I create a route list to reach premises PSTN numbers?”
“Can a route list be tied to a specific route group?”
Tell an agent
Create route list {name} for location {locationId} on route group {routeGroupId}.
Add a new route list {name} to premises PSTN location {locationId} using route group {routeGroupId}.
DELETE /telephony/config/premisePstn/routeLists/{routeListId} Delete a premise PSTN route list · Delete a Route List #
Ask an LLM
“How do I remove a route list from premises PSTN?”
“Can I delete a route list I no longer need?”
Tell an agent destructive · confirm first
Delete route list {routeListId}.
Remove the premise PSTN route list {routeListId}.
GET /telephony/config/premisePstn/routeLists/{routeListId} Get a premise PSTN route list · Get a Route List #
Ask an LLM
“What numbers does a route list cover?”
“Can I look up a route list by its ID?”
Tell an agent
Show route list {routeListId}.
Get the numbers in route list {routeListId}.
PUT /telephony/config/premisePstn/routeLists/{routeListId} Update a premise PSTN route list · Modify a Route List #
Ask an LLM
“How do I change the route group a route list points to?”
“Can I rename a route list?”
Tell an agent
Rename route list {routeListId} to {name}.
Point route list {routeListId} at route group {routeGroupId}.
PUT /telephony/config/premisePstn/routeLists/{routeListId}/numbers Add or remove numbers from a route list · Modify Numbers for Route List #
Ask an LLM
“How do I add numbers to a route list?”
“Can I clear all numbers from a route list?”
Tell an agent
Add numbers {numbers} to route list {routeListId}.
Clear every number from route list {routeListId}.
GET /telephony/config/premisePstn/routeLists/{routeListId}/numbers List numbers in a route list · Get Numbers assigned to a Route List #
Ask an LLM
“Which phone numbers are in a route list?”
“Can I find one number in a route list by its number?”
Tell an agent
List the numbers in route list {routeListId}.
Find number {number} in route list {routeListId}.
GET /telephony/config/premisePstn/trunks/{trunkId}/usageCallToExtension Count extension usage for a trunk · Get Local Gateway Call to On-Premises Extension Usage for a Trunk #
Ask an LLM
“How many on-premises extensions use a trunk?”
“Can I see which local gateways route to extensions?”
Tell an agent
Show call-to-extension usage for trunk {trunkId}.
Count extensions using trunk {trunkId} named {name}.
POST /telephony/config/callRouting/translationPatterns Create a call routing translation pattern · Create a Translation Pattern for an Organization #
Ask an LLM
“How do I change dialed digits before routing a call?”
“Can I replace a pattern of digits on outbound calls?”
Tell an agent
Create translation pattern {name} matching {matchingPattern} replaced by {replacementPattern}.
Add a call routing pattern {name} that turns {matchingPattern} into {replacementPattern}.
GET /telephony/config/callRouting/translationPatterns List call routing translation patterns · Retrieve the list of Translation Patterns #
Ask an LLM
“What translation patterns are configured for outbound calls?”
“Can I find a translation pattern by the pattern it matches?”
Tell an agent
List all translation patterns.
Find translation patterns matching {matchingPattern}.
GET /telephony/config/callRouting/translationPatterns/{translationId} Get a call routing translation pattern · Retrieve a specific Translation Pattern for an Organization #
Ask an LLM
“What does a specific translation pattern do to dialed digits?”
“Can I look up one call routing pattern by its ID?”
Tell an agent
Show translation pattern {translationId}.
Get the call routing pattern {translationId} for organization {orgId}.
PUT /telephony/config/callRouting/translationPatterns/{translationId} Update a location's translation pattern · Modify a specific Translation Pattern for an Organization #
Ask an LLM
“How do I change the matching and replacement patterns of a translation pattern in an organization?”
“Can I rename a translation pattern that applies across the whole organization?”
Tell an agent
Change the matching pattern of translation pattern {translationId} in org {orgId} to {matchingPattern}.
Rename organization-wide translation pattern {translationId} to {name}.
DELETE /telephony/config/callRouting/translationPatterns/{translationId} Delete an organization translation pattern · Delete a specific Translation Pattern #
Ask an LLM
“How do I remove a translation pattern from my organization?”
“Can I delete a translation pattern that applies to every location?”
Tell an agent destructive · confirm first
Delete translation pattern {translationId} from org {orgId}.
Remove the organization-wide translation pattern {translationId}.
POST /telephony/config/locations/{locationId}/callRouting/translationPatterns Create a translation pattern for a location · Create a Translation Pattern for a Location #
Ask an LLM
“How do I add a translation pattern to a specific location?”
“Can a location translation pattern match and replace dialed digits before routing?”
Tell an agent
Create translation pattern {name} at location {locationId} matching {matchingPattern} and replacing with {replacementPattern}.
Add a location translation pattern at {locationId} named {name}.
GET /telephony/config/locations/{locationId}/callRouting/translationPatterns/{translationId} Get a location's translation pattern · Retrieve a specific Translation Pattern for a Location #
Ask an LLM
“What matching and replacement patterns does a location translation pattern use?”
“Can I look up one translation pattern at a location by its ID?”
Tell an agent
Show translation pattern {translationId} at location {locationId}.
Get the matching and replacement patterns of location translation pattern {translationId}.
PUT /telephony/config/locations/{locationId}/callRouting/translationPatterns/{translationId} Update a location's translation pattern · Modify a specific Translation Pattern for a Location #
Ask an LLM
“How do I change the replacement pattern of a translation pattern at a location?”
“Can I rename a translation pattern scoped to one location?”
Tell an agent
Change the replacement pattern of translation pattern {translationId} at location {locationId} to {replacementPattern}.
Rename location translation pattern {translationId} at {locationId} to {name}.
DELETE /telephony/config/locations/{locationId}/callRouting/translationPatterns/{translationId} Delete a location's translation pattern · Delete a specific Translation Pattern for a Location #
Ask an LLM
“How do I remove a translation pattern from a single location?”
“Can I delete a location-scoped translation pattern by its ID?”
Tell an agent destructive · confirm first
Delete translation pattern {translationId} from location {locationId}.
Remove the location translation pattern {translationId}.

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/webex:webex-call-routing-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

webex-call-routing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Webex Cloud Calling Call Routing API
  version: 1.0.0
  description: The Webex Cloud Calling APIs enable comprehensive management of cloud-based calling services, including user provisioning, device assignment, call routing, feature configuration, and number management. These APIs facilitate integration with enterprise directories, automation of telephony workflows, and centralized management of global calling infrastructure. Use cases include automated onboarding, self-service portals, integration with CRM/ERP systems, and real-time monitoring of call quality and usage.
tags:


# --- truncated at 32 KB (290 KB total) ---
# Full source: https://artifacts.apis.io/webex/openapi/webex-call-routing-api-openapi.yml