Skip to content
New Integrate in one prompt

Unified messaging API

The best way to integrate WhatsApp and Instagram through a single API. Deliver messages at scale.

Code language

Integrate tonight

Install the SDK for your stack, add your key and send. The same call in every language.

Code language
POST /v1/messages
import { Airbox } from "@airboxhq/api";

const client = new Airbox(process.env.AIRBOX_API_KEY);

const { data, error } = await client.messages.sendText({
  to: "+77011234567",
  body: "Your order is ready",
  channel: "whatsapp",
});

if (error) {
  throw new Error(`${error.code}: ${error.message} (${error.requestId})`);
}

console.log(data);
POST /v1/messages
import { Airbox } from "@airboxhq/api";

const client = new Airbox(process.env.AIRBOX_API_KEY);

export async function POST() {
  const { data, error } = await client.messages.sendText({
    to: "+77011234567",
    body: "Your order is ready",
    channel: "whatsapp",
  });

  if (error) {
    throw new Error(`${error.code}: ${error.message} (${error.requestId})`);
  }

  return Response.json(data);
}
POST /v1/messages
import { Airbox } from "@airboxhq/api";

const client = new Airbox(process.env.AIRBOX_API_KEY);
const app = express();

app.post("/send-text", async (req, res) => {
  const { data, error } = await client.messages.sendText({
    to: "+77011234567",
    body: "Your order is ready",
    channel: "whatsapp",
  });

  if (error) {
    throw new Error(`${error.code}: ${error.message} (${error.requestId})`);
  }

  res.json(data);
});

app.listen(3000);
POST /v1/messages
import { Airbox } from "@airboxhq/api";

const client = new Airbox(process.env.AIRBOX_API_KEY);
const app = new Hono();

app.post("/send-text", async (c) => {
  const { data, error } = await client.messages.sendText({
    to: "+77011234567",
    body: "Your order is ready",
    channel: "whatsapp",
  });

  if (error) {
    throw new Error(`${error.code}: ${error.message} (${error.requestId})`);
  }

  return c.json(data);
});

export default app;
POST /v1/messages
import { Airbox } from "@airboxhq/api";

const client = new Airbox(process.env.AIRBOX_API_KEY);

export async function POST() {
  const { data, error } = await client.messages.sendText({
    to: "+77011234567",
    body: "Your order is ready",
    channel: "whatsapp",
  });

  if (error) {
    throw new Error(`${error.code}: ${error.message} (${error.requestId})`);
  }

  return Response.json(data);
}
POST /v1/messages
import { Airbox } from "@airboxhq/api";

const client = new Airbox(process.env.AIRBOX_API_KEY);

@Controller()
export class MessagesController {
  @Post("send-text")
  async sendText() {
    const { data, error } = await client.messages.sendText({
      to: "+77011234567",
      body: "Your order is ready",
      channel: "whatsapp",
    });

    if (error) {
      throw new Error(`${error.code}: ${error.message} (${error.requestId})`);
    }

    return data;
  }
}
POST /v1/messages
$client = new Airbox\Client(getenv('AIRBOX_API_KEY'));

$data = $client->messages->sendText([
    'to' => '+77011234567',
    'body' => 'Your order is ready',
    'channel' => 'whatsapp',
]);

print_r($data);
POST /v1/messages
use Airbox\Laravel\Facades\Airbox;

$data = Airbox::messages()->sendText([
    'to' => '+77011234567',
    'body' => 'Your order is ready',
    'channel' => 'whatsapp',
]);

print_r($data);
POST /v1/messages
namespace App\Controller;

use Airbox\Client;
use Symfony\Component\HttpFoundation\JsonResponse;
use Symfony\Component\Routing\Attribute\Route;

final class MessagesController
{
    #[Route('/send-text', methods: ['POST'])]
    public function sendText(Client $client): JsonResponse
    {
        $data = $client->messages->sendText([
            'to' => '+77011234567',
            'body' => 'Your order is ready',
            'channel' => 'whatsapp',
        ]);

        return new JsonResponse($data);
    }
}
POST /v1/messages
from airboxhq import Airbox

client = Airbox(api_key=os.environ["AIRBOX_API_KEY"])

data = client.messages.send_text(
    to="+77011234567",
    body="Your order is ready",
    channel="whatsapp",
)

print(data)
POST /v1/messages
from airboxhq import AsyncAirbox

async def main():
    async with AsyncAirbox(api_key=os.environ["AIRBOX_API_KEY"]) as client:
        data = await client.messages.send_text(
            to="+77011234567",
            body="Your order is ready",
            channel="whatsapp",
        )
        print(data)


asyncio.run(main())
POST /v1/messages
from airboxhq import AsyncAirbox

app = FastAPI()
client = AsyncAirbox(api_key=os.environ["AIRBOX_API_KEY"])


@app.post("/send-text")
async def send_text():
    data = await client.messages.send_text(
        to="+77011234567",
        body="Your order is ready",
        channel="whatsapp",
    )
    return data
POST /v1/messages
from airboxhq import Airbox

client = Airbox(api_key=os.environ["AIRBOX_API_KEY"])


def send_text(request):
    data = client.messages.send_text(
        to="+77011234567",
        body="Your order is ready",
        channel="whatsapp",
    )
    return JsonResponse(data)
POST /v1/messages
from airboxhq import Airbox

app = Flask(__name__)
client = Airbox(api_key=os.environ["AIRBOX_API_KEY"])


@app.post("/send-text")
def send_text():
    data = client.messages.send_text(
        to="+77011234567",
        body="Your order is ready",
        channel="whatsapp",
    )
    return data
POST /v1/messages
import "github.com/airboxhq/airbox-go"

func main() {
	client := airbox.NewClient(os.Getenv("AIRBOX_API_KEY"))

	data, err := client.Messages.SendText(context.Background(), airbox.SendTextParams{
		To:      "+77011234567",
		Body:    "Your order is ready",
		Channel: "whatsapp",
	})
	if err != nil {
		panic(err)
	}

	fmt.Println(data)
}
POST /v1/messages
using Airbox;

var client = new AirboxClient(Environment.GetEnvironmentVariable("AIRBOX_API_KEY"));

var data = await client.Messages.SendTextAsync(
    new SendTextParams
    {
        To = "+77011234567",
        Body = "Your order is ready",
        Channel = "whatsapp",
    });

Console.WriteLine(data);
POST /v1/messages
using Airbox;

var builder = WebApplication.CreateBuilder(args);
var app = builder.Build();
var client = new AirboxClient(Environment.GetEnvironmentVariable("AIRBOX_API_KEY"));

app.MapPost("/send-text", async () =>
{
    var data = await client.Messages.SendTextAsync(
        new SendTextParams
        {
            To = "+77011234567",
            Body = "Your order is ready",
            Channel = "whatsapp",
        });

    return Results.Ok(data);
});

app.Run();
POST /v1/messages
use airboxhq::Airbox;
use airboxhq::models::*;

#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
    let client = Airbox::new(std::env::var("AIRBOX_API_KEY")?);

    let data = client
        .messages()
        .send_text(SendText {
            to: "+77011234567".into(),
            body: "Your order is ready".into(),
            channel: Some("whatsapp".into()),
            ..Default::default()
        })
        .await?;

    println!("{data:#?}");
    Ok(())
}
POST /v1/messages
curl -X POST https://crm.fintelligence.kz/api/v1/messages \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "to": "+77011234567",
    "channel": "whatsapp",
    "type": "text",
    "text": {
        "body": "Your order is ready"
    }
}'
POST /v1/messages
http POST https://crm.fintelligence.kz/api/v1/messages \
  "Authorization:Bearer YOUR_API_KEY" \
  "Content-Type:application/json" \
  <<< '{
    "to": "+77011234567",
    "channel": "whatsapp",
    "type": "text",
    "text": {
        "body": "Your order is ready"
    }
}'
POST /v1/messages
wget --quiet --content-on-error --output-document=- \
  --method=POST \
  --header="Authorization: Bearer YOUR_API_KEY" \
  --header="Content-Type: application/json" \
  --body-data='{
    "to": "+77011234567",
    "channel": "whatsapp",
    "type": "text",
    "text": {
        "body": "Your order is ready"
    }
}' \
  https://crm.fintelligence.kz/api/v1/messages

Replies come back to your webhook as one signed event from every channel. Webhooks

Build before you connect

Your test key is ready when you sign up. Write as a customer, answer from your code and get every webhook, all before a client connects a number.

  • No number or Meta account needed
  • The same checks and errors as a live key
  • Nothing reaches real customers
How test mode works
Try it: a customer writes on the simulator, the answer goes out through the API and Activity shows the call

Both channels, one signed event

WhatsApp and Instagram reach one address in one shape. Only channel and from tell them apart.

  • Signed to the Standard Webhooks spec
  • 8 tries over about 21 hours, each with the same webhook-id
  • A receiver for every SDK language
How webhooks work
Channel
webhook-id:
msg_01M8XNYR5WEH57NH5AJ15AQWRR
webhook-timestamp:
1796292436
webhook-signature:
v1,Hq4Bk2TQ8mZt0rYpL7wXcE9sVnA3fUoJ1gKdR6yMbI0=
{
  "type": "message.received",
  "timestamp": "2026-12-03T10:07:16+00:00",
  "workspace": {
    "id": "01a22dc4-f206-7189-acf8-3ea008510a40",
    "name": "Furniture Store"
  },
  "data": {
    "id": "01a23b5f-60a2-737b-9134-1e68205dc691",
    "contact_id": "01a22e11-2468-7201-b1f2-2fc6cca5b9aa",
    "from": "+77011234567",
    "name": "Aigerim",
    "channel": "whatsapp",
    "type": "text",
    "text": {
      "body": "Hi! Is the blue sofa still available?"
    },
    "received_at": "2026-12-03T10:07:16+00:00",
    "free_text_until": "2026-12-04T10:07:16+00:00"
  }
}
{
  "type": "message.received",
  "timestamp": "2026-12-03T10:07:16+00:00",
  "workspace": {
    "id": "01a22dc4-f206-7189-acf8-3ea008510a40",
    "name": "Furniture Store"
  },
  "data": {
    "id": "01a23b5f-60a2-737b-9134-1e68205dc691",
    "contact_id": "01a22e11-2468-7201-b1f2-2fc6cca5b9aa",
    "from": "1234567890123456",
    "name": "Aigerim",
    "channel": "instagram",
    "type": "text",
    "text": {
      "body": "Hi! Is the blue sofa still available?"
    },
    "received_at": "2026-12-03T10:07:16+00:00",
    "free_text_until": "2026-12-04T10:07:16+00:00"
  }
}

Know what happened

Every request and every webhook in your account, with each try, its answer and the payload.

  • Requests by key, status and time
  • Undelivered events sent again in one click
  • Kept 30 days
What each error means
Webhook deliveries: an event retried until delivered, with each try and its payload

Costs in plain sight

One price per connected number or account. Meta bills each client's own card at its own rates, and every workspace shows what it spent.

  • Nothing added to Meta's prices
  • 1,000 replies a month free per number
  • Every month by category, in tenge too
What messages cost
Usage: what Meta charged for a number this month and the free replies used

A workspace for each client

Run every client from one account and one integration. Each gets its own channels, key and logs, and never has to sign in.

  • One webhook, each event naming its workspace
  • A key works in its own workspace only
  • Nothing to pay until a number or account connects
How workspaces work
Workspaces: one for each client with its WhatsApp number and Instagram account

Ready for production

Connect by link

Clients connect their own number through Meta's signup. We're a verified Meta Tech Provider

Data residency

Messages, contacts and files in a Kazakh data centre

Secure by default

Hashed keys shown once, signed webhooks

Simple pricing

One price per connection. No plans, no markup on messages.

Pricing details

4 990 ₸

a month per connected number or account

Get started

Send your first message today