Updated on November 24, 2026
There are two ways to handle WhatsApp in Zendesk. The native channel connects your number to Zendesk through Meta’s signup flow, and conversations land in the Agent Workspace. With a custom integration, the number stays with the API provider of your choice: a middleware receives the WhatsApp webhooks, creates or updates tickets through the Zendesk API, and sends agent replies back through a trigger and a webhook.
Zendesk’s native WhatsApp channel
According to Adding WhatsApp channels to the Agent Workspace, the channel is available on Suite plans, or on Support and Chat with the Social Messaging add-on, and only an admin can add it. What the page describes:
- Connection. Under “Continue with WhatsApp”, you sign in with a profile tied to your company’s Meta Business Manager and grant permission to share the WhatsApp Business account and phone number with Zendesk, which hosts the number.
- Requirements. A Business Manager owned by your company (the person connecting must be an admin of it), a display name that matches your brand, and a number that can receive international calls or SMS.
- Your own number. You can bring it. If it is on the WhatsApp Business app, it has to leave the app first. If it is connected to another provider, the page says you must migrate it to Zendesk.
- Limits. Each WhatsApp Business account has 20 numbers by default; for more, connect several accounts to the same Zendesk. Until the account is approved, you can add only one channel.
- Coexistence. The page states that a number cannot be on the WhatsApp Business app and the API at the same time. We found no mention of Meta’s coexistence feature on the pages we checked.
Outside the 24-hour window, Zendesk uses Meta-approved templates. Per the guide How to proactively contact users on WhatsApp channel, this requires Suite Professional or Enterprise, and sending happens through a Marketplace app, the Notification API, or a macro with a template inside the ticket.
On billing, Zendesk’s pricing notice says Meta’s messaging fees are separate from your Zendesk fees, and that accounts set up through embedded signup have direct access through their own Meta Business Portfolio.
Custom integration: when it makes sense
A custom integration makes sense when WhatsApp is not only for support: the same number sends notifications, feeds an AI agent or talks to your CRM, and only part of the conversations should become tickets. It also fits when you already have a provider for the official WhatsApp Business API.
Since Zendesk asks you to migrate a number that is with another provider, in practice you pick one path per number. Since September 23, 2026, Meta splits the WhatsApp account (the number) from the messaging account (templates, billing, webhooks), and switching providers means sharing the WhatsApp account with the new partner. See how to switch providers without losing your number.
| Criterion | Zendesk native channel | Custom integration |
|---|---|---|
| Who connects the number to the API | Zendesk, through Meta’s signup flow | The API provider you choose |
| Where conversations show up | Agent Workspace, as messaging conversations | Tickets created by your integration |
| Same number in other systems | Not documented; another provider requires migration | Yes, your middleware fans out the events |
| Coexistence with the app | No, per the page we checked | Depends on the provider |
| Proactive messages | Suite Professional or Enterprise | Templates via API, straight from your system |
| Meta billing | Per your agreement with Zendesk | Per your provider |
| Technical effort | Setup in Admin Center | Middleware, queue, database and maintenance |
Support only: the native channel is the shortest path. WhatsApp as infrastructure for several teams: custom integration. To compare providers, use the 10 criteria to choose a WhatsApp API provider.
Want to try it while you read? Create a Vectalk account and send your first message through the official API. Create free account →
Custom integration architecture
The design is the same as connecting the official WhatsApp API to a CRM, with Zendesk as the inbox:
- The WhatsApp webhook delivers the customer’s message to your middleware.
- The middleware creates or updates the user with
POST /api/v2/users/create_or_update, keyed byexternal_id(the endpoint matches on email orexternal_id, not phone). - It looks for an open ticket with
GET /api/v2/tickets?external_id=...: if there is one, it comments withPUT /api/v2/tickets/{id}; otherwise it creates one withPOST /api/v2/tickets. - The agent replies in the ticket, and a trigger calls a webhook on your middleware.
- The middleware reads the latest public comment and sends it through the WhatsApp API. Once the 24-hour window closes, only templates go through.
Per the Ticket Comments docs, even when you set the customer as author_id, the API caller is still the ticket “updater”. That matters for the trigger.
The webhook and trigger in Zendesk
Create the webhook in Admin Center or with POST /api/v2/webhooks, subscribed to conditional_ticket_events, the type used by triggers (Creating and monitoring webhooks). Then the trigger:
- Conditions: Ticket is Updated; Tags contains
whatsapp; Comment is Public; Current user is not the integration user. - Action: Notify active webhook, with JSON body
{"ticket_id": "{{ticket.id}}"}.
The current-user condition prevents a loop (the customer message written by the middleware would bounce back to WhatsApp), so use a dedicated agent for the integration’s API token. Sending only the ticket_id avoids issues with quotes inside the JSON.
Each call is signed in the X-Zendesk-Webhook-Signature and X-Zendesk-Webhook-Signature-Timestamp headers: base64(HMAC-SHA256(timestamp + body)) with the webhook secret (Verifying webhook authenticity).
Node.js example
Two routes. Sending uses the Vectalk URL (with the Cloud API directly, use Meta’s URL with your PHONE_NUMBER_ID); Zendesk uses an API token (email/token:TOKEN as Basic auth).
import express from "express";
import crypto from "node:crypto";
const app = express();
app.use(express.json({ verify: (req, _res, buf) => { req.rawBody = buf.toString("utf8"); } }));
const ZD = `https://${process.env.ZD_SUBDOMAIN}.zendesk.com/api/v2`;
const ZD_AUTH = "Basic " + Buffer.from(`${process.env.ZD_EMAIL}/token:${process.env.ZD_TOKEN}`).toString("base64");
const seen = new Set(); // in production: a table with a unique key on the wamid
async function zd(path, method = "GET", body) {
const r = await fetch(`${ZD}${path}`, {
method,
headers: { Authorization: ZD_AUTH, "Content-Type": "application/json" },
body: body ? JSON.stringify(body) : undefined,
});
if (!r.ok) throw new Error(`${method} ${path}: ${r.status} ${await r.text()}`);
return r.json();
}
// 1) WhatsApp -> Zendesk
app.post("/whatsapp/webhook", (req, res) => {
res.sendStatus(200); // answer fast; in production, push to a queue
for (const entry of req.body.entry ?? []) {
for (const { value } of entry.changes ?? []) {
for (const msg of value.messages ?? []) {
if (seen.has(msg.id)) continue;
seen.add(msg.id);
const name = value.contacts?.[0]?.profile?.name || msg.from;
const text = msg.text?.body ?? `[${msg.type} received]`;
record(msg.from, name, text).catch(console.error);
}
}
}
});
async function record(waId, name, text) {
const key = `wa:${waId}`;
const { user } = await zd("/users/create_or_update", "POST", {
user: { name, external_id: key, phone: `+${waId}` },
});
const { tickets } = await zd(`/tickets?external_id=${encodeURIComponent(key)}`);
const open = tickets.find((t) => !["solved", "closed"].includes(t.status));
const comment = { body: text, public: true, author_id: user.id };
if (open) return zd(`/tickets/${open.id}`, "PUT", { ticket: { comment } });
return zd("/tickets", "POST", {
ticket: { subject: `WhatsApp from ${name}`, requester_id: user.id, external_id: key, tags: ["whatsapp"], comment },
});
}
// 2) Zendesk -> WhatsApp
function signatureOk(req) {
const ts = req.get("X-Zendesk-Webhook-Signature-Timestamp") || "";
const sig = Buffer.from(req.get("X-Zendesk-Webhook-Signature") || "");
const expected = Buffer.from(
crypto.createHmac("sha256", process.env.ZD_WEBHOOK_SECRET).update(ts + req.rawBody).digest("base64")
);
return sig.length === expected.length && crypto.timingSafeEqual(sig, expected);
}
app.post("/zendesk/webhook", async (req, res) => {
if (!signatureOk(req)) return res.sendStatus(401);
res.sendStatus(200);
const id = req.body.ticket_id;
const { ticket } = await zd(`/tickets/${id}`);
const { comments } = await zd(`/tickets/${id}/comments?sort_order=desc`);
const latest = comments.find((c) => c.public);
const to = String(ticket.external_id || "").replace(/^wa:/, "");
if (!to || !latest) return;
const r = await fetch("https://apis.vectalk.com.br/api/messages", {
method: "POST",
headers: { Authorization: `Bearer ${process.env.VECTALK_TOKEN}`, "Content-Type": "application/json" },
body: JSON.stringify({ messaging_product: "whatsapp", to, type: "text", text: { body: latest.plain_body } }),
});
if (!r.ok) { // an internal note does not fire the trigger (it requires a public comment)
const body = `WhatsApp send failed: ${(await r.json()).error?.message || r.status}`;
await zd(`/tickets/${id}`, "PUT", { ticket: { comment: { body, public: false } } });
}
});
app.listen(3000);
Media only becomes a placeholder in this example; to attach it, download the incoming media first.
Production checklist
- Idempotency. Meta may resend the same event. Store the
wamidwith a unique key; the in-memorySetis lost on every deploy. See duplicate webhooks and idempotency. - Zendesk retries too. Webhooks that exceed 12 seconds are retried up to five times. Answer 200 first and store the
idof the comment you already sent. - Phone ↔ user. A fixed
external_id(wa:5511...) avoids duplicate customers. - Per-ticket limit. The Tickets API allows 30 updates per 10 minutes per user and ticket (above that,
429). Batch short back-to-back messages into one comment. - 24-hour window. Free-form text only goes through up to 24 hours after the customer’s last message; after that, only approved templates. The internal note in the example alerts the agent.
What the WhatsApp side costs
With a custom integration, Meta’s rates for messages delivered to Brazilian numbers apply as of October 1, 2026: BRL 0.3217 per marketing template and BRL 0.0350 per utility, authentication or service message (Brazilian reais; other destination countries have their own rates). Agent replies inside the window are service messages, and each number gets 1,000 free service messages per month (billing starts at the 1,001st). Utility is charged even inside the window. More in the official WhatsApp API guide.
How to do this with Vectalk
Vectalk is a proxy for Meta’s official Cloud API: your middleware calls https://apis.vectalk.com.br/api/messages with Meta’s JSON and receives webhooks in Meta’s format (webhooks). An instance accepts several URLs, so the same event can go to Zendesk and to another system, such as ActiveCampaign.
Vectalk does not have a native inbox, bulk messaging or AI: here, Zendesk is the inbox. The dashboard handles instances, templates (with a Template Library), logs, webhooks and invoices. Billing is prepaid credit: each delivered message is deducted from your balance, with no card on file at Meta. Coexistence is supported, so the number can stay on the WhatsApp Business app. Endpoints at docs.vectalk.com.br and signup at apps.vectalk.com.br/register.
FAQ
Can I use the same number in Zendesk’s native channel and in my own integration?
Not according to the docs we checked: Zendesk hosts the number and asks you to migrate numbers that are with another provider.
Can I use Zendesk’s Channel framework instead of tickets via API?
The Channel framework builds integrations that become tickets (POST /api/v2/any_channel/push inbound, “channelback” for replies) and is installed through a Zendesk app. Its own docs say it is not meant for synchronous communication such as chat.
Can agents send a template from Zendesk with a custom integration?
Not natively. Create a macro that adds a tag (e.g. send_template) and handle that tag in the middleware, sending the template through the API. An AI agent with tools can use the same logic.
Does Zendesk’s native channel support coexistence with the app?
The page we checked says no: the number cannot be on the app and the API at the same time. If coexistence is a requirement, confirm with Zendesk or use a provider that offers it (coexistence).
Official sources checked on November 24, 2026: Adding WhatsApp channels to the Agent Workspace (Zendesk), How to proactively contact users on WhatsApp channel (Zendesk), Changes to WhatsApp Business messaging pricing (Zendesk), Tickets API, Ticket Comments API, Creating and monitoring webhooks, Verifying webhook authenticity, Ticket trigger conditions and actions reference, WhatsApp platform pricing (Meta), Vectalk documentation.
Put your business on the official WhatsApp
Create your account, connect your number to the official API (you can keep the app with coexistence) and start serving customers and sending messages.
