Envio de mensagem
Envio de Mensagem
POST https://whatsapp.trendbuild.top/message
Este endpoint irá realizar o envio da mensagem.
Headers
Name
Type
Description
token
string
Token recebido na autenticação.
Request Body
Name
Type
Description
phone
string
Telefone completo - Código do Pais + DDD + Telefone - Ex.: 5511965498723
name
string
Nome do contato
body
string
Corpo da mensagem
media
string
Arquivo em Base64 - Ex.: "data:image/png;base64,iVBORw0...."
interaction
string
Valor padrão é 9999
{
"appbee_id": 1780,
"body": "Hello Trendbuild",
"datetime": "2021-05-31 23:43:33",
"interaction_id": null,
"me": 1,
"media": null,
"name": "Indhio",
"phone": 5561985956607,
"status": 0
}{
"status": "the phone field is required"
}
{
"status": "the name field is required"
}
{
"status": "the body or media field is required"
}Last updated
Was this helpful?