CosVoice Calls API

The Calls API from CosVoice — 3 operation(s) for calls.

GitHub OpenAPI

Operations 4

GET /calls Recent calls, newest first #
POST /calls Call someone on the owner's behalf #
GET /calls/{id} How a call went: outcome, notes, transcript #
POST /calls/{id}/annotations Leave a note on a call for the owner #

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/cosvoice-com:cosvoice-com-calls-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. See our Privacy Policy and Terms.

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

OpenAPI Specification

cosvoice-com-calls-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Cosvoice Com Calls API
  version: 1.0.0
  contact:
    name: CosVoice
    url: https://cosvoice.com/contact
  termsOfService: https://cosvoice.com/terms
  description: 'Operations tagged Calls across 2 of this provider''s published API definitions: cosvoice-com-openapi.json, cosvoice-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://cosvoice.com/api/v1
security:
- bearerAuth: []
tags:
- name: Calls
paths:
  /calls:
    get:
      operationId: listCalls
      summary: Recent calls, newest first
      parameters:
      - name: limit
        in: query
        schema:
          type: integer
          default: 20
          maximum: 100
      security:
      - bearerAuth: []
      responses:
        '200':
          description: Recent calls.
          content:
            application/json:
              schema:
                type: object
                properties:
                  calls:
                    type: array
                    items:
                      $ref: '#/components/schemas/Call'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Calls
    post:
      operationId: placeCall
      summary: Call someone on the owner's behalf
      description: Say what you would tell a person, including what to accept if the first answer is no. Returns straight away with a call id; the call itself takes minutes.
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - to
              - purpose
              properties:
                to:
                  type: string
                  description: Who to call, E.164.
                  example: '+13105550142'
                purpose:
                  type: string
                  description: The job, in plain English, including fallbacks. Up to 1,200 characters; a longer purpose is refused with an error, never trimmed.
                  example: Book a table for two this Friday at 7:30 under Graham. If 7:30 is gone, take anything between 7:00 and 8:30.
                  maxLength: 1200
                callee_name:
                  type: string
                  description: Who is being called.
                  example: Osteria Mozza, host stand
                desired_resolution:
                  type: string
                  description: What a good ending looks like.
                  example: A confirmed reservation with a time.
                max_minutes:
                  type: integer
                  description: Hard stop for the call. No call runs longer than 10 minutes.
                  default: 10
                  maximum: 10
      responses:
        '200':
          description: The call was placed.
          content:
            application/json:
              schema:
                type: object
                properties:
                  call:
                    $ref: '#/components/schemas/Call'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Calls
    servers:
    - url: https://cosvoice.com/api/v1
  /calls/{id}:
    get:
      operationId: getCall
      summary: 'How a call went: outcome, notes, transcript'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      security:
      - bearerAuth: []
      responses:
        '200':
          description: The call.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Call'
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Calls
    servers:
    - url: https://cosvoice.com/api/v1
  /calls/{id}/annotations:
    post:
      operationId: annotateCall
      summary: Leave a note on a call for the owner
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      security:
      - bearerAuth: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - note
              properties:
                note:
                  type: string
                  description: What to record.
      responses:
        '200':
          description: Saved.
          content:
            application/json:
              schema:
                type: object
        '400':
          $ref: '#/components/responses/BadRequest'
        '401':
          $ref: '#/components/responses/Unauthorized'
        '404':
          $ref: '#/components/responses/NotFound'
        '429':
          $ref: '#/components/responses/RateLimited'
      tags:
      - Calls
    servers:
    - url: https://cosvoice.com/api/v1
components:
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
          description: What went wrong, in plain words you can show the owner.
      required:
      - error
    Call:
      type: object
      properties:
        id:
          type: string
          description: Call id.
        direction:
          type: string
          enum:
          - inbound
          - outbound
        status:
          type: string
          enum:
          - queued
          - ringing
          - in-progress
          - completed
          - no-answer
          - busy
          - failed
        to:
          type: string
          description: The other party, E.164.
        from:
          type: string
          description: The line's number, E.164.
        outcome:
          type: string
          description: 'One line: what happened.'
          example: Reserved · Friday 8:15pm · party of 2
        summary:
          type: string
          description: A short written account of the call.
        action_items:
          type: array
          items:
            type: string
        notes:
          type: object
          additionalProperties: true
          description: 'Details the line captured: names, amounts, dates, reference numbers.'
        transcript:
          type: array
          items:
            type: object
            properties:
              role:
                type: string
                enum:
                - assistant
                - caller
              text:
                type: string
              at:
                type: string
                format: date-time
        duration_seconds:
          type: integer
        created_at:
          type: string
          format: date-time
  responses:
    NotFound:
      description: No such call, email, or contact on this line.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    BadRequest:
      description: Something in the request is missing or malformed; the message says which field.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    Unauthorized:
      description: The key is missing, wrong, or revoked. Ask the owner for a new one; do not retry.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
    RateLimited:
      description: Over 240 requests a minute. Wait a little and try again.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: A line's API key (cv_live_…), from Settings → Connect your agent.
x-refined-from:
- cosvoice-com-openapi.json
- cosvoice-com-openapi.yml