Integrate official WhatsApp in 10 minutes.
One API key, one endpoint and signed webhooks. Examples in the languages Brazilian ERPs and POS systems actually use.
Official Meta operation already live for Food Service via MiseOn; Tech Provider accreditation for other segments is in final validation at Meta.
1. Send your first message
Create the key under Dashboard → Developers. It starts with atol_live_ and is shown once.
cURL
curl -X POST https://connect.maldivastech.dev/api/v1/messages \
-H "Authorization: Bearer atol_live_xxxxxxxx" \
-H "Content-Type: application/json" \
-d '{ "to": "5511999990000", "type": "text", "text": { "body": "Pedido #1042 confirmado" } }'Node / TypeScript
const res = await fetch("https://connect.maldivastech.dev/api/v1/messages", {
method: "POST",
headers: { Authorization: "Bearer " + process.env.ATOL_KEY, "Content-Type": "application/json" },
body: JSON.stringify({ to: "5511999990000", type: "text", text: { body: "Pedido #1042 confirmado" } }),
});
console.log(await res.json());Python
import os, requests
r = requests.post(
"https://connect.maldivastech.dev/api/v1/messages",
headers={"Authorization": "Bearer " + os.environ["ATOL_KEY"]},
json={"to": "5511999990000", "type": "text", "text": {"body": "Pedido #1042 confirmado"}},
timeout=15,
)
print(r.json())PHP
<?php
$ch = curl_init("https://connect.maldivastech.dev/api/v1/messages");
curl_setopt_array($ch, [
CURLOPT_POST => true,
CURLOPT_RETURNTRANSFER => true,
CURLOPT_HTTPHEADER => ["Authorization: Bearer " . getenv("ATOL_KEY"), "Content-Type: application/json"],
CURLOPT_POSTFIELDS => json_encode(["to" => "5511999990000", "type" => "text", "text" => ["body" => "Pedido #1042 confirmado"]]),
]);
echo curl_exec($ch);C# (.NET)
using var http = new HttpClient();
http.DefaultRequestHeaders.Authorization =
new("Bearer", Environment.GetEnvironmentVariable("ATOL_KEY"));
var res = await http.PostAsync("https://connect.maldivastech.dev/api/v1/messages",
new StringContent("""{ "to": "5511999990000", "type": "text", "text": { "body": "Pedido #1042 confirmado" } }""", System.Text.Encoding.UTF8, "application/json"));
Console.WriteLine(await res.Content.ReadAsStringAsync());2. Receive events with HMAC signatures
Inbound messages, delivery statuses and failures hit your HTTPS endpoint. Verify the signature before trusting the body. The dashboard has a Test (webhook.ping) button and Retry for failed deliveries.
import { createHmac, timingSafeEqual } from "node:crypto";
export function verify(rawBody: string, ts: string, sig: string, secret: string) {
const expected = "sha256=" + createHmac("sha256", secret).update(`${ts}.${rawBody}`).digest("hex");
return sig.length === expected.length && timingSafeEqual(Buffer.from(sig), Buffer.from(expected));
}
// Cabeçalhos: X-Atol-Signature, X-Atol-Timestamp, X-Atol-Event3. Migrate from Z-API or Evolution in 15 minutes
| You use today | Atol Connect |
|---|---|
| send-text | POST /api/v1/messages { type: "text" } |
| send-template / messages outside the window | POST /api/v1/messages { type: "template" } |
| Media, buttons and lists | Not yet in the public API (text and templates only). Reply from the team inbox. |
| on-message-received webhook | message.received (and message.status) event, HMAC-signed |
| QR code pairing | Meta Embedded Signup (no QR, no ban) |
The difference that matters: outside the 24h window the official API requires an approved template. The dashboard validates variables before sending.
Product ideas to sell on top of the API
Eight niches with flows, business rules and calculated fee costs.