Microsoft Azure Communication Services Routing API

The Routing API from Microsoft Azure Communication Services — 21 operation(s) for routing.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 33

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

GET /routing/classificationPolicies List classification policies · Retrieves existing classification policies #
Ask an LLM
“Which classification policies are defined for routing jobs?”
“Can I page through my classification policies?”
Tell an agent
List classification policies.
Show {page_size} classification policies per page.
GET /routing/classificationPolicies/{classificationPolicyId} Get a classification policy · Retrieves an existing classification policy by Id #
Ask an LLM
“What does a specific classification policy contain?”
“Can I look up one classification policy by id?”
Tell an agent
Get classification policy {policy_id}.
Show the details of classification policy {policy_id}.
PATCH /routing/classificationPolicies/{classificationPolicyId} Create or update a classification policy · Creates or updates a classification policy #
Ask an LLM
“How do I create a classification policy that routes jobs to a fallback queue?”
“Can I change the prioritization rule on an existing classification policy?”
Tell an agent
Create classification policy {policy_id} named {name}.
Update classification policy {policy_id} to use prioritization rule {prioritization_rule}.
DELETE /routing/classificationPolicies/{classificationPolicyId} Delete a classification policy · Delete a classification policy by Id #
Ask an LLM
“Can I delete a classification policy?”
“What happens to jobs when their classification policy is removed?”
Tell an agent destructive · confirm first
Delete classification policy {policy_id}.
Remove the classification policy {policy_id}.
GET /routing/distributionPolicies List distribution policies · Retrieves existing distribution policies #
Ask an LLM
“Which distribution policies exist for routing offers?”
“Can I list distribution policies with a page size limit?”
Tell an agent
List distribution policies.
Show {page_size} distribution policies per page.
GET /routing/distributionPolicies/{distributionPolicyId} Get a distribution policy · Retrieves an existing distribution policy by Id #
Ask an LLM
“What mode and offer expiry does a distribution policy use?”
“Can I fetch one distribution policy by id?”
Tell an agent
Get distribution policy {policy_id}.
Show the mode of distribution policy {policy_id}.
PATCH /routing/distributionPolicies/{distributionPolicyId} Create or update a distribution policy · Creates or updates a distribution policy #
Ask an LLM
“How do I set how long offers from a distribution policy stay open?”
“Can I change the mode of an existing distribution policy?”
Tell an agent
Create distribution policy {policy_id} named {name}.
Update distribution policy {policy_id} to expire offers after {seconds} seconds.
DELETE /routing/distributionPolicies/{distributionPolicyId} Delete a distribution policy · Delete a distribution policy by Id #
Ask an LLM
“Can I delete a distribution policy?”
“Is it possible to remove a distribution policy I no longer use?”
Tell an agent destructive · confirm first
Delete distribution policy {policy_id}.
Remove the distribution policy {policy_id}.
GET /routing/exceptionPolicies List exception policies · Retrieves existing exception policies #
Ask an LLM
“Which exception policies are defined for handling routing exceptions?”
“Can I page through my exception policies?”
Tell an agent
List exception policies.
Show {page_size} exception policies per page.
GET /routing/exceptionPolicies/{exceptionPolicyId} Get an exception policy · Retrieves an existing exception policy by Id #
Ask an LLM
“What exception rules does a specific exception policy contain?”
“Can I look up one exception policy by id?”
Tell an agent
Get exception policy {policy_id}.
Show the exception rules of policy {policy_id}.
PATCH /routing/exceptionPolicies/{exceptionPolicyId} Create or update an exception policy · Creates or updates a exception policy #
Ask an LLM
“How do I create an exception policy that handles routing exceptions?”
“Can I add exception rules to an existing exception policy?”
Tell an agent
Create exception policy {policy_id} named {name}.
Update exception policy {policy_id} with exception rules {rules}.
DELETE /routing/exceptionPolicies/{exceptionPolicyId} Delete an exception policy · Deletes a exception policy by Id #
Ask an LLM
“Can I delete an exception policy?”
“What happens to jobs when their exception policy is removed?”
Tell an agent destructive · confirm first
Delete exception policy {policy_id}.
Remove the exception policy {policy_id}.
GET /routing/jobs List routing jobs · Retrieves list of jobs based on filter parameters #
Ask an LLM
“Which jobs are waiting in a queue right now?”
“Can I filter jobs by status, queue or channel?”
Tell an agent
List jobs in queue {queue_id}.
Show jobs with status {status} on channel {channel_id}.
GET /routing/jobs/{jobId} Get a routing job · Retrieves an existing job by Id #
Ask an LLM
“What is the current state of a specific job?”
“Can I fetch one job by id?”
Tell an agent
Get job {job_id}.
Show the status of job {job_id}.
PATCH /routing/jobs/{jobId} Create or update a routing job · Creates or updates a router job #
Ask an LLM
“How do I queue a new job for routing?”
“Can I set a priority and labels on a job?”
Tell an agent
Create job {job_id} with priority {priority}.
Queue job {job_id} for channel {channel_id} using classification policy {policy_id}.
DELETE /routing/jobs/{jobId} Delete a routing job and its traces · Deletes a job and all of its traces #
Ask an LLM
“Can I delete a job along with all of its traces?”
“What happens to a job's traces when I delete it?”
Tell an agent destructive · confirm first
Delete job {job_id} and all of its traces.
Remove job {job_id} permanently.
POST /routing/jobs/{jobId}:reclassify Reclassify a routing job · Reclassify a job #
Ask an LLM
“Can I reclassify a job that was routed incorrectly?”
“How do I reassign a job to a different queue after it's been routed?”
Tell an agent
Reclassify job {job_id}.
Reassign job {job_id} to a new queue.
POST /routing/jobs/{jobId}:cancel Cancel a routing job · Submits request to cancel an existing job by Id while supplying free-form… #
Ask an LLM
“How do I cancel a job that is still waiting for an offer?”
“Can I leave a reason when cancelling a job?”
Tell an agent destructive · confirm first
Cancel job {job_id}.
Cancel job {job_id} with note {note}.
POST /routing/jobs/{jobId}/assignments/{assignmentId}:complete Complete an assigned routing job · Completes an assigned job #
Ask an LLM
“How do I mark an assigned job as completed?”
“Can I add a note when completing a job assignment?”
Tell an agent
Complete assignment {assignment_id} of job {job_id}.
Mark job {job_id} assignment {assignment_id} as completed with note {note}.
POST /routing/jobs/{jobId}/assignments/{assignmentId}:close Close a completed routing job · Closes a completed job #
Ask an LLM
“How do I close a job after its assignment is completed?”
“Can I set a disposition code when closing a job?”
Tell an agent
Close assignment {assignment_id} of job {job_id}.
Close job {job_id} assignment {assignment_id} with disposition {disposition}.
POST /routing/jobs/{jobId}/assignments/{assignmentId}:unassign Unassign a job from a worker · Unassign a job #
Ask an LLM
“How do I take a job back from a worker who already accepted it?”
“Can I stop matching a job to a worker without deleting it?”
Tell an agent destructive · confirm first
Unassign job {jobId} from assignment {assignmentId}.
Unassign job {jobId} from assignment {assignmentId} and suspend matching: {suspendMatching}.
GET /routing/jobs/{jobId}/position Get a job's position in the routing queue · Gets a job's position details #
Ask an LLM
“Where is a particular job in the routing queue?”
“How many jobs are ahead of a given job?”
Tell an agent
Get the queue position of job {jobId}.
Show how far job {jobId} is from the front of the queue.
GET /routing/queues List routing queues · Retrieves existing queues #
Ask an LLM
“What routing queues exist in my Job Router instance?”
“Can I page through all my queues?”
Tell an agent
List all routing queues.
List queues, {maxpagesize} per page.
GET /routing/queues/{queueId} Get a routing queue · Retrieves an existing queue by Id #
Ask an LLM
“What are the settings of one routing queue?”
“Can I look up a queue by its ID?”
Tell an agent
Get routing queue {queueId}.
Show the details of queue {queueId}.
PATCH /routing/queues/{queueId} Create or update a routing queue · Creates or updates a queue #
Ask an LLM
“How do I create a new routing queue?”
“Can I change a queue's distribution policy after it exists?”
Tell an agent
Create routing queue {queueId} named {name}.
Set queue {queueId} to use distribution policy {distributionPolicyId}.
DELETE /routing/queues/{queueId} Delete a routing queue · Deletes a queue by Id #
Ask an LLM
“How do I remove a routing queue I no longer use?”
“Can I delete a queue by its ID?”
Tell an agent destructive · confirm first
Delete routing queue {queueId}.
Remove the queue {queueId} from Job Router.
GET /routing/queues/{queueId}/statistics Get statistics for a routing queue · Retrieves a queue's statistics #
Ask an LLM
“How many jobs are in a queue right now?”
“What are the queue statistics for a given queue ID?”
Tell an agent
Get statistics for routing queue {queueId}.
Show the current queue length and other stats for queue {queueId}.
GET /routing/workers List routing workers · Retrieves existing workers #
Ask an LLM
“Which workers are registered in Job Router?”
“Can I list only the workers who are currently available?”
Tell an agent
List all routing workers.
List workers in queue {queueId}.
GET /routing/workers/{workerId} Get a routing worker · Retrieves an existing worker by Id #
Ask an LLM
“What are the details of one worker?”
“Can I look up a worker by its ID?”
Tell an agent
Get routing worker {workerId}.
Show the details of worker {workerId}.
PATCH /routing/workers/{workerId} Create or update a routing worker · Creates or updates a worker #
Ask an LLM
“How do I register a new worker with Job Router?”
“Can I change a worker's capacity or channels?”
Tell an agent
Create worker {workerId} with capacity {capacity}.
Register worker {workerId} on channels {channels}.
DELETE /routing/workers/{workerId} Delete a routing worker · Deletes a worker and all of its traces #
Ask an LLM
“How do I remove a worker and all its traces from Job Router?”
“Can I delete a worker by its ID?”
Tell an agent destructive · confirm first
Delete routing worker {workerId}.
Remove worker {workerId} and all of its traces.
POST /routing/workers/{workerId}/offers/{offerId}:accept Accept a routing job offer · Accepts an offer to work on a job and returns a 409/Conflict if another agent… #
Ask an LLM
“How does a worker accept an offer to work on a job?”
“What happens if two agents accept the same job offer?”
Tell an agent
Accept offer {offerId} for worker {workerId}.
Have worker {workerId} accept job offer {offerId}.
POST /routing/workers/{workerId}/offers/{offerId}:decline Decline a routing job offer · Declines an offer to work on a job #
Ask an LLM
“How does a worker decline an offer to work on a job?”
“Can I retry offering a declined job to the same worker later?”
Tell an agent
Decline offer {offerId} for worker {workerId}.
Decline job offer {offerId} for worker {workerId} and retry at {retryOfferAt}.

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/microsoft-azure-communication-services:microsoft-azure-communication-services-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

microsoft-azure-communication-services-routing-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Azure Communication Service Routing API
  version: '2023-11-01'
  description: Azure Communication Routing Service
  x-typespec-generated:
  - emitter: '@azure-tools/typespec-autorest'
security:
- AadOauth2Auth:
  - https://communication.azure.com/.default
tags:


# --- truncated at 32 KB (100 KB total) ---
# Full source: https://artifacts.apis.io/microsoft-azure-communication-services/openapi/microsoft-azure-communication-services-routing-api-openapi.yml