WhatsApp API

Send and receive messages using HTTP requests.

Push notifications, Bulk messages, Scheduled messages, OTP messages and Auto-responder.

Rest API

ForceMsg is a programmer-friendly integration API

ForceMsg is the best tool available for programmers and businesses as a multifunctional API for WhatsApp that integrates with customer accounting systems, CRM, ERP or website to send messages, notify users and much more.

 

3 Steps to Get Started

You can register on our website and start using it immediately for free. We do not ask you for any card information to use the free package.

Connect your whatsapp account to focemsg by scanning the whatsapp web qr code from your phone.

Start sending and receiving messages through our Rest api or directly from our dashboard.

Why FORCEMSG

Here are the Features

Fast and bulk shipping

Easily send tons of messages to different contact groups and you can also send quick messages for fast actions. Our platform also includes a live dashboard, get notifications when your messages are sent or received!

Automated and intelligent vehicles

Automated and intelligent vehicles

We guarantee your business success with our strategic features

Our platform is well crafted to meet the demands of ever-growing marketing businesses, we want to make sure that every penny you spend on our service is well deserved and gives you 100% satisfaction!

  • Easy to use and fluid platform
  • Intuitive tools and dashboard
  • We enable rapid growth through digital creation
  • Fast and lag free experience while you market your products

Rest API

Start sending messages via WhatsApp REST API with Forcemsg

Edit Content
				
					 <?php

$chat = [
    "secret" => "API_SECRET", // your API secret from (Tools -> API Keys) page
    "account" => "90cf7d40a467d5f40a39fca222c216449cb9abee73e5e2b0b321060c2ae06a8fa9e45486",
    "recipient" => "+905012345678",
    "type" => "text",
    "message" => "Hello World!"
];

$cURL = curl_init("https://service.forcemsg.com/api/send/whatsapp");
curl_setopt($cURL, CURLOPT_RETURNTRANSFER, true);
curl_setopt($cURL, CURLOPT_POSTFIELDS, $chat);
$response = curl_exec($cURL);
curl_close($cURL);

$result = json_decode($response, true);

// do something with response
print_r($result);
				
			
Edit Content
				
					import requests

chat = {
    "secret": "API_SECRET",
    "account": "ACCOUNT_CODE",
    "recipient": "+905012345678",
    "type": "text",
    "message": "Hello World!"
}

response = requests.post("https://forcemsg.com/api/send/whatsapp", data=chat)
print(response.json())

				
			
Edit Content
				
					const axios = require('axios');

const chat = {
    secret: "API_SECRET",
    account: "ACCOUNT_CODE",
    recipient: "+905012345678",
    type: "text",
    message: "Hello World!"
};

axios.post('https://forcemsg.com/api/send/whatsapp', chat)
    .then(response => {
        console.log(response.data);
    })
    .catch(error => {
        console.error(error);
    });

				
			
Edit Content
				
					const chat = {
    secret: "API_SECRET",
    account: "ACCOUNT_CODE",
    recipient: "+905012345678",
    type: "text",
    message: "Hello World!"
};

fetch('https://forcemsg.com/api/send/whatsapp', {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify(chat)
})
    .then(response => response.json())
    .then(data => console.log(data))
    .catch(error => console.error(error));

				
			
Edit Content
				
					curl -X POST https://forcemsg.com/api/send/whatsapp \
     -d "secret=API_SECRET" \
     -d "account=ACCOUNT_CODE" \
     -d "recipient=+905012345678" \
     -d "type=text" \
     -d "message=Hello World!"

				
			
Edit Content
				
					import java.io.OutputStream;
import java.net.HttpURLConnection;
import java.net.URL;

public class WhatsAppApi {
    public static void main(String[] args) {
        try {
            URL url = new URL("https://forcemsg.com/api/send/whatsapp");
            HttpURLConnection conn = (HttpURLConnection) url.openConnection();
            conn.setRequestMethod("POST");
            conn.setRequestProperty("Content-Type", "application/x-www-form-urlencoded");
            conn.setDoOutput(true);

            String data ="secret=API_SECRET&account=ACCOUNT_CODE&recipient=+905012345678&type=text&message=Hello World!";
            OutputStream os = conn.getOutputStream();
            os.write(data.getBytes());
            os.flush();

            System.out.println(new String(conn.getInputStream().readAllBytes()));
        } catch (Exception e) {
            e.printStackTrace();
        }
    }
}

				
			
Edit Content
				
					require 'net/http'
require 'uri'

uri = URI.parse("https://forcemsg.com/api/send/whatsapp")
response = Net::HTTP.post_form(uri, {
    "secret" => "API_SECRET",
    "account" => "ACCOUNT_CODE",
    "recipient" => "+905012345678",
    "type" => "text",
    "message" => "Hello World!"
})

puts response.body

				
			
Edit Content
				
					using System;
using System.Net.Http;
using System.Collections.Generic;
using System.Threading.Tasks;

class Program
{
    static async Task Main(string[] args)
    {
        var client = new HttpClient();
        var data = new Dictionary<string, string>
        {
            { "secret", "API_SECRET" },
            { "account", "ACCOUNT_CODE" },
            { "recipient", "+905012345678" },
            { "type", "text" },
            { "message", "Hello World!" }
        };

        var response = await client.PostAsync("https://forcemsg.com/api/send/whatsapp", new FormUrlEncodedContent(data));
        Console.WriteLine(await response.Content.ReadAsStringAsync());
    }
}
				
			
Edit Content
				
					package main

import (
    "bytes"
    "fmt"
    "net/http"
    "net/url"
)

func main() {
    data := url.Values{
        "secret":    {"API_SECRET"},
        "account":   {"ACCAOUNT_CODE"},
        "recipient": {"+905012345678"},
        "type":      {"text"},
        "message":   {"Hello World!"},
    }

    resp, err := http.PostForm("https://forcemsg.com/api/send/whatsapp", data)
    if err != nil {
        fmt.Println(err)
        return
    }
    defer resp.Body.Close()

    buf := new(bytes.Buffer)
    buf.ReadFrom(resp.Body)
    fmt.Println(buf.String())
}

				
			
Seamless Tool Integration

Our Integrations and Partners

Forcemsg works integrated with many popular software.

Pricing

Beginning

FREE Monthly
  • Send 10 messages per day
  • Receive 10 messages per day
  • Scheduled Messages 10
  • Save Contact 10
  • API Keys 1
  • Webhooks 1
  • Actions Unlimited
  • WhatsApp Accounts 1

Institutional

$ 29 Monthly
  • Send unlimited messages daily
  • Receive unlimited messages daily
  • Unlimited Scheduled Messages
  • Save Contact 3000
  • API Keys 2
  • Webhooks 5
  • Actions Unlimited
  • WhatsApp Accounts 2
Popular

Agency

$ 79 Monthly
  • Send unlimited messages daily
  • Receive unlimited messages daily
  • Unlimited Scheduled Messages
  • Unlimited Save Contact
  • API Keys 15
  • Webhooks 15
  • Actions Unlimited
  • WhatsApp Accounts 15

Customer reviews

Michael Thompson Designation

It's a great system! By introducing our company phone, we quickly started sending our campaign messages. It was very useful, thank you!

Emily Johnson Designation

Our customer satisfaction has increased thanks to automatic response and order status notifications. Everything is fully automated, very impressive!

Emma Garcia: Designation

The system is very practical and useful. It speeds up our work and our customers can get information instantly. I highly recommend it!

Daniel Lee Designation

By introducing our own phone to the system, we can reach our customers much more easily. Messages go fast and the results are impressive!