Áudio
Envie um arquivo de áudio
Formatos e Limites de Tamanho
Requisitos de URL
Erros Comuns
INVALID_MEDIA_URL- A URL do áudio é inválida ou inacessívelMEDIA_TOO_LARGE- O arquivo de áudio excede o limite de 16MBUNSUPPORTED_MEDIA_TYPE- O formato de áudio não é suportado
Casos de Uso
- Enviar mensagens de voz
- Compartilhar músicas ou podcasts
- Enviar notificações em áudio
- Compartilhar gravações
Autorizações
Basic authentication using Base64 encoded clientId:clientSecret
Parâmetros de caminho
The unique identifier of the bot
Corpo
Message payload. The structure varies based on the message type.
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
Type of message to send
text "text"
Unique identifier of the user receiving the message. Accepts either a phone number in E.164 format without the leading '+' (e.g. '593999999999') or a BSUID (Business-Scoped User ID, e.g. 'US.13491208655302741918') for users who have enabled phone number privacy in WhatsApp.
"593999999999"
Text content of the message
"Hello, this is a text message"
Unique identifier of the bot sending the message
"BOT_ID"