CloudTalk VoiceAgent API

VoiceAgent API ver. 1.0.0

GitHub OpenAPI

Operations 13

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 /voice-agent/calls Call a number with a VoiceAgent · Initiate VoiceAgent call #
Ask an LLM
“How do I make a VoiceAgent call to a customer's phone number?”
“Can I set call properties when starting a VoiceAgent call?”
Tell an agent
Call {call_number} with VoiceAgent {voice_agent_id}.
Start a VoiceAgent call to {call_number} using agent {voice_agent_id} with properties {call_properties}.
POST /voice-agent/outbound/kill Stop outbound VoiceAgent dialing · Stop outbound VoiceAgent calls #
Ask an LLM
“How do I stop a VoiceAgent's outbound calls in an emergency?”
“Does stopping outbound dialing affect inbound calls or other companies?”
Tell an agent destructive · confirm first
Stop all outbound dialing for {duration_seconds} seconds.
Stop outbound calls for VoiceAgent {voice_agent_id} for {duration_seconds} seconds because {reason}.
GET /voice-agents List VoiceAgents · List voice agents #
Ask an LLM
“Which VoiceAgents do I have set up?”
“Can I page through my VoiceAgents?”
Tell an agent
List my VoiceAgents.
Show {limit} VoiceAgents starting at cursor {cursor}.
POST /voice-agents Create a VoiceAgent · Create a voice agent #
Ask an LLM
“How do I create a VoiceAgent that answers inbound calls?”
“Can a new VoiceAgent use a custom greeting and guardrails?”
Tell an agent
Create VoiceAgent {agentName} in {language} with goal {goalPrompt}, voice {voiceId}, max call {maxCallDurationMinutes} minutes and temperature {temperature}.
Create inbound VoiceAgent {agentName} with greeting {greeting}, direction {direction}, call cap {maxCallDurationMinutes} and voice {voiceId}.
GET /voice-agents/{voiceAgentId} Get a VoiceAgent · Get a voice agent #
Ask an LLM
“What settings does one of my VoiceAgents have?”
“Can I look up a VoiceAgent by its ID?”
Tell an agent
Show VoiceAgent {voiceAgentId}.
Get the configuration of VoiceAgent {voiceAgentId}.
PUT /voice-agents/{voiceAgentId} Replace a VoiceAgent · Replace a voice agent #
Ask an LLM
“How do I change the goal prompt of an existing VoiceAgent?”
“Can I replace a VoiceAgent's voice and language?”
Tell an agent
Replace VoiceAgent {voiceAgentId} with goal {goalPrompt}, voice {voiceId}, call cap {maxCallDurationMinutes} and temperature {temperature}.
Update VoiceAgent {voiceAgentId} to use {language} and voice {voiceId}.
DELETE /voice-agents/{voiceAgentId} Delete a VoiceAgent · Delete a voice agent #
Ask an LLM
“How do I delete a VoiceAgent I no longer use?”
“Are knowledge bases deleted when I remove a VoiceAgent?”
Tell an agent destructive · confirm first
Delete VoiceAgent {voiceAgentId}.
Remove VoiceAgent {voiceAgentId} from my account.
PUT /voice-agents/{voiceAgentId}/knowledge-bases/{knowledgeBaseId} Attach a knowledge base to a VoiceAgent · Attach a knowledge base to a voice agent #
Ask an LLM
“How do I give a VoiceAgent access to a knowledge base?”
“Can I link several knowledge bases to one VoiceAgent?”
Tell an agent
Attach knowledge base {knowledgeBaseId} to VoiceAgent {voiceAgentId}.
Link VoiceAgent {voiceAgentId} to knowledge base {knowledgeBaseId}.
DELETE /voice-agents/{voiceAgentId}/knowledge-bases/{knowledgeBaseId} Detach a knowledge base from a VoiceAgent · Detach a knowledge base from a voice agent #
Ask an LLM
“How do I stop a VoiceAgent from using a knowledge base?”
“Can I unlink one knowledge base from a VoiceAgent?”
Tell an agent destructive · confirm first
Detach knowledge base {knowledgeBaseId} from VoiceAgent {voiceAgentId}.
Unlink VoiceAgent {voiceAgentId} from knowledge base {knowledgeBaseId}.
GET /knowledge-bases List knowledge bases · List knowledge bases #
Ask an LLM
“Which knowledge bases exist in my account?”
“Can I page through my knowledge bases?”
Tell an agent
List my knowledge bases.
Show {limit} knowledge bases starting at cursor {cursor}.
POST /knowledge-bases Create a knowledge base · Create a knowledge base #
Ask an LLM
“How do I create a knowledge base from a URL?”
“Can I create a knowledge base from inline text?”
Tell an agent
Create knowledge base {name} from {sourceType} {url}.
Create knowledge base {name} from {sourceType} text {text}.
POST /knowledge-bases/files Upload a file as a knowledge base · Upload a knowledge base file #
Ask an LLM
“How do I create a knowledge base from an uploaded file?”
“Can I name a knowledge base from its file?”
Tell an agent
Upload file {file} as a knowledge base.
Create a knowledge base from the uploaded file {file}.
DELETE /knowledge-bases/{knowledgeBaseId} Delete a knowledge base · Delete a knowledge base #
Ask an LLM
“How do I delete a knowledge base?”
“Can I delete a knowledge base that is still attached to a VoiceAgent?”
Tell an agent destructive · confirm first
Delete knowledge base {knowledgeBaseId}.
Remove knowledge base {knowledgeBaseId} from my account.

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/cloudtalk:cloudtalk-voiceagent-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

cloudtalk-voiceagent-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: CloudTalk Voice Agent API
  description: '# Introduction

    Welcome to CloudTalk API reference! Many of these businesses use the CloudTalk API to automate and enhance their customer support with CloudTalk Support. With CloudTalk we are re-building telco industry from the ground and taking it to the next level with first-class customer support system. Please find below the full documenation to CloudTalk. # API Overview


    The API is organized around the following resources:


    API Area | Description

    ----------------|-------------

    Calls | Browse your call history, download recordings and access all your calls data. Contacts | Create and update Contacts. Use filters to get lists of Contacts, or access their profiles individually. Numbers | Automate Numbers modifications. List all your numbers. Agents | Create or update your Agents, access their settings. Conversation Intelligence | Get Conversation Intelligence data about your calls. VoiceAgent | Initiate VoiceAgent calls


    JSON is returned in all responses. XML is not supported. The API also uses common approaches for the following:


    Function | Description

    ----------------|-------------

    Data | API data is JSON encoded with UTF-8. API JSON is either a single object or a list of objects. Errors | 4xx and 5xx responses returning JSON with error codes

    Rate Limiting | Controls how many requests can be made in a time window

    HTTP | Methods are used in accordance with HTTP (GET POST and DELETE are the primary methods used) and resources are identified using URIs. All API requests are sent over HTTPS. ## Authentication


    This is an HTTPS-only API. Authentication is based on API Access Key ID and Access Key Secret. The API Access Key ID and Access Key Secret is passed via HTTP Basic Authentication. Basic Auth credentials are used to determine on which project should this request be executed on. List of all Basic Auth credentials for the project can be found by Administrators in the CloudTalk Dashboard under Account → Settings → API Keys (https://dashboard.cloudtalk.io/menu/account/settings/API-keys). To try the API via curl on the command-line, the general form used would be:

    ```

    curl -u ACCESS_KEY_ID:ACCESS_KEY_SECRET API_URL

    ```


    For instance, you would execute:

    ```

    curl -u ABCDEFGHIJTESTKEY1:X05Dg4c331c3h61An https://my.cloudtalk.io/api/calls/index.json

    ```


    ## Usage


    The API may rate limit submission of requests for your application. Such limits are managed as an allowed number of operations per time window, where an operation might be read or an update. In that case a **''429 Too Many Requests''** response code will be returned along with the following headers -


    Header name | Description

    ----------------|-------------

    X-CloudTalkAPI-Limit | Maximum number of API requests allowed in the current time window. X-CloudTalkAPI-Remaining | Number of API requests left in the current window. X-CloudTalkAPI-ResetTime | Time when rate limit window will be reset as a Unix timestamp. Note that the default rate limit is **60 operations per minute per company**. If you need to make more requests, please contact our support with detailed explanation of your use case. ## Response Envelopes


    **Note:** Conversation Intelligence doesn''t follow envelopes. The API returns one of three envelopes depending upon the request issued:


    1. Single Item Envelope

    2. Collections Envelope

    3. Error Envelope


    ### Single Item Envelope


    All dates/times are returned in ISO8601 format and in UTC timezone. ```

    Status: 200 OK

    {

    "responseData": {

    "id": 123,

    ... "created": "2018-01-10 12:34:56"

    }

    }

    ```


    ### Collections Envelope


    All dates/times are returned in ISO8601 format and in UTC timezone. ```

    Status: 200 OK

    {

    "responseData": {

    "itemsCount": 65,

    "pageCount": 3,

    "pageNumber": 1,

    "limit": 30,

    "data": [

    {

    "id": 123,

    ... "created": "2018-01-10 12:34:56"

    },

    {

    "id": 456,

    ... "created": "2017-10-19 09:21:29"

    },

    ...'
  contact:
    name: CloudTalk API Support
    url: https://www.cloudtalk.io/contact
  version: '1.7'
  x-logo:
    url: https://my.cloudtalk.io/img/logo-cloudtalk-color.png
servers:
- url: https://my.cloudtalk.io/api
security:
- basicAuth: []
tags:


# --- truncated at 32 KB (62 KB total) ---
# Full source: https://artifacts.apis.io/cloudtalk/openapi/cloudtalk-voiceagent-api-openapi.yml