You can download the attachment sent to your device using webhook.

This function will only working on device with all feature package.

Special note : any autoreply feature won't work if you are using webhook.

const fs = require("fs");
const express = require("express");
const app = express();
app.use(express.static("public"));"/webhook", async function (req, res) {
  const response = await fetch(req.body.url);
  const result = await response.arrayBuffer();
  fs.writeFile(`./public/file.${req.body.extension}`, Buffer.from(result), (err) => {
    if (err) console.log(err);

app.listen(3000, function (err) {
  if (err) console.log(err);
  console.log("Server listening on PORT", 3000);

If your attachment have message with it, you can find it in req.body.url.

The attachment will be downloaded and saved in the public folder.

To save somewhere else, determine the path where the attachment should be saved.

Note: The attachment will follow file limitation rules. if you are receiving an attachment outside file limitation rules, you will not receive it on your webhook.

Using webhook will enable your device to respond on incoming message with dynamic response.

We will use express for easier usage.

Special note : any autoreply feature won't work if you are using webhook.

const express = require("express");
const app = express();

async function sendFonnte(data) {
  const url = "";

  const customHeaders = {
    "Content-Type": "application/json",
    Authorization: TOKEN ,

  const response = await fetch(url, {
    method: "POST",
    headers: customHeaders,
    body: JSON.stringify(data),
  console.log(await response.json());
}"/webhook", function (req, res) {
  if (req.body.message == "test") {
    const data = {
      target: req.body.sender,
      message: "working great!",
  } else {
    const data = {
      target: req.body.sender,
      message: "this is default reply from fonnte",

app.listen(3000, function (err) {
  if (err) console.log(err);
  console.log("Server listening on PORT", 3000);

Available parameter

Replying using attachment is only available on devices with a package of super, advanced or ultra.

Forward Rotator

We are adding rotator option for the the recipient.

You can forward incoming message or split the leads when a client fill a form using API.

Forward message

You can now use full power of autoreply fonnte.

Similar to forward rotator, you can now forward incoming text to a specific number.

You can only forward on default message.

It's pointless to forward text which is the same as keyword.


Fonnte adding a menu to make a partnership with you.

This is an opportunity for you to make more clients and more money.

Your product / service will be shown at partner's page.

But this is limited to a product/service which require their clients to use their own token.

Bugs and fixes

add autoresend to group when failed.

fix missing validation on button url.

fix autorepy button type.

Rotator is a feature that allows you to send messages randomly according to the weight of each number.

This feature primarily used to split leads from a form, button or another method.

You can use it for autoreply (default only) and send message (API only).

To create the rotator, you can go to rotator menu.

The fields of submission is shown above.

After you finish adding the rotator, you can click add and the rotator will be added and ready to use.

You can use it on autoreply with default reply enabled or using rotator API as target with rotator id

This API will Get all of your rotator list.


$curl = curl_init();

curl_setopt_array($curl, array(
  CURLOPT_URL => '',
    'Authorization: TOKEN'

$response = curl_exec($curl);

echo $response;

If you prefer to see on postman, see here.

TOKEN must be filled by your own token. See how to get token.


Successfull response

    "data": [
            "id": "rotator#1",
            "name": "1"
    "status": true

-Unknown user : your username is invalid, try relogin

    "detail": "unknown user",
    "status": false

- Error fetching rotator : There is something wrong with the rotator data.

    "detail": "error fetching rotator",
    "status": false

- No rotator yet : You haven't create any rotator yet

    "detail": "no rotator yet",
    "status": false


We are adding rotator option for the sender.

You can use multiple device/token to send to several target numbers, so it will randomize the sender and lower the chance of getting banned.

Submission menu

Submission menu is newly added feature.

This feature enable you to create a form that actually works on whatsapp.

You can get your customer data fast and easy.

Read more at submission documentation.

Additional webhook data

Fonnte sending more data to be used by your webhook.

Read more at webhook documentation.

Webhook download attachment

Now you can save the attachment that has been received by your whatsapp bot.

Note : the attachment will follow the file limitation rule and require device with all feature package.

Read more at download attachment documentation.

Random delay

Fonnte always use fixed delay to multiple target number which make the sending have a certain rhytm.

to make it more like human and less like bot, we are implementing random delay.

You can set delay 5-10 for example, the messages will be sent randomly between 5 to 10 seconds later and the delay keep stacking.

Bugs and fixes

fix schedule delay

fix case sensitive button reply

fix incorrect delay on schedule message

fix incorrect timezone on message history report

fix incorrect schedule status

optimize autorestart strategy

optimize connection state

optimize send message logic

You can make a form actually on whatsapp using this feature.

Submission feature work like button menu, it will be used on autoreply menu.

Most of the time, whenever you order something from small to medium business on whatsapp, you will be given a message like this :

Before you order, please fill the details below

Name :
Address :
Item :
Amount :

And then please re-send it after you fill it.

This submission feature will make the process easier for you and your customer.


First, make your own submission.

fonnte submission feature

The fields of submission is shown above.

after you create the submission, the submission will be shown below.

You can see the list of your customer, edit and delete the submission.

note : deleting the submission will also delete the submission list.

Submission List

You can check the customer input by clicking the submission list button.

The heading is using the question name field.

That's why it's best to set the question name short.

You can delete the submission list.

We will add export feature later.

There are several message status after send message.

Every device will have their own package.

A package cannot be shared over several devices.

The package cannot be upgraded or downgraded.

A month will be count by 30 days, a year 360 days.

Your current package will be terminated if you want to upgrade or downgrade the package.

Fortunatelly, if you subscribe with the same package, your quota and expiration will be extended and added.

For example :

case 1.

Your device currently have free package with 900 quota left and expired in 20 days.

You are willing to upgrade to regular package.

Your quota will be 10.000 and expired in 30 days start from today.

The remain quota of 900 and expiration time will be terminated.

case 2.

Your device currently have regular package with 5000 quota left and expired in 10 days.

You are willing subscribe regular package again.

Your quota will be 15.000 and expired in 30 days start from expiration date, to be exact 40 days (30+10) from today.

The remain quota of 5000 and expiration time will be added.

This rules applies for all packages.

There is a limitation on how you are send and receive an attachment.


Image"png", "jpg", "jpeg", "webp"
File"pdf", "doc", "docx", "xls", "xlsx", "csv", "txt"
Max size10MB

If you try sending attachment outside this file limitation rules, your API will return false.

For every attachment outside this file limitation rules sent to your device while using fonnte will not be sent to your webhook or forward attachment target.

Made with in Indonesia