Aircall Calls API

The Calls API from Aircall — 7 operation(s) for calls.

OpenAPI Specification

aircall-calls-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Aircall Public Calls API
  version: v1
  description: 'Best-effort OpenAPI 3.1 representation of the Aircall Public API derived from

    https://developer.aircall.io/api-references/. Aircall is a cloud phone

    system. Resources include users, teams, calls, numbers, contacts, tags,

    messages, webhooks, dialer campaigns, conversation intelligence, and the

    AI voice agent. Authentication supports OAuth 2.0 (for technology partners)

    or HTTP Basic auth using api_id / api_token (for customers). Rate limit:

    120 requests per minute per API key.

    '
  contact:
    name: Aircall Developer
    url: https://developer.aircall.io/api-references/
servers:
- url: https://api.aircall.io/v1
  description: Aircall production API
security:
- BasicAuth: []
- OAuth2:
  - public_api
tags:
- name: Calls
paths:
  /calls:
    get:
      tags:
      - Calls
      summary: List calls
      operationId: listCalls
      responses:
        '200':
          description: OK
  /calls/search:
    get:
      tags:
      - Calls
      summary: Search calls
      operationId: searchCalls
      responses:
        '200':
          description: OK
  /calls/{id}:
    get:
      tags:
      - Calls
      summary: Retrieve call
      operationId: getCall
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: OK
  /calls/{id}/transfer:
    post:
      tags:
      - Calls
      summary: Transfer a call
      operationId: transferCall
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: OK
  /calls/{id}/comments:
    post:
      tags:
      - Calls
      summary: Add comment to a call
      operationId: commentCall
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '201':
          description: Created
  /calls/{id}/tags:
    post:
      tags:
      - Calls
      summary: Tag a call
      operationId: tagCall
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: OK
  /calls/{id}/archive:
    put:
      tags:
      - Calls
      summary: Archive a call
      operationId: archiveCall
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: OK
components:
  securitySchemes:
    BasicAuth:
      type: http
      scheme: basic
      description: Aircall customer authentication using api_id (username) and api_token (password) sent as HTTP Basic auth.
    OAuth2:
      type: oauth2
      description: OAuth 2.0 authorization code flow for Aircall Marketplace technology partners.
      flows:
        authorizationCode:
          authorizationUrl: https://auth.aircall.io/oauth/authorize
          tokenUrl: https://auth.aircall.io/oauth/token
          scopes:
            public_api: Access to the Aircall Public API