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

# Send WhatsApp chat presence

> Show typing or recording status in a chat.



## OpenAPI

````yaml /en/whatsapp-api/api-reference/openapi-whatsapp.json post /v1/whatsapp/messages/presence
openapi: 3.0.3
info:
  title: Notifique API — WhatsApp
  description: >-
    Send WhatsApp messages and manage connections. Authenticate with
    `Authorization: Bearer sk_live_...` or `x-api-key`.
  version: 1.0.0
servers:
  - url: https://api.notifique.dev
    description: Production
security:
  - ntfWaBearerAuth: []
  - ntfWaApiKeyHeader: []
tags:
  - name: Messages
    description: Send, list, edit, and cancel messages
  - name: Instances
    description: >-
      Register and manage connected WhatsApp numbers — each number is an
      **instance** (the phone that sends and receives messages).
  - name: Groups
    description: Groups (unofficial only)
paths:
  /v1/whatsapp/messages/presence:
    post:
      tags:
        - Mensagens
      summary: Send WhatsApp chat presence
      description: Show typing or recording status in a chat.
      operationId: ntfWa_postV1WhatsappMessagePresence
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
                - instanceId
                - to
                - presence
              properties:
                instanceId:
                  type: string
                  description: ID da instance WhatsApp do workspace
                to:
                  type: string
                  description: Telefone E.164 ou JID (@s.whatsapp.net / @g.us)
                presence:
                  type: string
                  enum:
                    - composing
                    - recording
                  description: composing = digitando; recording = gravando áudio
                delayMs:
                  type: integer
                  description: Reservado para uso futuro; ignorado na v1
            example:
              instanceId: inst_abc
              to: '5511999999999'
              presence: composing
      responses:
        '200':
          description: Presença definida com success.
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                    example: true
                  data:
                    type: object
                    properties:
                      instanceId:
                        type: string
                      to:
                        type: string
                      presence:
                        type: string
                        enum:
                          - composing
                          - recording
              example:
                success: true
                data:
                  ok: true
        '400':
          description: Instance incompatível com presença ou payload inválido.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfWa_ErrorResponse'
        '401':
          description: Unauthorized.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfWa_ErrorResponse'
        '403':
          description: Escopo ou acesso à instance.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfWa_ErrorResponse'
        '502':
          description: Falha ao enviar presença na conexão.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NtfWa_ErrorResponse'
components:
  schemas:
    NtfWa_ErrorResponse:
      type: object
      properties:
        success:
          type: boolean
          example: false
        error:
          type: string
          description: 'Rótulo HTTP do erro (ex.: Unauthorized, Bad Request, Not Found).'
        message:
          type: string
          description: >-
            Message legível para exibir ao usuário (localizada via
            Accept-Language / x-locale quando aplicável).
        code:
          type: string
          description: >-
            Código estável da API v1 (enum). Sempre presente em erros. Use com o
            status HTTP para decidir retry ou correção. Ver [Responses de
            erro](/guides/conceitos/resposta-de-erros).
        details:
          type: array
          items:
            type: object
            properties:
              field:
                type: string
              message:
                type: string
        note:
          type: string
      required:
        - success
        - error
        - message
        - code
  securitySchemes:
    ntfWaBearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: >-
        API Key no header Authorization. Exemplo: `Authorization: Bearer
        sk_live_xxxxx`
    ntfWaApiKeyHeader:
      type: apiKey
      in: header
      name: x-api-key
      description: API Key no header x-api-key.

````