To connect your Custom App with SyncMate, you need to follow the easy steps below:
Step 1
First of all, you will need to connect your WhatsApp with SyncMate, follow the Configuration guide.
Step 2
Copy the API key of the custom app.
Step 3
You will need to make a post request on :
https://app.assistro.co/api/v1/wapushplus/single/sendmessage
The parameters that are required to make a post request on the above URL:
headers = {
"Authorization": "Bearer {bearer_token}",
"Content-Type": "application/json"
}
The API key, which you copied, will be passed in the authorization field.
Request body = {
"msgs": [
{
"number" : 919998887776,
"message" : "Hello, good morning !",
"file_name" : "myfile",
"mediaBase64" "base 64 code.."
}
]
}