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

# Listar contactos



## OpenAPI

````yaml /openapi.yaml get /contacts
openapi: 3.1.0
info:
  title: API de Impulso Digital
  version: '1.0'
  description: >
    Conecta tu CRM, tu tienda o un asistente de IA a una cuenta de Impulso
    Digital: envía mensajes y plantillas por WhatsApp, lee conversaciones,
    maneja contactos y mensajes programados, y recibe avisos (webhooks) de lo
    que pasa en la cuenta.
  contact:
    name: Impulso Digital
    url: https://impulsodigital.app
    email: soporte@impulsodigital.app
servers:
  - url: https://api.impulsodigital.app/v1
    description: Producción
security:
  - llave: []
tags:
  - name: Cuenta
  - name: Mensajes
  - name: Conversaciones
  - name: Contactos
  - name: Plantillas
  - name: Programados
  - name: Avisos
paths:
  /contacts:
    get:
      tags:
        - Contactos
      summary: Listar contactos
      parameters:
        - name: search
          in: query
          description: Nombre, teléfono o correo.
          schema:
            type: string
        - $ref: '#/components/parameters/Limit'
        - $ref: '#/components/parameters/After'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/Contact'
                  meta:
                    $ref: '#/components/schemas/PageMeta'
components:
  parameters:
    Limit:
      name: limit
      in: query
      description: Cuántos resultados por página (1 a 100).
      schema:
        type: integer
        minimum: 1
        maximum: 100
        default: 50
    After:
      name: after
      in: query
      description: >-
        Cursor de la página siguiente (el `meta.next_cursor` de la respuesta
        anterior).
      schema:
        type: string
  schemas:
    Contact:
      type: object
      properties:
        id:
          type: string
        phone:
          type: string
          examples:
            - '573105550001'
        whatsapp_id:
          type: string
        name:
          type:
            - string
            - 'null'
        email:
          type:
            - string
            - 'null'
        company:
          type:
            - string
            - 'null'
        address:
          type:
            - string
            - 'null'
        national_id:
          type:
            - string
            - 'null'
        notes:
          type:
            - string
            - 'null'
        status:
          type: string
          examples:
            - new
            - active
            - lost
        is_buyer:
          type: boolean
        blocked:
          type: boolean
        accepts_messaging:
          type:
            - boolean
            - 'null'
        first_contact:
          type:
            - string
            - 'null'
          format: date-time
        last_contact:
          type:
            - string
            - 'null'
          format: date-time
        total_messages:
          type: integer
    PageMeta:
      type: object
      properties:
        next_cursor:
          type:
            - string
            - 'null'
          description: null cuando no hay más páginas.
  securitySchemes:
    llave:
      type: http
      scheme: bearer
      description: >-
        Tu llave de API: `Authorization: Bearer imp_live_…`. También se acepta
        la cabecera `X-API-Key`.

````

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