WhatsApp Chatbot

Swagger API Contract Link

Send user sent messages to Chatbot through GET request

get

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.
get
GET /whatsapp-webhook/messages?to=text&from=text&media_type=text HTTP/1.1
Host: 
Accept: */*

No content

Send user sent messages to Chatbot through POST request

post

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.
post
POST /whatsapp-webhook/messages?to=text&from=text&media_type=text HTTP/1.1
Host: 
Accept: */*

No content

Last updated

Was this helpful?