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

# List Contacts

> Retrieve all contacts in your organization.



## OpenAPI

````yaml /api-reference/openapi.json get /contacts
openapi: 3.1.0
info:
  title: Truedy API
  description: >-
    Truedy Public API - Build voice AI agents and make automated phone calls.


    ## Authentication

    All requests require **Authorization: Bearer <your_api_key>**.

    Get your API key from the [Truedy Dashboard](https://app.truedy.ai).


    ## Response Format

    All successful responses follow this format:

    ```json

    {
      "data": { /* resource or list of resources */ },
      "meta": {
        "request_id": "req_xxx",
        "ts": "2026-03-03T20:30:21.310278Z"
      },
      "pagination": { /* optional, for list endpoints */ }
    }

    ```


    ## Error Handling

    Errors return appropriate HTTP status codes with structured error messages.
    Always check the `error` field in the response body for details.
  version: 1.0.0
servers:
  - url: https://api.truedy.ai/api/public/v1
    description: Truedy Public API
security:
  - BearerAuth: []
paths:
  /contacts:
    get:
      tags:
        - Contacts
      summary: List Contacts
      description: Retrieve all contacts in your organization.
      operationId: list_contacts
      parameters:
        - name: folder_id
          in: query
          required: false
          description: Filter by folder ID
          schema:
            type: string
        - name: limit
          in: query
          required: false
          description: Maximum results per page
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 50
        - name: offset
          in: query
          required: false
          description: Number of results to skip
          schema:
            type: integer
            minimum: 0
            default: 0
      responses:
        '200':
          description: List of contacts
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - meta
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ContactResponse'
                  meta:
                    $ref: '#/components/schemas/ResponseMeta'
                  pagination:
                    $ref: '#/components/schemas/PaginationInfo'
              example:
                data:
                  - id: cnt_d4e5f6a7
                    name: Jane Doe
                    phone: '+12125551234'
                    email: jane@acme.com
                    folder_id: folder_abc123
                    custom_fields:
                      company: Acme Corp
                      lead_score: '85'
                      region: Northeast
                    call_count: 3
                    last_called_at: '2026-04-04T14:00:00Z'
                    created_at: '2026-03-15T09:00:00Z'
                    updated_at: '2026-04-04T14:00:00Z'
                  - id: cnt_e5f6g7h8
                    name: John Smith
                    phone: '+15551230987'
                    email: john@widget.co
                    folder_id: folder_abc123
                    custom_fields:
                      company: Acme Corp
                      lead_score: '85'
                      region: Northeast
                    call_count: 3
                    last_called_at: '2026-04-04T14:00:00Z'
                    created_at: '2026-03-15T09:00:00Z'
                    updated_at: '2026-04-04T14:00:00Z'
                meta:
                  request_id: req_32e7531c
                  ts: '2026-04-05T10:22:00Z'
                pagination:
                  total: 24
                  limit: 50
                  offset: 0
                  has_more: false
        '401':
          description: Unauthorized
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '429':
          description: Rate limit exceeded
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
        '500':
          description: Internal server error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
components:
  schemas:
    ContactResponse:
      type: object
      required:
        - id
        - phone_number
        - created_at
      properties:
        id:
          type: string
          description: Unique contact identifier
          example: ctc_aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee
        phone_number:
          type: string
          description: Phone number in E.164 format
          example: '+15551234567'
        first_name:
          description: Contact first name
          example: John
          type:
            - string
            - 'null'
        last_name:
          description: Contact last name
          example: Doe
          type:
            - string
            - 'null'
        email:
          description: Contact email address
          example: john@example.com
          type:
            - string
            - 'null'
        custom_fields:
          description: Custom fields for this contact
          example:
            customer_id: CUST123
            account_balance: 5000
          type:
            - object
            - 'null'
        created_at:
          type: string
          format: date-time
          description: When contact was created
          example: '2026-03-03T20:30:21.310278Z'
        updated_at:
          format: date-time
          description: When contact was last updated
          example: '2026-03-03T20:30:21.310278Z'
          type:
            - string
            - 'null'
    ResponseMeta:
      type: object
      required:
        - request_id
        - ts
      properties:
        request_id:
          type: string
          description: Unique request identifier for debugging and support
          example: req_32e7531c-8
        ts:
          type: string
          format: date-time
          description: Server timestamp when the response was generated
          example: '2026-03-03T20:30:21.310278Z'
    PaginationInfo:
      type: object
      required:
        - total
        - limit
        - offset
        - has_more
      properties:
        total:
          type: integer
          description: Total number of items matching the query
          example: 156
        limit:
          type: integer
          description: Maximum items returned per page
          example: 50
        offset:
          type: integer
          description: Number of items skipped from the beginning
          example: 0
        has_more:
          type: boolean
          description: Whether more items exist after this page
          example: true
    ErrorResponse:
      type: object
      required:
        - error
      properties:
        error:
          type: object
          required:
            - code
            - message
          properties:
            code:
              type: string
              description: Error code
              example: not_found
            message:
              type: string
              description: Human-readable error message
              example: The requested resource does not exist
            details:
              description: Additional error context
              example:
                resource: agent
                id: agt_invalid
              type:
                - object
                - 'null'
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        API key authentication. Include your API key in the Authorization
        header: Bearer <your_api_key>

````