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

# Listar contatos

> Lista os contatos conhecidos pela instância, cada um com seu `phone` e nomes.



## OpenAPI

````yaml /pt-br/api-reference/openapi.json get /contacts
openapi: 3.1.0
info:
  title: Zapfy API
  description: >-
    API de WhatsApp multi-tenant. Envie mensagens e gerencie webhooks por uma
    superfície única.
  version: 1.0.0
servers:
  - url: https://api.zapfy.io/v1
security:
  - accountToken: []
paths:
  /contacts:
    get:
      tags:
        - Contatos
      summary: Listar contatos
      description: >-
        Lista os contatos conhecidos pela instância, cada um com seu `phone` e
        nomes.
      responses:
        '200':
          $ref: '#/components/responses/ContactList'
        '401':
          $ref: '#/components/responses/Error'
        '403':
          $ref: '#/components/responses/Error'
        '502':
          $ref: '#/components/responses/Error'
      security:
        - instanceToken: []
components:
  responses:
    ContactList:
      description: Contatos da instância.
      content:
        application/json:
          schema:
            type: object
            properties:
              data:
                type: array
                items:
                  $ref: '#/components/schemas/ContactSummary'
    Error:
      description: Erro.
      content:
        application/json:
          schema:
            type: object
            properties:
              error:
                type: string
                example: Instance not found
  schemas:
    ContactSummary:
      type: object
      properties:
        phone:
          type: string
          example: '5511999998888'
          description: Telefone do contato em E.164.
        name:
          type: string
          description: Nome completo do contato (agenda).
          example: João Silva
        pushName:
          type: string
          description: Nome de exibição que o contato definiu (pushName).
          example: João
        businessName:
          type: string
          description: Nome comercial, quando é uma conta business.
          example: ''
  securitySchemes:
    accountToken:
      type: http
      scheme: bearer
      description: Token de conta (`zpfy_acct_...`) — gerencia instâncias e webhooks.
    instanceToken:
      type: http
      scheme: bearer
      description: Token de instância (`zpfy_inst_...`) — envia mensagens.

````