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.
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/nice:nice-agentphone-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
openapi: 3.2.0
info:
title: Nice Agent Phone API
version: v1
description: 'Operations tagged AgentPhone across 2 of this provider''s published API definitions: nice-agentphone.json, nice-agentphone-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: AgentPhone
description: ': Agent Phone Management'
paths:
/agent-sessions/{sessionId}/agent-phone/dial:
post:
tags:
- AgentPhone
summary: Dial agent phone
description: 'The platform will automatically attempt to connect the agent phone or station if it is not connected, and a call is routed to the agent. You can, however, choose to manually connect the agent phone through this API call.
When the agent session starts, the agent phone number or station ID is indicated at that time. The agent phone number or station ID is active until the session ends. This API call simply instructs the platform to dial the agent phone.
No data is returned with the API call. However, agent phone events are generated when the agent phone is being dialed, when it is answered, and when it is disconnected. These will be retrieved through the get-next-event API call.'
operationId: dialAgentPhone
parameters:
- $ref: '#/components/parameters/sessionId'
responses:
'202':
description: Accepted
'401':
description: Unauthorized
'404':
description: Invalid agent session.
'409':
description: Invalid call status.
/agent-sessions/{sessionId}/agent-phone/mute:
post:
tags:
- AgentPhone
summary: Mute agent phone
description: 'You can mute the agent phone so that other parties on the call cannot hear the agent. This allows you to place a control in your user interface that allows the agent to request that the agent phone be muted.
When the agent phone is muted, you can request that the phone be unmuted with the "unmute" API call (below).
No data is returned with the API call. However, agent phone events are generated when the agent phone is muted and unmuted. These will be retrieved through the get-next-event API call.'
operationId: muteAgentPhone
parameters:
- $ref: '#/components/parameters/sessionId'
responses:
'202':
description: Accepted
'401':
description: Unauthorized
'404':
description: Invalid agent session Id
'409':
description: Invalid state.
/agent-sessions/{sessionId}/agent-phone/unmute:
post:
tags:
- AgentPhone
summary: Unmute agent leg
description: 'If the agent phone is muted, you can use this API call to unmute the agent phone. See "Mute Agent Phone" above.
No data is returned with the API call. However, agent phone events are generated when the agent phone is muted and unmuted. These will be retrieved through the get-next-event API call.'
operationId: unmuteAgentLeg
parameters:
- $ref: '#/components/parameters/sessionId'
responses:
'202':
description: Accepted
'401':
description: Unauthorized
'404':
description: Invalid agent session Id
'409':
description: Invalid state.
/agent-sessions/{sessionId}/agent-phone/end:
post:
tags:
- AgentPhone
summary: Ends the agent's phone call
description: 'The platform will automatically disconnect the agent phone after a configurable period of time of unused (see the inContact NG documentation for information on how to configure the timeout period). This configurable time period is to allow the agent to receive consecutive calls more rapidly, without having to take time to set up and tear down the agent phone connection.
You can also use this API call to manually end the agent phone connection.
No data is returned with the API call. However, agent phone events are generated when the agent phone is being dialed, when it is answered, and when it is disconnected. These will be retrieved through the get-next-event API call.'
operationId: disconnectAgentPhone
parameters:
- $ref: '#/components/parameters/sessionId'
responses:
'202':
description: Accepted
'401':
description: Unauthorized
'403':
description: Invalid Security User.
content:
application/json:
schema:
type: object
properties:
error:
type: string
description: access_denied
error_description:
type: string
description: Forbidden
'404':
description: Invalid agent session.
'409':
description: Invalid call status.
components:
parameters:
sessionId:
name: sessionId
in: path
required: true
description: Agent Session Id
schema:
type: string
x-refined-from:
- nice-agentphone.json
- nice-agentphone-openapi.yml