This endpoint is for sending single messages to both personal and group numbers.
| Parameter | Description | Example | Requirement |
|---|---|---|---|
| phone | Fill in the number or group ID | 6281290641111 | Required |
| device_key | Device ID. Optional if system is set to auto-pick, but required if targeting group or forced by settings | bc8bae5a-0997-40a2-a827-b95adc714dd3 | Required if mandatory or sending to group |
| api_key | Your API key | XYZ987TOKEN | Required |
| method | Message method, available values: text or template |
text / template | Required |
| text | Message content, used only when method is text |
Hallo guys! | Required if method is text |
| is_group | Set true if sending to group, false if to individual |
true | Required |
{
"phone": "RECEIVER_NUMBER_OR_GROUP_ID",
"device_key": "YOUR_DEVICE_ID",
"api_key": "YOUR_API_KEY",
"method": "text",
"text": "Hallo guys!",
"is_group": true
}
curl --location 'https://app.omnichat.id/api-app/whatsapp/send-message' \
--header 'Content-Type: application/json' \
--data-raw '{
"phone": "RECEIVER_NUMBER_OR_GROUP_ID",
"device_key": "YOUR_DEVICE_ID",
"api_key": "YOUR_API_KEY",
"method": "text",
"text": "Hallo guys!",
"is_group": true
}'
{
"status": true,
"message": "Berhasil mengirimkan pesan"
}
The endpoint here is the same as the previous Send Message endpoint, the only difference is in the body, if in the example above we use the text method, to send a message without a template, in this endpoint we use the template method, to send a message using the template we created in Ping Dashboard
| Parameter | Description | Example | Requirement |
|---|---|---|---|
| phone | Receiver phone number or WhatsApp Group ID | 6281234567890 / [email protected] | Required |
| device_key | Your WhatsApp device identifier | bc8bae5a-0997-40a2-a827-b95adc714dd3 | Required |
| api_key | Your API key | 39c91b1a-03a5-43e6-a798-73b18388652b | Required |
| method | Sending method (use template for this) |
template | Required |
| template | Whatsapp message template ID to be used | 510b32e9-d6d9-4c75-83ae-f95cdfcc96e3 | Required |
| is_group | Set true if sending to a group |
true | Optional |
| variables | Fill with the variables provided in the message template | { "{business_name}": "My Store", "{name}": "Budi" } |
Required |
{
"phone": "RECEIVER_NUMBER_OR_GROUP_ID",
"device_key": "YOUR_DEVICE_ID",
"api_key": "YOUR_API_KEY",
"method": "template",
"template": "YOUR_TEMPLATE_ID",
"is_group": true,
"variables": {
"{business_name}": "BUSINESS_NAME",
"{name}": "YOUR_NAME"
}
}
curl --location 'https://app.omnichat.id/api-app/whatsapp/send-message' \
--header 'Content-Type: application/json' \
--data-raw '{
"phone": "RECEIVER_NUMBER_OR_GROUP_ID",
"device_key": "YOUR_DEVICE_ID",
"api_key": "YOUR_API_KEY",
"method": "template",
"template": "YOUR_TEMPLATE_ID",
"is_group": true,
"variables": {
"{business_name}": "BUSINESS_NAME",
"{name}": "YOUR_NAME"
}
}'
/pre>
{
"status": true,
"message": "Berhasil mengirimkan pesan"
}
This endpoint is actually created to open communication from the WhatsApp server when a WhatsApp message comes into the connected device.
But sometimes this callback will be useful when we want to do auto reply testing without having to test sending messages on WhatsApp
| Parameter | Description | Example | Requirement |
|---|---|---|---|
| from | The sender's number (use [email protected] for personal chats or [email protected] for groups) |
62812906*****@s.whatsapp.net | Required |
| message_id | Unique identifier for the WhatsApp message | 18DD98462C8AA16C5A598C3DEBA0879B | Required |
| message | The content of the message | Hello | Required |
| from_name | Name of the sender | Bhisma Kalijaga | Required |
| type | Type of message, typically set to single |
single | Required |
{
"from": "62812906*****@s.whatsapp.net",
"message_id": "18DD98462C8AA16C5A598C3DEBA0879B",
"message": "Halo",
"from_name": "Bhisma Kalijaga",
"type": "single"
}
curl --location 'https://app.omnichat.id/api-app/whatsapp/callback/device_03359ec3-2052-43ff-9495-6155b8cab4cc' \
--header 'Content-Type: application/json' \
--data-raw '{
"from": "62812906*****@s.whatsapp.net",
"message_id": "18DD98462C8AA16C5A598C3DEBA0879B",
"message": "Halo",
"from_name": "Bhisma Kalijaga",
"type": "single"
}'
{
"message": {
"text": "API Doc Ping Example"
},
"receiver": "6281290*****@s.whatsapp.net",
"session_id": "device_03359ec3-2052-43ff-9495-6155b8cab4cc",
"autoread": false,
"reply": true
}
The webhook endpoint will be automatically sent when the connected WhatsApp device receives a message.
Whether or not the webhook is sent depends on you filling in the endpoint url on the device.
{
"device_key": "DEVICEID",
"name": "FROM NAME",
"message": "MESSAGE DETAIL ( TEXT )",
"type": "single"
}
curl --location 'https://yourdomain.com' \
--data '{
"device_key": "DEVICEID",
"name": "FROM NAME",
"message": "MESSAGE DETAIL ( TEXT )",
"type": "single"
}'
Omnichat bisa di setting untuk membalas pesan berdasarkan kata kunci tertentu, atau anda bisa serahkan ke AI.
Bisa, kamu bisa latih manual atau otomatis, dan AI bisa membaca history pesan chat kamu dan mempelajari nya sendiri, atur sesuai keinginan kamu ya.
Sangat bisa, di sini kamu bisa broadcast berdasarkan grup whatsapp, database kontak ataupun ke nomor yang pernah chat kamu selama ini, canggih kan ?.
Tidak, ini berbasis web anda hanya buka di browser atau di ponsel dan login berdasarkan akun masing masing.
Bisa, anda juga bisa mengatur device chat tertentu untuk beberapa cs dan bisa untuk auto over ke cs lain.
Kamu bisa balasin Chat dalam 1 halaman, semua chat dari semua device whatsapp, akun Fb, IG dan live chat web masuk dalam 1 dashboard. segampang itu anda bisa langsung broadcast dan balasin chat
Kami telah menguji omnichat.id secara berkala dan mendapatkan beberapa algoritma penting dan menggabungkan dengan kecerdasaran buatan. di dalam dashboard omnichat terdapat setingan untuk mencegah terjadinya pemblokiran dari pihak whatsapp dan platform media sosial lainnya









