> ## Documentation Index
> Fetch the complete documentation index at: https://docs.useanima.sh/llms.txt
> Use this file to discover all available pages before exploring further.

# Get voicecallscontacts



## OpenAPI

````yaml /openapi.json get /voice/calls/contacts
openapi: 3.1.1
info:
  title: Anima API
  version: 0.1.0
  description: >-
    The Anima API provides programmatic access to unified infrastructure for AI
    agents: create and manage agents; send and receive email; place phone calls
    and send/receive SMS and voice; store and retrieve vault credentials; manage
    agent identity; and configure webhooks for real-time events. Authenticate
    using a Bearer token or an API key passed via the X-API-Key header.
  contact:
    name: Anima Labs
    url: https://useanima.sh
    email: support@useanima.sh
  license:
    name: MIT
    url: https://opensource.org/licenses/MIT
servers:
  - url: https://api.useanima.sh/v1
    description: Production
security:
  - BearerAuth: []
  - ApiKeyAuth: []
paths:
  /voice/calls/contacts:
    get:
      operationId: voice.listCallContacts
      parameters:
        - name: agentId
          in: query
          schema:
            type: string
            description: >-
              Filter to one agent. Optional for master keys (omit for every
              agent in the org); ignored for agent keys, which always see only
              their own.
          allowEmptyValue: true
          allowReserved: true
        - name: limit
          in: query
          schema:
            default: 50
            type: number
            minimum: 1
            maximum: 100
          allowEmptyValue: true
          allowReserved: true
        - name: offset
          in: query
          schema:
            default: 0
            type: number
            minimum: 0
          allowEmptyValue: true
          allowReserved: true
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  contacts:
                    type: array
                    items:
                      type: object
                      properties:
                        counterparty:
                          type: string
                          description: The other party's phone number (E.164)
                        agentId:
                          type: string
                          description: Agent that owns these calls
                        callCount:
                          type: integer
                          description: Total calls exchanged with this number
                        missedCount:
                          type: integer
                          description: >-
                            Calls that were never answered. Counted from a
                            missing answer timestamp rather than an end-reason,
                            so declined, timed-out and failed calls all count as
                            nobody picked up.
                        lastCallAt:
                          type: string
                          description: >-
                            When the most recent call started — the sort key for
                            this list
                        lastCallDirection:
                          enum:
                            - INBOUND
                            - OUTBOUND
                          type: string
                          description: Whether the most recent call came in or went out
                        totalDurationSeconds:
                          type: integer
                          description: >-
                            Seconds of connected time across every answered call
                            with this number
                      required:
                        - counterparty
                        - agentId
                        - callCount
                        - missedCount
                        - lastCallAt
                        - lastCallDirection
                        - totalDurationSeconds
                    description: Contacts, most recent call first
                  total:
                    type: integer
                    description: Total contacts matching the query
                  hasMore:
                    type: boolean
                    description: Whether more contacts exist past this page
                required:
                  - contacts
                  - total
                  - hasMore
components:
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        JWT Bearer token obtained from authentication. Pass as: Authorization:
        Bearer <token>
    ApiKeyAuth:
      type: apiKey
      in: header
      name: X-API-Key
      description: 'API key for programmatic access. Pass as: X-API-Key: <your-key>'

````