# Whatsapp

> Send WhatsApp messages and manage contacts via the WhatsApp Business Cloud API.

- Skill: `majiayu000/whatsapp` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add majiayu000/whatsapp`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/whatsapp/raw
- Safety review: pending (external: skill-scanner PASS, skillspector CAUTION)
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: DevOps & Infra
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/whatsapp

---


# WhatsApp Business

Send messages and manage contacts via the WhatsApp Business Cloud API.

## Environment Variables

- `WHATSAPP_ACCESS_TOKEN` - Access token
- `WHATSAPP_PHONE_ID` - Phone number ID

## Send text message

```bash
curl -s -X POST -H "Authorization: Bearer $WHATSAPP_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  "https://graph.facebook.com/v19.0/$WHATSAPP_PHONE_ID/messages" \
  -d '{"messaging_product":"whatsapp","to":"15551234567","type":"text","text":{"body":"Hello from ThinkFleetBot!"}}' | jq '{messages}'
```

## Send template message

```bash
curl -s -X POST -H "Authorization: Bearer $WHATSAPP_ACCESS_TOKEN" \
  -H "Content-Type: application/json" \
  "https://graph.facebook.com/v19.0/$WHATSAPP_PHONE_ID/messages" \
  -d '{"messaging_product":"whatsapp","to":"15551234567","type":"template","template":{"name":"hello_world","language":{"code":"en_US"}}}' | jq '{messages}'
```

## Notes

- Phone numbers without + prefix.
- Always confirm before sending messages.

