Send Message
Body
-
phone string
Phone number with country code
-
message string
Message to send
-
reply_message_id string
Message ID that you want reply
POST
/send/message
curl \
-X POST http://localhost:3000/send/message \
-H "Content-Type: application/json" \
-d '{"phone":"6289685028129@s.whatsapp.net","message":"selamat malam","reply_message_id":"3EB089B9D6ADD58153C561"}'
Request examples
{
"phone": "6289685028129@s.whatsapp.net",
"message": "selamat malam",
"reply_message_id": "3EB089B9D6ADD58153C561"
}
Response examples (200)
{
"code": "SUCCESS",
"message": "Success",
"results": {
"message_id": "3EB0B430B6F8F1D0E053AC120E0A9E5C",
"status": "<feature> success ...."
}
}
Response examples (400)
{
"code": 400,
"message": "field cannot be blank",
"results": {}
}
Response examples (500)
{
"code": "INTERNAL_SERVER_ERROR",
"message": "you are not loggin",
"results": {}
}