CallForMe Batches API

The Batches API from CallForMe — 2 operation(s) for batches.

GitHub OpenAPI

Operations 2

GET /v1/batches/{id} Follow a call_around batch #
POST /v1/batches/{id}/stop Stop a batch #

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/callforme-tel:callforme-tel-batches-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

callforme-tel-batches-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Callforme Tel Batches API
  version: 1.2.0
  contact:
    name: CallForMe
    email: hello@greatwork.company
    url: https://callforme.tel/about
  termsOfService: https://callforme.tel/terms
  description: 'Operations tagged Batches across 2 of this provider''s published API definitions: callforme-tel-openapi.json, callforme-tel-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://callforme.tel
security:
- bearer: []
- {}
tags:
- name: Batches
paths:
  /v1/batches/{id}:
    get:
      operationId: getBatch
      summary: Follow a call_around batch
      description: 'Every call in the batch side by side: status, answers and outcome per place. ?wait=45 long-polls. GET /v1/batches returns the latest batch.'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: batch_id from POST /v1/calls/around
      - name: wait
        in: query
        schema:
          type: integer
          maximum: 50
        description: Long-poll up to this many seconds for a change
      responses:
        '200':
          description: Batch
          content:
            application/json:
              schema:
                type: object
                properties:
                  batch_id:
                    type: string
                    description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
                  status:
                    type: string
                    description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
                  calls:
                    type: array
                    items:
                      $ref: '#/components/schemas/Call'
                  next:
                    type: string
                    description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
        '400':
          description: 'Invalid request: see code and next_step'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or bad API key (NO_ACCOUNT, BAD_KEY)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Unknown call or endpoint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited (demo lines, searches)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error; safe to retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Batches
    servers:
    - url: https://callforme.tel
  /v1/batches/{id}/stop:
    post:
      operationId: stopBatch
      summary: Stop a batch
      description: 'Stops dialing new places. {"hang_up_active": true} also ends calls in progress.'
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
        description: The id from the call or batch you started.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                hang_up_active:
                  type: boolean
                  description: true also hangs up calls already in progress; default false lets them finish.
      responses:
        '200':
          description: Stopped
          content:
            application/json:
              schema:
                type: object
                properties:
                  ok:
                    type: boolean
                  message:
                    type: string
        '400':
          description: 'Invalid request: see code and next_step'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing or bad API key (NO_ACCOUNT, BAD_KEY)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '404':
          description: Unknown call or endpoint
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited (demo lines, searches)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '500':
          description: Server error; safe to retry
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Batches
    servers:
    - url: https://callforme.tel
components:
  schemas:
    Error:
      type: object
      required:
      - code
      properties:
        error:
          type: string
          description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
        code:
          type: string
          description: Stable machine code, e.g. UNKNOWN_CALL, QUERY_REQUIRED, SEARCH_LIMIT
        message:
          type: string
          description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
        next_step:
          type: string
          description: What to do next, written for an agent
        did_you_mean:
          type: string
          description: 'On NOT_FOUND: the closest real endpoint, e.g. "POST /v1/calls"'
    Call:
      type: object
      properties:
        call_id:
          type: string
          description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
        status:
          type: string
          enum:
          - queued
          - calling
          - in_progress
          - ended
          - failed
        to:
          type: string
          description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
        business_name:
          type:
          - string
          - 'null'
        demo:
          type: boolean
        goal:
          type: string
          description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
        pending_question:
          type:
          - string
          - 'null'
          description: 'The business is waiting: answer within answer_within_seconds via POST /v1/calls/{id}/answer'
        pending_question_id:
          type:
          - string
          - 'null'
        answer_within_seconds:
          type:
          - integer
          - 'null'
        answers:
          type: array
          description: One per question, in the order asked
          items:
            type: object
            properties:
              question:
                type: string
                description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
              answer:
                type:
                - string
                - 'null'
        unanswered_questions:
          type: array
          items:
            type: string
            description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
        outcome:
          oneOf:
          - $ref: '#/components/schemas/Outcome'
          - type: 'null'
          description: Present once the call has ended and been analyzed
        analysis_pending:
          type: boolean
        transcript:
          type:
          - string
          - 'null'
          description: Per ?transcript=none|new|full
        transcript_cursor:
          type: integer
        transcript_lines:
          type: integer
        duration_seconds:
          type:
          - integer
          - 'null'
        cost:
          type: string
          example: $1.40
        ended_reason:
          type:
          - string
          - 'null'
        ended_reason_code:
          type:
          - string
          - 'null'
        recording_url:
          type: string
          description: Audio of the whole call (ended calls, owner's key only)
        listen_url:
          type: string
          description: Private page that plays the recording with the summary and transcript; give this to a person (ended calls, owner's key only)
        created_at:
          type: string
          description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
        next:
          type: string
          description: What the agent should do next
      example:
        call_id: call_ZWNIm5u-1iBR
        status: ended
        to: Oak Street Auto (469) 402-2653
        demo: true
        goal: Get a quote for front brakes on a 2020 Toyota RAV4.
        answers:
        - question: Does the quote include rotors?
          answer: 'No: $179 is pads only; pads and rotors are $389 out the door.'
        outcome:
          success: true
          summary: Oak Street Auto quoted $179 for front pads, or $389 with rotors. Earliest opening Thursday 8 AM.
          price_quoted: $179 / $389
        cost: Free
    Outcome:
      type: object
      properties:
        success:
          type: boolean
        type:
          type: string
          description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
        summary:
          type: string
          description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
        confirmation_number:
          type:
          - string
          - 'null'
        price_quoted:
          type:
          - string
          - 'null'
        booked_time:
          type:
          - string
          - 'null'
        appointment_time:
          type:
          - string
          - 'null'
        earliest_available:
          type:
          - string
          - 'null'
        next_steps:
          type:
          - string
          - 'null'
        business_needed:
          type:
          - string
          - 'null'
        unanswered_questions:
          type: array
          items:
            type: string
            description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
        deviations:
          type: array
          items:
            type: string
            description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
        reached_human:
          type: boolean
        reached_voicemail:
          type: boolean
        language_heard:
          type:
          - string
          - 'null'
        auto_redial:
          type:
          - object
          - 'null'
          properties:
            call_id:
              type: string
              description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
            language:
              type: string
              description: The answer or instruction, e.g. "2019 Toyota RAV4" or "Yes, book 7:30".
  securitySchemes:
    bearer:
      type: http
      scheme: bearer
      description: 'cfm_... key. Optional: without it, POST /v1/calls returns 402 with a setup link.'
x-refined-from:
- callforme-tel-openapi.json
- callforme-tel-openapi.yml