Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

whatsapp-cloud-api

Skill by sickn33

Integrates the WhatsApp Business Cloud API from Meta to send and receive messages, use templates, and automate customer service. Built for developers creating WhatsApp support flows or chatbots with Node.js or Python.

  • Score 92
  • 51k stars
  • MIT
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install whatsapp-cloud-api

Built from the published package, never by AI.

git clone --depth 1 https://github.com/sickn33/agentic-awesome-skills /tmp/agentic-awesome-skills && mkdir -p ~/.claude/skills && cp -r /tmp/agentic-awesome-skills/skills/whatsapp-cloud-api ~/.claude/skills/whatsapp-cloud-api

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install whatsapp-cloud-api in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

This skill guides an AI assistant through building WhatsApp Business integrations on Meta's official Cloud API. It covers text, template and interactive messages, webhook verification, and HMAC-SHA256 signature checks. It includes Node.js/TypeScript and Python examples, a 24-hour customer service window, a conversation state machine, and a pattern for connecting Claude API replies.

It is intended for developers who need to set up a WhatsApp Business account and phone number, or who want to add automated support to a Meta app. The source says its examples target an older Graph API version, so supported versions, pricing, and limits must be checked in Meta's documentation before use. The boilerplates are local demos. Production use needs a durable queue, idempotency, opt-out checks, and a worker.

Written from the project's SKILL.md and checked against it.

What it can do

  • Send text messagesSends plain text messages to a WhatsApp number through the Graph API.
  • Send template messagesSends approved template messages, for example outside the 24-hour window.
  • Send interactive messagesSends reply buttons (up to 3) and list menus (up to 10 options).
  • Verify webhooksAnswers Meta's GET verification request using a verify token.
  • Validate webhook signaturesChecks the X-Hub-Signature-256 HMAC-SHA256 header before processing a payload.
  • Manage conversation statesTracks each customer's state through a state machine for guided flows.
  • Connect Claude APIDescribes routing incoming messages to Claude API and returning replies by WhatsApp.
  • Scaffold a projectRuns setup_project.py to create a Node.js or Python boilerplate project.

What you need

  • Meta Business Suite account
  • Meta for Developers app with the WhatsApp product
  • Verified WhatsApp phone number
  • System User Token
  • Node.js or Python runtime

Try asking

  • Set up a WhatsApp Cloud API project in Node.js
  • Write a webhook handler that validates X-Hub-Signature-256
  • Send an interactive button menu to a WhatsApp customer

Good to know

  • Examples target Graph API v21.0, an older version. Check current support in Meta's docs.
  • Pricing, throughput, and template edit rules must be verified in official Meta documentation.
  • Boilerplates are local demos. Production needs durable enqueue-before-ack and replay protection.
  • Sending messages, deleting templates, and deployment need user-authorized scope.

Security check

F
  • Sends keys or private files to a web addressIn skills/whatsapp-cloud-api/SKILL.md: axios.post(`${GRAPH_API}/${process.env

Checked automatically: skills/whatsapp-cloud-api/SKILL.md, skills/whatsapp-cloud-api/assets/boilerplate/nodejs/src/index.ts, skills/whatsapp-cloud-api/assets/boilerplate/nodejs/src/template-manager.ts, skills/whatsapp-cloud-api/assets/boilerplate/nodejs/src/types.ts, skills/whatsapp-cloud-api/assets/boilerplate/nodejs/src/webhook-handler.ts, skills/whatsapp-cloud-api/assets/boilerplate/nodejs/src/whatsapp-client.ts, skills/whatsapp-cloud-api/assets/boilerplate/python/app.py, skills/whatsapp-cloud-api/assets/boilerplate/python/template_manager.py, skills/whatsapp-cloud-api/assets/boilerplate/python/webhook_handler.py. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • SKILL.md19 KB
  • assets/boilerplate/nodejs/.env.example741 B
  • assets/boilerplate/nodejs/package-lock.json55 KB
  • assets/boilerplate/nodejs/package.json616 B
  • assets/boilerplate/nodejs/src/index.ts4 KB
Show all 32 files
  • assets/boilerplate/nodejs/src/template-manager.ts2 KB
  • assets/boilerplate/nodejs/src/types.ts5 KB
  • assets/boilerplate/nodejs/src/webhook-handler.ts5 KB
  • assets/boilerplate/nodejs/src/whatsapp-client.ts5 KB
  • assets/boilerplate/nodejs/tsconfig.json394 B
  • assets/boilerplate/python/.env.example741 B
  • assets/boilerplate/python/.snyk53 B
  • assets/boilerplate/python/app.py4 KB
  • assets/boilerplate/python/requirements.txt78 B
  • assets/boilerplate/python/template_manager.py3 KB
  • assets/boilerplate/python/webhook_handler.py4 KB
  • assets/boilerplate/python/whatsapp_client.py7 KB
  • assets/examples/flow-example.json6 KB
  • assets/examples/interactive-menu.json5 KB
  • assets/examples/template-messages.json5 KB
  • assets/examples/webhook-payloads.json8 KB
  • references/advanced-features.md17 KB
  • references/api-reference.md16 KB
  • references/automation-patterns.md20 KB
  • references/compliance.md15 KB
  • references/message-types.md40 KB
  • references/setup-guide.md24 KB
  • references/template-management.md14 KB
  • references/webhook-setup.md18 KB
  • scripts/send_test_message.py4 KB

And 2 more files on GitHub.

Alternatives to whatsapp-cloud-api

All alternatives →

Compare with setup-zoom-webhooks, baoyu-post-to-weibo or add-dial-number

whatsapp-cloud-api: common questions

Does it need a Meta Business account?

The source lists a Meta Business Suite account, a Meta for Developers app with the WhatsApp product, a verified phone number, and a System User Token as prerequisites.

When can it send free-form messages?

Within 24 hours after the customer's last message, any message type can be sent. Outside that window, only approved template messages can be used.

Is HMAC signature validation enough for webhooks?

No. The source says HMAC alone does not prevent replay, so production needs idempotency and replay protection.

How do I install whatsapp-cloud-api?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is whatsapp-cloud-api free?

The code is published under the MIT licence. The service it connects to may have its own pricing.

Is whatsapp-cloud-api safe to use?

It scores 92 of 100. Grades: maintenance A, licence A, quality A. Security check: grade F (sends keys or private files to a web address). Review the code before you install. How grades work.

What are alternatives to whatsapp-cloud-api?

Similar skills: setup-zoom-webhooks, baoyu-post-to-weibo, add-dial-number, setup-zoom-websockets.

whatsapp-cloud-api Install

Add to stack

Loading.