whatsapi.sh
Server Details
Send WhatsApp messages from your own numbers, read and answer chats, and send sign-in codes.
- Status
- Healthy
- Uptime
- 100.0% over the last 24 hours
- OAuth
- Works in Glama
- Last Tested
- Transport
- Streamable HTTP · MCP 2025-11-25
- URL
- ChatGPT
- –
- Claude
- –
TDQS
Scored across 26 tools
Send tools are cleanly split by payload type (text, media, location, contact, batch, otp) and number lifecycle tools (create/pair/cancel_pairing/status/update) are distinct. Minor overlap between check_number (external contact lookup) and number_status/list_numbers (own account numbers) could trip a careless agent, and send_message vs send_batch is close, but descriptions make the boundaries clear.
Strong, predictable verb_noun snake_case throughout: list_*, get_*, set_*, send_*, cancel_*, check_*. Deviations are minor: number_status uses noun-first instead of get_number_status, and typing is a bare verb with no send_/set_ prefix.
26 tools sits just above the heavy threshold but the domain genuinely spans numbers, sending, queue, chat, webhooks, and Supabase integration, and each tool earns its place. Slightly over what an agent can hold in view at once, but no obvious filler.
Broad coverage: send variants, receiving via webhooks and history, read receipts, typing, queue management, usage, and both generic and Supabase webhooks. Gaps include no delete_number/disconnect operation and no explicit unpair/logout, though cancel_pairing partially covers the latter.
Available Tools
26 toolscancel_pairingCancel a pairing attemptADestructiveInspect
Stop an unfinished pairing attempt without logging the phone out or deleting the number. A number that is already connected stays connected. Call pair_number to try again. Free.
Inputs: numberId (required).
cancel_queued_messageCancel a message that hasn't been sent yetADestructiveInspect
Remove a waiting message before its send begins. The answer says whether its message quota was returned. Any new-conversation budget it reserved is released too. A send that has already begun cannot be cancelled. The id is the one the send call returned. Free.
Inputs: id (required).
check_numberCheck whether a phone is on WhatsAppARead-onlyInspect
Ask WhatsApp whether a phone number has an account, and get its profile picture when it does. Brazilian mobiles are checked with and without the extra 9 and the answer reports the form that actually matched. If WhatsApp cannot be reached the answer assumes yes and sets verified: false. An outage must not block sends to real people. Free.
Inputs: phone (required), from.
check_otpCheck a verification codeADestructiveInspect
Verify a code sent with send_otp and consume it, so it can never be used twice. A wrong or expired code answers 400 OTP_INVALID. It is deliberately an error, not a verified: false, so a missing check at the caller can never read as success. Five wrong guesses kill the code. Free.
Inputs: to (required), code (required), idempotencyKey.
create_numberAdd a WhatsApp numberAInspect
Create a new WhatsApp number slot on the account and return it. This is step one of two: the slot starts disconnected and cannot send until pair_number links a real WhatsApp account to it. How many can exist at once is what the plan sells. Free.
Inputs: name (required), age, historySync, idempotencyKey.
get_chat_historyRead a chat's recent messagesARead-onlyInspect
The latest messages of one chat, newest first: what your number received, what it sent from the phone or through us, and what WhatsApp sent when the phone was linked. Each message has the shape the message.created webhook delivers, so the same code reads both, and a webhook your server missed can be read back here.
We keep the latest 100 messages of each chat unless you change the number's historyPerChat with update_number; 0 keeps none. Media comes as its details, never the file. Free.
Inputs: chat (required), limit, number.
get_supabase_hookGet your Supabase phone-code hookARead-onlyInspect
The hook Supabase Auth calls to send a phone code: its URL, the number codes leave from, the message template, which API key the codes are metered under, and statusUrl, which says whether a code would go out right now. null when none is set. Free.
Inputs: no named parameters.
get_usageCheck quota and usageARead-onlyInspect
Messages sent this month against the plan quota, today against the daily fair-use cap, the leftover credit balance, and the per-key breakdown. Read this before a bulk send. Free.
Inputs: no named parameters.
get_webhookGet your webhook endpointARead-onlyInspect
The endpoint events are being POSTed to, which ones it is subscribed to, and whether it is still healthy. null when none is registered. disabledReason: "failures" means we stopped delivering after repeated failed attempts. Fix the endpoint and set it again (or fire a test) to switch it back on. Free.
Inputs: no named parameters.
list_chatsList the chats a number keptARead-onlyInspect
The chats a number kept messages from, most recent first: the people and groups it received messages from or sent messages to. Each chat is written the way the message.created webhook writes it, so it matches the chats your server already knows. Read one with get_chat_history.
A chat is listed while any of its messages are kept, so the list follows the number's historyPerChat (see update_number); 0 keeps none, and lists none. A contact whose number WhatsApp hides comes back as its phone once your number has seen it, and as its …@lid address until then. Free.
Inputs: limit, number.
list_numbersList your WhatsApp numbersARead-onlyInspect
Every WhatsApp number on the account with its connection status. Start here when you do not know which number to send from, or to check whether one needs re-pairing. Free.
Inputs: no named parameters.
list_queued_messagesSee what is waiting to be sentARead-onlyInspect
Every message waiting in a number's send queue, soonest first. Messages to one person wait unless they reply to a message received in the last 24 hours. Known contacts still wait, and every batch message waits the full gap. Accepted messages are charged then released one at a time, 15–25 minutes apart by default, measured from the previous message's actual release. scheduledAt is an estimate. paused means the number is not connected; messages that have not left stay queued and resume with the configured spacing when it reconnects. message.sent arrives when one leaves. Free.
Inputs: limit, numberId.
mark_readMark messages as readADestructiveInspect
Put blue ticks on messages your number received in a chat. Free. Message ids come from the inbound webhook.
Inputs: to (required), messageIds (required), from.
number_statusGet one number's statusARead-onlyInspect
One number's current state: connected (ready to send), pairing (waiting for a scan), disconnected (session dropped; pair it again) or banned (WhatsApp restricted the number; check WhatsApp on the phone before confirming recovery). Free.
Inputs: numberId (required).
pair_numberPair a number with WhatsAppAInspect
Start (or resume) linking a WhatsApp account to one of your numbers. qr returns a QR code to scan from WhatsApp → Linked devices; code returns an 8-character linking code to type there instead, and needs the phone number being linked. Call it again every few seconds while someone scans: WhatsApp swaps the QR every 20 seconds, so show the one from the latest answer, and state turns "connected" when the scan lands. state: "pairing" with no code yet means it is still being made. Each linking session makes codes for expiresIn seconds; once that reaches 0, call again to start a new one. A restricted number needs recoveryConfirmed: true: set it only after checking that WhatsApp works on the phone. Temporary restrictions may clear after about an hour or take up to 24 hours; follow the notice on the phone, not a fixed timer. Free.
Inputs: numberId (required), mode, phone, recoveryConfirmed.
send_batchSend one text to many recipientsADestructiveInspect
Send the same text to up to 25 recipients in one call. Each recipient has its own result and costs one message. If the connection, quota or rate limit stops the run, remaining recipients are skipped; try them after that issue is resolved.
With pacing on, every batch message waits the full configured gap. This includes known contacts and replies. Accepted messages return queued with their own scheduledAt, then leave one at a time, 15–25 minutes apart by default. The gap is measured from actual release, so an overdue queue cannot leave in a burst. If the number disconnects or is restricted, messages that have not left stay queued until it reconnects. Watch message.sent for WhatsApp's ids and GET /v1/queue for what is waiting. skipQueue: true or disabling pacing bypasses that spacing, so you must space those sends yourself. Paid plans only.
Inputs: to (required), text (required), from, humanize, +2 more.
send_contactSend a contact cardADestructiveInspect
Send a contact card (vCard) over WhatsApp so the recipient can save the number with one tap. Counts as one message. With pacing on, a message to one person waits unless they messaged this number in the last 24 hours.
Inputs: to (required), name (required), vcard (required), from, +3 more.
send_locationSend a location pinADestructiveInspect
Send a map pin over WhatsApp. Counts as one message. With pacing on, a message to one person waits unless they messaged this number in the last 24 hours.
Inputs: to (required), latitude (required), longitude (required), from, +4 more.
send_mediaSend a photo, video, voice note or fileADestructiveInspect
Send media over WhatsApp from a public URL or base64 data. type chooses the format: image and video support a caption; document uses fileName; ogg/opus audio becomes a voice note. Other audio formats become playable attachments. Files are limited to 16 MB. Prefer url for large files. Counts as one message.
With pacing on, media to one person waits unless they messaged this number in the last 24 hours. The answer carries status: "queued" and scheduledAt. Known contacts still wait. The file is fetched when the message's turn comes, so a url must remain reachable until then.
Inputs: to (required), type (required), url, from, +8 more.
send_messageSend a WhatsApp messageADestructiveInspect
Send a text message to a phone number over WhatsApp. Counts as one message against the account's monthly quota.
With pacing on, messages you start are queued, including messages to known contacts. Only a reply to someone who messaged this number in the last 24 hours goes out now. The queued answer carries status: "queued" and scheduledAt, an estimated send time. Messages leave one at a time, 15–25 minutes apart by default, measured from the previous message's actual release. An offline or restricted number pauses the queue; messages that have not left wait and resume with the same spacing. message.sent arrives on the account's webhook when a queued message leaves, with WhatsApp's message id.
Group messages skip the queue. Use skipQueue: true only for a message the recipient expects now, or disable pacing with update_number and space sends yourself. A first message to someone new also uses the number's daily new-conversation budget, reported as newConversationsRemaining. Replies and groups do not use that budget. Delivery and read receipts arrive later on the account's webhook, not in this answer.
Inputs: to (required), text (required), from, humanize, +3 more.
send_otpSend a verification codeADestructiveInspect
Generate a 6-digit code, send it over WhatsApp and return it. Returning the code is deliberate: verify it yourself, or hand it back to check_otp and keep nothing. Codes expire in 5 minutes by default and one number can only be sent a new code once a minute. Counts as one message.
Inputs: to (required), from, template, expiresInSeconds.
set_supabase_hookSend Supabase phone codes over WhatsAppADestructiveInspect
Create or update the hook that lets a Supabase project send its phone sign-in and verification codes over WhatsApp instead of SMS. Supabase keeps making and checking the code; we deliver it. On Supabase Cloud, open Authentication → Auth Hooks, add a Send SMS hook of type HTTPS, and paste the answer's record.url and secret. If you host Supabase yourself, put record.url in GOTRUE_HOOK_SEND_SMS_URI and secret in GOTRUE_HOOK_SEND_SMS_SECRETS, then set GOTRUE_HOOK_SEND_SMS_ENABLED: "true". The secret comes back ONCE, on the first save or when you rotate it; after a rotation the old one keeps working for 24 hours. Codes are metered under the API key that saves the hook. Each code is a normal message: it counts toward your quota, and the first code to someone the number has never talked to uses one of its new conversations for the day. Free to call.
Inputs: numberId, template, rotateSecret.
set_webhookRegister your webhook endpointADestructiveInspect
Point whatsapi.sh at an https URL and start receiving events there. The answer carries the signing secret ONCE, on first registration: keep it. Every delivery is signed with it in the x-whatsapi-signature header (t=<unix>,v1=<hmac-sha256 of "<t>.<body>">), and that signature is how you know a request is really from us. Calling this again updates the URL or the subscription and keeps the same secret unless you ask to rotate it. Saving also re-enables an endpoint we had disabled. Free.
Inputs: url (required), events, rotateSecret.
test_webhookFire a test event at your endpointAInspect
Send a ping event to your registered endpoint right now and wait for the answer, so you can verify the URL and your signature check without waiting for a real message. The result is the actual outcome: ok: false carries the HTTP status your server answered, or why we could not reach it. A successful ping also revives an endpoint we had auto-disabled. Free.
Inputs: no named parameters.
typingShow the typing indicatorAInspect
Show (or clear) the “typing…” indicator in a chat. Free: it is not a message. WhatsApp clears it on its own after a few seconds, so call it again for a long reply.
Inputs: to (required), from, state, recording.
update_numberChange a number's settingsADestructiveInspect
Rename a number, correct the age its owner declared, or change how it sends.
pacing is the send queue. On by default: messages to one person wait unless they reply to a message received in the last 24 hours. Known contacts still wait, and every batch message uses the full gap. Queued messages leave one at a time, 15–25 minutes apart unless you change the gap. An offline or restricted number pauses the queue. Messages that have not left resume with the configured spacing when it reconnects.
humanize controls the steps before sending: come online, read the last message and show the typing indicator. This adds a few seconds and does not bypass the queue.
newConversationsPerDay sets your own daily limit on new conversations in place of the automatic one. Automatic grows with the line's age, 5 → 10 → 20 a day, and it is what we recommend. Above that, WhatsApp is more likely to ban the number, and that risk is yours. null goes back to automatic, and a ban does the same.
historyPerChat is how many of the latest messages of each chat we keep for this number, so get_chat_history can read them back. It is 100 unless you change it, and 0 keeps none from then on.
Everything is optional and merges into what is already there. Free.
Inputs: numberId (required), age, name, pacing, +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
Related MCP Connectors
Send WhatsApp messages from your own number, read the replies and send login codes.
Send and read WhatsApp messages, templates, chats and campaigns through the official Business API.
Send, receive, edit and react to WhatsApp messages from your own number. OAuth or API key sign-in.
Send, receive, edit and react to WhatsApp messages from your own number. OAuth or API key sign-in.
Related MCP Servers
- AlicenseAqualityBmaintenanceRead WhatsApp chats and messages, and send or schedule messages, from your own WhatsApp number through the Blueticks API.9764 npmMIT
- AlicenseNot gradedqualityDmaintenanceEnables connecting a personal or business WhatsApp account via QR pairing and then sending/reading messages, managing chats, contacts, groups, and searching message history through MCP tools.MIT
- AlicenseNot gradedqualityCmaintenanceEnables agents to send and schedule WhatsApp messages, verify whether numbers are on WhatsApp, and manage instances, groups, and channels through a hosted Streamable HTTP endpoint authenticated with a per-instance API key that selects the sending number.MIT
- AlicenseNot gradedqualityCmaintenanceEnables an assistant to send WhatsApp messages, images, documents, and voice alerts with delivery confirmations, read incoming messages for two-way interaction, and check connection status.13 npmMIT
Glama MCP Gateway
Add one secure layer between your agents and this server.