Teasy Bot Webhook is a feature to provide you receipt of every message sent to your Whatsapp. Using Teasy Bot and Webhook, you can create personalized conversations and collect your customers data sent to you through Whatsapp.
Teasy Bot Webhook only receives incoming texts. Images, documents or videos are not supported in this version. But if your image, document or video is sent with text, you will only receive the text of the message.
- Contact the Teasy Solutions company using the WhatsApp[+55 (48) 99205-1362] or E-mail[contact@teasy.solutions]
- Hire Teasy Bot (You can try it for free for 14 days)
- Connect your Whatsapp with Teasy Bot
- In this step you will receive your
access_key
- In this step you will receive your
- Implement your webhook using this Gist
- Send the webhook URL to Teasy Solutions
- Your webhook needs to receive the
access_key
parameter in theheaders
of the request - Your webhook go to receive a payload with
phoneNumber
,dateTime
and, amessage
phoneNumber
: Number of the sent the messagedateTime
: Date and time of the message was receivedmessage
: Text with message received
- Your request must be of type POST
- The URL naming is free, you can implement:
https://my-domain.com/teasy-bot-webhook
(suggestion)
Your request needs to work with this example of the request using cURL
curl --request POST \
--url https://my-domain.com/teasy-bot-webhook \
--header 'Content-Type: application/json' \
--header 'access_key: example-of-the-access-key' \
--data '{
"phoneNumber": "5548900000000",
"dateTime": "2023-02-24 10:00:00",
"message": "example of the message"
}'
Teasy Bot Webhook é um recurso para fornecer o recebimento de todas as mensagens enviadas para o seu Whatsapp. Usando Teasy Bot e Webhook, você pode criar conversas personalizadas e coletar dados de seus clientes enviados a você pelo Whatsapp.
Teasy Bot Webhook recebe apenas textos recebidos. Imagens, documentos ou vídeos não são suportados nesta versão. Mas se sua imagem, documento ou vídeo for enviado com texto, você receberá apenas o texto da mensagem.
- Entre em contato com a empresa Teasy Solutions usando o WhatsApp [+55 (48) 99205-1362] ou E-mail [contact@teasy.solutions]
- Contrate o Teasy Bot (você pode experimentá-lo gratuitamente por 14 dias)
- Conecte seu Whatsapp com o Teasy Bot
- Nesta etapa você receberá sua
access_key
- Nesta etapa você receberá sua
- Implemente seu webhook usando este Gist
- Envie a URL do webhook para a Teasy Solutions
- Seu webhook precisa receber o parâmetro
access_key
nosheaders
da requisição - Seu webhook vai receber um payload com
phoneNumber
,dateTime
e umamessage
phoneNumber
: Número de quem enviou a mensagemdateTime
: Data e hora em que a mensagem foi recebidamensagem
: Texto com mensagem recebida
- Sua requisição deve ser do tipo POST
- A nomenclatura do URL é livre, uma sugestão seria:
https://my-domain.com/teasy-bot-webhook
Sua requisição precisa funcionar com este exemplo de requisição usando cURL
curl --request POST \
--url https://my-domain.com/teasy-bot-webhook \
--header 'Content-Type: application/json' \
--header 'access_key: example-of-the-access-key' \
--data '{
"phoneNumber": "5548900000000",
"dateTime": "2023-02-24 10:00:00",
"message": "example of the message"
}'