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

# List Contacts

> Listing all the resolved contacts with pagination (Page size = 15). Resolved contacts are the ones with a value for identifier, email or phone number



## OpenAPI

````yaml /openapi/application.json get /api/v1/accounts/{account_id}/contacts
openapi: 3.1.0
info:
  title: WiseApp API — Aplicação
  description: >-
    Referência completa da API do WiseApp: plataforma (provisionamento),
    aplicação (conta), cliente (canais públicos) e MCP.
  version: 1.1.0
servers:
  - url: https://chat.wiseapp360.com
    description: Sua instalação WiseApp
security: []
paths:
  /api/v1/accounts/{account_id}/contacts:
    get:
      tags:
        - Contacts
      summary: List Contacts
      description: >-
        Listing all the resolved contacts with pagination (Page size = 15).
        Resolved contacts are the ones with a value for identifier, email or
        phone number
      operationId: contactList
      parameters:
        - $ref: '#/components/parameters/account_id'
          schema:
            type: string
          example: sample
        - $ref: '#/components/parameters/contact_sort_param'
          schema:
            type: string
          example: sample
        - $ref: '#/components/parameters/page'
          schema:
            type: string
          example: sample
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/contacts_list_response'
              example:
                meta:
                  count: 1
                  current_page: Sample text
                  has_more: true
                payload:
                  - additional_attributes:
                      city: Sample text
                      country: Sample text
                      country_code: Sample text
                      created_at_ip: Sample text
                    availability_status: online
                    email: agent@example.com
                    id: 1
                    name: Sample resource
                    phone_number: '+15551234567'
                    blocked: true
                    identifier: Sample text
                    thumbnail: Sample text
                    custom_attributes:
                      source: api
                      segment: enterprise
                    last_activity_at: 1
                    created_at: 1
        '400':
          description: Bad Request Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/bad_request_error'
              example:
                error: Bad request
      security:
        - userApiKey: []
components:
  parameters:
    account_id:
      in: path
      name: account_id
      schema:
        type: integer
      required: true
      description: The numeric ID of the account
    contact_sort_param:
      in: query
      name: sort
      schema:
        type: string
        enum:
          - name
          - email
          - phone_number
          - last_activity_at
          - '-name'
          - '-email'
          - '-phone_number'
          - '-last_activity_at'
      required: false
      description: The attribute by which list should be sorted
    page:
      in: query
      name: page
      schema:
        type: integer
        default: 1
      required: false
      description: The page parameter
  schemas:
    contacts_list_response:
      type: object
      properties:
        meta:
          $ref: '#/components/schemas/contact_meta'
        payload:
          type: array
          items:
            $ref: '#/components/schemas/contact_list_item'
          description: List of contacts
    bad_request_error:
      title: data
      type: object
      properties:
        description:
          type: string
        errors:
          type: array
          items:
            $ref: '#/components/schemas/request_error'
    contact_meta:
      type: object
      properties:
        count:
          type: integer
          description: Total number of contacts
        current_page:
          type:
            - string
            - integer
          description: Current page number
        has_more:
          type: boolean
          description: Indicates if there are more results available
    contact_list_item:
      type: object
      properties:
        additional_attributes:
          type: object
          description: The object containing additional attributes related to the contact
          properties:
            city:
              type: string
              description: City of the contact
            country:
              type: string
              description: Country of the contact
            country_code:
              type:
                - string
                - 'null'
              description: Country code of the contact
            created_at_ip:
              type: string
              description: IP address when the contact was created
        availability_status:
          type: string
          description: Availability status of the contact
          enum:
            - online
            - offline
        email:
          type:
            - string
            - 'null'
          description: The email address of the contact
        id:
          type: integer
          description: The ID of the contact
        name:
          type: string
          description: The name of the contact
        phone_number:
          type:
            - string
            - 'null'
          description: The phone number of the contact
        blocked:
          type: boolean
          description: Whether the contact is blocked
        identifier:
          type:
            - string
            - 'null'
          description: The identifier of the contact
        thumbnail:
          type: string
          description: The thumbnail of the contact
        custom_attributes:
          type: object
          description: The custom attributes of the contact
        last_activity_at:
          type:
            - integer
            - 'null'
          description: Timestamp of last activity
        created_at:
          type: integer
          description: Timestamp when contact was created
        contact_inboxes:
          type: array
          description: List of inboxes associated with this contact
          items:
            $ref: '#/components/schemas/contact_inbox'
        ignore_greeting:
          type: boolean
          description: >-
            Skips the inbox greeting message for this contact (Evolution, WAHA
            and UAZAPI WhatsApp inboxes only)
        ignore_csat:
          type: boolean
          description: >-
            Skips the CSAT survey for this contact (Evolution, WAHA and UAZAPI
            WhatsApp inboxes only)
        ignore_agent_name:
          type: boolean
          description: >-
            Skips the agent name prefix on outgoing messages for this contact
            (Evolution, WAHA and UAZAPI WhatsApp inboxes only)
    request_error:
      type: object
      properties:
        field:
          type: string
        message:
          type: string
        code:
          type: string
    contact_inbox:
      type: object
      properties:
        source_id:
          type: string
          description: Source identifier for the contact inbox
        inbox:
          type: object
          properties:
            id:
              type: integer
              description: ID of the inbox
            avatar_url:
              type: string
              description: URL for the inbox avatar
            channel_id:
              type: integer
              description: ID of the channel
            name:
              type: string
              description: Name of the inbox
            channel_type:
              type: string
              description: Type of channel
            provider:
              type:
                - string
                - 'null'
              description: Provider of the inbox
  securitySchemes:
    userApiKey:
      type: apiKey
      in: header
      name: api_access_token
      description: >-
        Token de acesso do usuário (Perfil → Token de acesso). Dá acesso
        conforme o papel do usuário e age em nome dele.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.