Text Message Only
curl --location --request POST 'https://www.quickmessage.in/whatsapp-portal/api/create-message' \
--form 'appkey="---------your app key-----------"' \
--form 'authkey="---------your auth key-----------"' \
--form 'to="RECEIVER_NUMBER"' \
--form 'message="Example message"' \
Text Message with file
curl --location --request POST 'https://www.quickmessage.in/whatsapp-portal/api/create-message' \
--form 'appkey="---------your app key-----------"' \
--form 'authkey="---------your auth key-----------"' \
--form 'to="RECEIVER_NUMBER"' \
--form 'message="Example message"' \
--form 'file="https://www.africau.edu/images/default/sample.pdf"'
Template Only
curl --location --request POST 'https://www.quickmessage.in/whatsapp-portal/api/create-message' \
--form 'appkey="---------your app key-----------"' \
--form 'authkey="---------your auth key-----------"' \
--form 'to="RECEIVER_NUMBER"' \
--form 'template_id="TEMPLATE_ID"' \
--form 'variables[{variableKey1}]="jhone"' \
--form 'variables[{variableKey2}]="replaceable value"'
Successful Json Response
{
"message_status": "Success",
"data": {
"from": "SENDER_NUMBER",
"to": "RECEIVER_NUMBER",
"status_code": 200
}
}