WhatsApp Chatbot
Forward user sent message to Chatbot through GET request.
Query parameters
tostringRequired
The receipient mobile number of message
fromstringRequired
The sender mobile number of message
media_typestringRequired
Type of message ex:- text, image
textstringOptional
If media_type is "text" then the actual message would be picked from this field
media_datastringOptional
media data if meda_type other than text
Responses
200
message forwarded to chatbot sucessfully.
400
Error
get
GET /whatsapp-webhook/messages?to=text&from=text&media_type=text HTTP/1.1
Host:
Accept: */*
No content
Forward user sent message to Chatbot through POST request
Query parameters
tostringRequired
The receipient mobile number of message
fromstringRequired
The sender mobile number of message
media_typestringRequired
Type of message ex:- text, image
textstringOptional
If media_type is "text" then the actual message would be picked from this field
media_datastringOptional
media data if meda_type other than text
Responses
200
message forwarded to chatbot sucessfully.
400
Error
post
POST /whatsapp-webhook/messages?to=text&from=text&media_type=text HTTP/1.1
Host:
Accept: */*
No content
Last updated
Was this helpful?