WhatsApp Business — Cloud API
whatsapp/cloud · version 1
envs add whatsapp/cloud
This declares the keys below in your catalog and sets none of them. A template is a schema for keys; it never carries a value.
| Key | Needed | Kind | Notes |
|---|---|---|---|
WHATSAPP_ACCESS_TOKEN |
required | secret | The token a system user holds. Meta says to store it somewhere secure. A temporary one expires quickly and is not meant for real use. All names here are convention: Meta's samples use placeholders, not variables.. where to get it |
WHATSAPP_APP_SECRET |
required | secret | Meta says never to share your app secret with anyone. Resetting it in the dashboard invalidates the old one at once.. where to get it |
WHATSAPP_PHONE_NUMBER_ID |
required | secret | Which number sends. Meta states no sensitivity for this or the two ids below, so none of them is treated as public here.. where to get it |
WHATSAPP_BUSINESS_ACCOUNT_ID |
optional | secret | Which business account the number belongs to.. where to get it |
WHATSAPP_WEBHOOK_VERIFY_TOKEN |
optional | secret | A string you choose, which Meta echoes back when it verifies your webhook. You pick it, so nothing stops you picking something guessable.. where to get it |