PAPI WhatsApp icon

PAPI WhatsApp

Interaja com a PAPI WhatsApp API

Central de Ligações → Testar SMS

AI-generated

Summary

Send a test SMS message via a specified call instance to verify SMS functionality.

Inputs

  • ID da Instância de Ligação (required) — The unique identifier of the call instance used to send the test SMS.
  • Número para Teste (required) — The recipient phone number (including country code) to which the test SMS will be sent.
  • Texto do Teste (required) — The text content of the test SMS message to be sent.

Output shape

a single response object containing the result of the test SMS API call

The operation returns the JSON response from the API after attempting to send the test SMS via the call instance. On failure, an error object is returned or an exception is thrown unless 'continue on fail' is enabled.

Examples

Example 1: Send an SMS test message via a call instance

Specify the call instance ID, the test recipient number, and the test SMS text to invoke sending a test SMS through the designated instance.

Discussion