# Calls

> This is a subset of the full specification, limited to the `call_list` schema.
>
> You can find the full specification here: /_bundle/docs/references/@2.15/rest-api/api.intercom.io.yaml

```yaml
openapi: 3.0.1
info:
  title: Intercom API
  version: '2.15'
  description: This is a subset of the full specification, limited to the `call_list` schema.
  contact:
    name: Intercom Developer Hub
    url: https://developers.intercom.com
  license:
    name: MIT
    url: https://spdx.org/licenses/MIT
servers:
  - url: https://api.intercom.io
    description: The production API server
  - url: https://api.eu.intercom.io
    description: The european API server
  - url: https://api.au.intercom.io
    description: The australian API server
security:
  - bearerAuth: []
paths: {}
components:
  schemas:
    datetime:
      oneOf:
        - title: string
          type: string
          format: date-time
          description: A date and time following the ISO8601 notation.
        - title: integer
          type: integer
          description: A date and time as Unix timestamp notation.
    cursor_pages:
      title: Cursor based pages
      type: object
      description: |
        Cursor-based pagination is a technique used in the Intercom API to navigate through large amounts of data.
        A "cursor" or pointer is used to keep track of the current position in the result set, allowing the API to return the data in small chunks or "pages" as needed.
      nullable: true
      properties:
        type:
          type: string
          description: the type of object `pages`.
          example: pages
          enum:
            - pages
        page:
          type: integer
          description: The current page
          example: 1
        next:
          $ref: '#/components/schemas/starting_after_paging'
        per_page:
          type: integer
          description: Number of results per page
          example: 2
        total_pages:
          type: integer
          description: Total number of pages
          example: 13
    call:
      title: Call
      type: object
      x-tags:
        - Calls
      description: Represents a phone call in Intercom
      properties:
        type:
          type: string
          description: String representing the object's type. Always has the value `call`.
          example: call
        id:
          type: string
          description: The id of the call.
          example: '123'
        conversation_id:
          type: string
          nullable: true
          description: The id of the conversation associated with the call, if any.
          example: '456'
        admin_id:
          type: string
          nullable: true
          description: The id of the admin associated with the call, if any.
          example: '789'
        contact_id:
          type: string
          nullable: true
          description: The id of the contact associated with the call, if any.
          example: 6762f0dd1bb69f9f2193bb83
        state:
          type: string
          description: The current state of the call.
          example: completed
        initiated_at:
          $ref: '#/components/schemas/datetime'
        answered_at:
          $ref: '#/components/schemas/datetime'
        ended_at:
          $ref: '#/components/schemas/datetime'
        created_at:
          $ref: '#/components/schemas/datetime'
        updated_at:
          $ref: '#/components/schemas/datetime'
        recording_url:
          type: string
          format: uri
          nullable: true
          description: API URL to download or redirect to the call recording if available.
          example: https://api.intercom.io/calls/123/recording
        transcription_url:
          type: string
          format: uri
          nullable: true
          description: API URL to download or redirect to the call transcript if available.
          example: https://api.intercom.io/calls/123/transcript
        call_type:
          type: string
          description: The type of call.
          example: phone
        direction:
          type: string
          description: The direction of the call.
          example: outbound
        ended_reason:
          type: string
          nullable: true
          description: The reason for the call end, if applicable.
          example: completed
        phone:
          type: string
          nullable: true
          description: The phone number involved in the call, in E.164 format.
          example: '+15551234567'
        fin_recording_url:
          type: string
          format: uri
          nullable: true
          description: API URL to the AI Agent (Fin) call recording if available.
        fin_transcription_url:
          type: string
          format: uri
          nullable: true
          description: API URL to the AI Agent (Fin) call transcript if available.
    call_list:
      title: Calls
      type: object
      description: A paginated list of calls.
      properties:
        type:
          type: string
          description: String representing the object's type. Always has the value `list`.
          example: list
        data:
          type: array
          description: A list of calls.
          items:
            $ref: '#/components/schemas/call'
        total_count:
          type: integer
          description: Total number of items available.
          example: 0
        pages:
          $ref: '#/components/schemas/cursor_pages'
    starting_after_paging:
      title: 'Pagination: Starting After'
      type: object
      nullable: true
      properties:
        per_page:
          type: integer
          description: The number of results to fetch per page.
          example: 2
        starting_after:
          type: string
          description: The cursor to use in the next request to get the next page of results.
          nullable: true
          example: your-cursor-from-response
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
```
