PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Mensagem → Enviar Texto

AI-generated

Summary

Send a text message via a specified WhatsApp instance to a recipient identified by phone number or group JID.

Inputs

  • ID da Instância (required) — Specify the WhatsApp instance ID to use for sending the message.
  • Número/JID (required) — Provide the recipient's phone number with country code or the JID of a WhatsApp group.
  • Texto (required) — Enter the text content of the message to be sent.

Output shape

a single JSON object representing the API response for the sent message

The output contains the response returned from the PAPI WhatsApp API after sending the text message, including any message IDs or error information if applicable.

Examples

Example 1: Sending a simple text message to a phone number

Set 'ID da Instância' to your WhatsApp instance ID, 'Número/JID' to a recipient's full phone number (e.g., '5511999999999'), and 'Texto' to your desired message content.

Discussion