POST
/webhook
Webhook enpoint for whatsapp service provider
name type data type description None required object (JSON or YAML) N/A
http code content-type response 201
text/json;charset=UTF-8
Configuration created successfully
400
application/json
{"code":"400","message":"Bad Request"}
405
text/html;charset=utf-8
None
curl --location 'localhost:3010/webhook' \--header 'Content-Type: application/json' \--data '{"text":"Hi"}'
POST
/gupshup/webhook
Webhook enpoint specific to Gupshup whatsapp service provider
name type data type description None required object (JSON or YAML) N/A
http code content-type response 201
text/json;charset=UTF-8
Configuration created successfully
400
application/json
{"code":"400","message":"Bad Request"}
405
text/html;charset=utf-8
None
curl --location 'localhost:3010/gupshup/webhook' \--header 'Content-Type: application/json' \--data '{"text":"Hi"}'