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

# Capacidades de contacto

> Operaciones de contacto del canal

## Concepto

Operaciones de contacto del canal.

> [!NOTE]
>
> En el canal Meta, `operations` viene vacía.


## OpenAPI

````yaml es/contacts/openapi.json GET /v1/channels/{channelId}/contacts/capabilities
openapi: 3.1.0
info:
  title: Omni Z-API - Contactos
  version: 1.0.0
servers:
  - url: https://api.omni.z-api.io
security:
  - bearerAuth: []
paths:
  /v1/channels/{channelId}/contacts/capabilities:
    get:
      tags:
        - Contatos
      summary: Capacidades de contacto
      description: >-
        Lista las operaciones de contacto disponibles en el canal. En el canal
        Meta, la lista viene vacía.
      operationId: contactCapabilities
      parameters:
        - name: channelId
          in: path
          required: true
          description: Channel id
          schema:
            type: string
            example: 58907809F0964E998D36C87F10EBA60C
      responses:
        '200':
          description: Operaciones del canal
          content:
            application/json:
              schema:
                type: object
                properties:
                  type:
                    type: string
                  operations:
                    type: array
                    items:
                      type: string
              examples:
                whatsappWeb:
                  value:
                    type: Z_API_WHATSAPP
                    operations:
                      - LIST_CONTACTS
                      - GET_CONTACT
                      - GET_CONTACT_PHOTO
                      - CHECK_CONTACTS
                meta:
                  value:
                    type: META_WHATSAPP
                    operations: []
        '401':
          $ref: '#/components/responses/Unauthorized'
        '403':
          $ref: '#/components/responses/Forbidden'
        '404':
          $ref: '#/components/responses/InstanceNotFound'
components:
  responses:
    Unauthorized:
      description: >-
        Secret Key rechazada. Viene con el header `WWW-Authenticate: Bearer`; el
        `message` cambia según el motivo (ver
        [Autenticación](/es/authentication)).
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: Authorization invalid
            message: >-
              Authorization invalid: the Authorization header is missing or
              empty. Send the workspace Secret Key as "Authorization: Bearer
              <secret-key>". See
              https://developer.omni.z-api.io/en/authentication
      headers:
        WWW-Authenticate:
          description: Siempre `Bearer`
          schema:
            type: string
            example: Bearer
    Forbidden:
      description: >-
        IP fuera de la lista del workspace (ver [Restricción de
        IP](/es/security/ip-restriction))
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: ip_not_allowed
            message: >-
              203.0.113.10 not allowed: this workspace only accepts API calls
              from the IPs on its allow list. The workspace Owner can add this
              IP under Administration > Security > IP Restriction in the panel
              (changes take up to 10 minutes to apply), or call from an allowed
              IP. See https://developer.omni.z-api.io/en/security/ip-restriction
    InstanceNotFound:
      description: Instancia (canal) no encontrada
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Error'
          example:
            error: instance not found
  schemas:
    Error:
      type: object
      properties:
        error:
          type: string
        field:
          type: string
        message:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Secret Key

````

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