# Send WhatsApp Business API to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "whatsapp-business-api",
    "name": "WhatsApp Business API",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/ivangdavila/whatsapp-business-api",
    "canonicalUrl": "https://clawhub.ai/ivangdavila/whatsapp-business-api",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/whatsapp-business-api",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=whatsapp-business-api",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "best-practices.md",
      "business.md",
      "flows.md",
      "media.md",
      "memory-template.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-07T17:22:31.273Z",
      "expiresAt": "2026-05-14T17:22:31.273Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=afrexai-annual-report",
        "contentDisposition": "attachment; filename=\"afrexai-annual-report-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/whatsapp-business-api"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/whatsapp-business-api",
    "downloadUrl": "https://openagent3.xyz/downloads/whatsapp-business-api",
    "agentUrl": "https://openagent3.xyz/skills/whatsapp-business-api/agent",
    "manifestUrl": "https://openagent3.xyz/skills/whatsapp-business-api/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/whatsapp-business-api/agent.md"
  }
}
```
## Documentation

### WhatsApp Business API

Official Meta Cloud API integration. See auxiliary files for detailed operations.

### Quick Start

curl -X POST "https://graph.facebook.com/v21.0/$WHATSAPP_PHONE_NUMBER_ID/messages" \\
  -H "Authorization: Bearer $WHATSAPP_ACCESS_TOKEN" \\
  -H "Content-Type: application/json" \\
  -d '{"messaging_product":"whatsapp","to":"1234567890","type":"text","text":{"body":"Hello!"}}'

### Setup

On first use, read setup.md. Preferences stored in ~/whatsapp-business-api/memory.md.

### When to Use

Any WhatsApp Business operation: send messages, templates, media, interactive elements, manage webhooks, handle conversations, update business profiles.

### Architecture

~/whatsapp-business-api/
├── memory.md      # Account context + phone numbers
├── templates.md   # Approved templates reference
└── webhooks.md    # Webhook configurations

### Quick Reference

TopicFileSetup & memorysetup.md, memory-template.mdMessages (text, media, interactive)messages.mdTemplates (create, manage, send)templates.mdMedia (upload, download, manage)media.mdWebhooks & Eventswebhooks.mdBusiness Profile & Phone Numbersbusiness.mdFlows (interactive forms)flows.mdBest practices & limitsbest-practices.md

### Core Rules

International format — Phone numbers without + or leading zeros: 1234567890
24-hour window — Free replies within 24h of customer message; templates required to initiate
Template approval — Templates need Meta approval (24-48h); test in sandbox first
Idempotency — Use biz_opaque_callback_data to track message state
Webhook verification — Always verify webhook signature with app secret
Rate limits — 80 messages/second per phone number; 1000 template messages/day (tier 1)
Media limits — Images <5MB, videos <16MB, documents <100MB

### Authentication

Required environment variables:

WHATSAPP_ACCESS_TOKEN — System User access token (permanent) or User access token (60-day)
WHATSAPP_PHONE_NUMBER_ID — Your registered phone number ID
WHATSAPP_BUSINESS_ACCOUNT_ID — Your WABA ID (for templates)
WHATSAPP_APP_SECRET — App secret for webhook verification

curl "https://graph.facebook.com/v21.0/$WHATSAPP_PHONE_NUMBER_ID" \\
  -H "Authorization: Bearer $WHATSAPP_ACCESS_TOKEN"

### Token Types

TypeDurationUse CaseSystem User TokenPermanentProduction appsUser Token60 daysDevelopment, testingTemporary Token24 hoursQuick tests

### Common Traps

Phone format with + or 00 → API rejects
Missing messaging_product: "whatsapp" → 400 error
Template not approved → message fails silently
Webhook signature not verified → security vulnerability
Sending outside 24h window without template → blocked

### External Endpoints

EndpointPurposehttps://graph.facebook.com/v21.0/*Cloud API

### Security & Privacy

Environment variables used:

WHATSAPP_ACCESS_TOKEN — for API authentication
WHATSAPP_APP_SECRET — for webhook signature verification

Sent to Meta: Messages, media, customer phone numbers via graph.facebook.com
Stays local: Tokens (never logged), ~/whatsapp-business-api/ preferences
Never: Log message content, skip webhook verification, store tokens in code

### Trust

This skill sends data to Meta (facebook.com/whatsapp).

### Related Skills

Install with clawhub install <slug> if user confirms:

api — REST API patterns
webhook — Webhook handling
chat — Conversational patterns

### Feedback

If useful: clawhub star whatsapp-business-api
Stay updated: clawhub sync
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: ivangdavila
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-05-07T17:22:31.273Z
- Expires at: 2026-05-14T17:22:31.273Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/whatsapp-business-api)
- [Send to Agent page](https://openagent3.xyz/skills/whatsapp-business-api/agent)
- [JSON manifest](https://openagent3.xyz/skills/whatsapp-business-api/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/whatsapp-business-api/agent.md)
- [Download page](https://openagent3.xyz/downloads/whatsapp-business-api)