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

# List Contacts

> List contacts with filtering and pagination.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/contacts
openapi: 3.1.0
info:
  title: wazzapi Public API
  description: >-
    Public API surface for external API-key clients. Only stable /api/v1
    endpoints are included.


    ## Webhook deliveries

    This reference also includes the webhook requests Wazzapi sends to your
    endpoint for incoming messages, message status updates, and device status
    changes. See the `Incoming webhooks` section in the sidebar for headers,
    payload fields, and concrete examples.
  version: 1.0.0
servers: []
security: []
tags:
  - name: Incoming webhooks
    description: >-
      POST deliveries that Wazzapi sends to your webhook endpoint after you
      subscribe to supported events. Verify the signature against the raw body
      and return a 2xx response quickly.
paths:
  /api/v1/contacts:
    get:
      tags:
        - contacts
      summary: List Contacts
      description: List contacts with filtering and pagination.
      operationId: list_contacts_api_v1_contacts_get
      parameters:
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 100
            minimum: 1
            default: 50
            title: Limit
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            default: 0
            title: Offset
        - name: search
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Search
        - name: source
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Source
        - name: group_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
                format: uuid
              - type: 'null'
            title: Group Id
        - name: sort_by
          in: query
          required: false
          schema:
            type: string
            default: name
            title: Sort By
        - name: sort_order
          in: query
          required: false
          schema:
            type: string
            default: asc
            title: Sort Order
        - name: Authorization
          in: header
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ContactListResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    ContactListResponse:
      properties:
        contacts:
          items:
            $ref: '#/components/schemas/ContactItem'
          type: array
          title: Contacts
        total:
          type: integer
          title: Total
        limit:
          type: integer
          title: Limit
        offset:
          type: integer
          title: Offset
      type: object
      required:
        - contacts
        - total
        - limit
        - offset
      title: ContactListResponse
      description: Response for listing contacts.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ContactItem:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        phone_number:
          type: string
          title: Phone Number
        name:
          anyOf:
            - type: string
            - type: 'null'
          title: Name
        email:
          anyOf:
            - type: string
            - type: 'null'
          title: Email
        whatsapp_name:
          anyOf:
            - type: string
            - type: 'null'
          title: Whatsapp Name
        profile_picture_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Profile Picture Url
        source:
          type: string
          title: Source
        source_details:
          anyOf:
            - type: string
            - type: 'null'
          title: Source Details
        is_opted_out:
          type: boolean
          title: Is Opted Out
        tags:
          items:
            type: string
          type: array
          title: Tags
        last_message_at:
          anyOf:
            - type: string
            - type: 'null'
          title: Last Message At
        created_at:
          type: string
          title: Created At
      type: object
      required:
        - id
        - phone_number
        - source
        - is_opted_out
        - tags
        - created_at
      title: ContactItem
      description: Contact list item.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError

````