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-voicemails-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 Voicemails API
version: v1
description: 'Operations tagged Voicemails across 2 of this provider''s published API definitions: nice-voicemails.json, nice-voicemails-openapi.yml. Each path carries the servers of the definition it was published in.'
tags:
- name: Voicemails
description: ': Voicemail Contact Management'
paths:
/agent-sessions/{sessionId}/interactions/{contactId}/play-voicemail:
post:
tags:
- Voicemails
summary: Play a Voicemail
description: This method plays a recorded voicemail through the inContact Media Server. The playback occurs through the phone number assigned to the agent when the session was started. Call this API when you see the VoiceMailContactEvent with a Status of "Active" as the agent answers the phone.
operationId: PlayVoicemail
parameters:
- $ref: '#/components/parameters/sessionId'
- $ref: '#/components/parameters/contactId'
- name: playTimestamp
in: body
schema:
$ref: '#/components/schemas/postVoicemail_to_skill'
- name: position
in: body
description: Position
schema:
type: integer
format: int32
responses:
'202':
description: Accepted
'400':
description: Invalid position
'401':
description: Unauthorized
'404':
description: <p>Invalid agent session id.</p><p>Invalid contact id</p>
'409':
description: Invalid state.
requestBody:
required: false
description: Voicemail playback options
content:
application/json:
schema:
type: object
properties:
position:
type: integer
format: int32
description: Position
playTimestamp:
type: object
properties:
continueReskill:
type: boolean
description: Play Timestamp
/agent-sessions/{sessionId}/interactions/{contactId}/pause-voicemail:
post:
tags:
- Voicemails
summary: Pause a Voicemail
description: This method pauses a recorded voicemail through the inContact Media Server. Each time you call this API, an event will be generated by the Media Server indicating the position at which the file is paused.
operationId: PauseVoicemail
parameters:
- $ref: '#/components/parameters/sessionId'
- $ref: '#/components/parameters/contactId'
responses:
'202':
description: Accepted
'401':
description: Unauthorized
'404':
description: <p>Invalid agent session id.</p><p>Invalid contact id</p>
/agent-sessions/{sessionId}/interactions/{contactId}/end:
post:
tags:
- Voicemails
summary: End a Voicemail Contact
description: This method will end the Voicemail Contact. This is similar to ending a phone call or work item.
operationId: EndContact
parameters:
- $ref: '#/components/parameters/sessionId'
- $ref: '#/components/parameters/contactId'
responses:
'202':
description: Accepted
'401':
description: Unauthorized
'404':
description: <p>Invalid agent session.</p><p>Invalid contact ID.</p>
'409':
description: Cannot end the contact at this time.
/agent-sessions/{sessionId}/interactions/{contactId}/transfer-voicemail-to-agent:
post:
tags:
- Voicemails
summary: Transfer Voicemail to an Agent
description: This method to enable your users to transfer an Voicemail Contact to a different Agent. Make sure to use the Agent ID rather than the Agent name when transferring the Voicemail. A successful transfer moves the Voicemail Contact to the Agent queue.
operationId: VoicemailTransferAgent
parameters:
- $ref: '#/components/parameters/sessionId'
- $ref: '#/components/parameters/contactId'
- name: targetAgentId
in: query
required: true
description: Agent ID to transfer the Voicemail to
schema:
type: integer
format: int32
responses:
'202':
description: Accepted
'400':
description: Invalid target agent ID.
'401':
description: Unauthorized
'403':
description: <p>Invalid Security User.</p>
content:
application/json:
schema:
type: object
properties:
error:
type: string
description: access_denied
error_description:
type: string
description: Forbidden
'404':
description: <p>Invalid agent session Id.</p><p>Invalid Contact ID.</p>
'409':
description: ContactId is not an active contact.
/agent-sessions/{sessionId}/interactions/{contactId}/transfer-voicemail-to-skill:
post:
tags:
- Voicemails
summary: Transfer Voicemail to a Skill
description: This method to enable your users to transfer an Voicemail Contact to a different Skill queue. Make sure to use the Skill ID rather than the Skill name when transferring the Voicemail. A successful transfer moves the Voicemail Contact to the Skill queue.
operationId: VoicemailTransferSkill
parameters:
- $ref: '#/components/parameters/sessionId'
- $ref: '#/components/parameters/contactId'
- name: targetSkillId
in: query
required: true
description: ID of Skill to transfer the Voicemail to
schema:
type: integer
format: int32
responses:
'202':
description: Accepted
'400':
description: Invalid target skill ID.
'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: <p>Invalid agent session Id.</p><p>Invalid Contact ID.</p>
'409':
description: ContactId is not an active contact.
components:
parameters:
contactId:
name: contactId
in: path
required: true
description: Contact Id
schema:
type: integer
sessionId:
name: sessionId
in: path
required: true
description: Agent Session Id
schema:
type: string
schemas:
postVoicemail_to_skill:
type: object
description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
x-ae-placeholder: true
x-refined-from:
- nice-voicemails.json
- nice-voicemails-openapi.yml