WhatsApp Cloud API
APIMeta's API for sending and receiving WhatsApp Business messages
- Erişim
- System user access token
Hakkında
The WhatsApp Cloud API is Meta's hosted API for messaging customers from a WhatsApp Business phone number. Replies inside an open customer service window are free; other messages must use pre-approved templates, billed per delivered message by category and country.
Neler yapabilirsin
- Send order updates, alerts and one-time codes with approved message templates
- Reply to customers with text, media and interactive buttons
- Receive incoming WhatsApp messages and delivery statuses via webhooks
Başlarken
- Create a Meta app with the WhatsApp use case
- Add a business phone number and note its phone number ID
- Generate a permanent system user access token
Örnek kod
curl "https://graph.facebook.com/v25.0/$WHATSAPP_PHONE_NUMBER_ID/messages" \
-H "Content-Type: application/json" \
-H "Authorization: Bearer $WHATSAPP_ACCESS_TOKEN" \
-d '{"messaging_product":"whatsapp","recipient_type":"individual","to":"+16505551234","type":"text","text":{"body":"Hello!"}}'Ayrıntılar
- Barındırma
- Hazır hizmet (bulut)
- Kullanılabildiği yerler
- Tüm dünya
- MCP sunucusu
- Uzak sunucu
- Entegrasyonlar