Messaging and business management via Meta Business API
/me/businesses
| Param | Type | Required | Description |
|---|---|---|---|
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{business_id}/owned_whatsapp_business_accounts
| Param | Type | Required | Description |
|---|---|---|---|
| business_id | string | optional | Meta business ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{business_id}/owned_whatsapp_business_accounts
| Param | Type | Required | Description |
|---|---|---|---|
| business_id | string | optional | Meta business ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{business_id}/client_whatsapp_business_accounts
| Param | Type | Required | Description |
|---|---|---|---|
| business_id | string | optional | Meta business ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{waba_id}
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
| fields | string | optional | Comma-separated fields to include |
/{waba_id}/phone_numbers
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{phone_number_id}
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| fields | string | optional | Comma-separated fields to include |
/{phone_number_id}/whatsapp_business_profile
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| fields | string | optional | Comma-separated fields to include |
/{phone_number_id}/whatsapp_business_profile
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | required | Must be whatsapp |
| about | string | optional | Business profile About text |
| address | string | optional | Business address |
| description | string | optional | Business description |
| string | optional | Business email address | |
| vertical | string | optional | Business vertical |
| websites | array | optional | Business website URLs |
/{waba_id}/message_templates
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
| name | string | optional | Message template name or ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{waba_id}/message_templates
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
| name | string | required | Template name |
| category | string | required | Template category |
| language | string | required | Template language code |
| components | array | required | Template components |
/{waba_id}/message_templates
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
| name | string | required | Template name |
| category | string | required | Template category |
| language | string | required | Template language code |
| components | array | required | Template components |
/{waba_id}/message_templates
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
| name | string | required | Message template name or ID |
/{waba_id}/message_templates
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
| name | string | required | Message template name or ID |
| language | string | optional | Template language code |
/{waba_id}/message_templates
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{phone_number_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| to | string | required | Recipient phone number |
| type | string | required | Message type |
| text | object | optional | Text message content |
| template | object | optional | Template message content |
/{phone_number_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| to | string | required | Recipient phone number |
| template | object | required | Template configuration |
/{phone_number_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| to | string | required | Recipient phone number |
| template | object | required | Template configuration |
/{phone_number_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| to | string | required | Recipient phone number |
| type | string | required | Media type |
| media | object | required | Media payload |
/{phone_number_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| to | string | required | Recipient phone number |
| type | string | required | Media type |
| media_id | string | required | WhatsApp media ID |
| caption | string | optional | Optional media caption |
/{phone_number_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| to | string | required | Recipient phone number |
| contacts | array | required | Contact cards |
/{phone_number_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| to | string | required | Recipient phone number |
| location | object | required | Location payload |
/{phone_number_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| to | string | required | Recipient phone number |
| interactive | object | required | Interactive button payload |
/{phone_number_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| to | string | required | Recipient phone number |
| interactive | object | required | Interactive list payload |
/{phone_number_id}/media
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| file | string | required | Media file or URL |
| type | string | required | Media type |
/{media_id}
| Param | Type | Required | Description |
|---|---|---|---|
| media_id | string | required | WhatsApp media ID |
/{media_id}
| Param | Type | Required | Description |
|---|---|---|---|
| media_id | string | required | WhatsApp media ID |
/{waba_id}/flows
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
| name | string | required | Flow name |
| categories | array | optional | Flow categories |
/{waba_id}/flows
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{flow_id}/assets
| Param | Type | Required | Description |
|---|---|---|---|
| flow_id | string | required | WhatsApp Flow ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{flow_id}/assets
| Param | Type | Required | Description |
|---|---|---|---|
| flow_id | string | required | WhatsApp Flow ID |
| file | string | required | Flow JSON file or content |
| name | string | required | Uploaded asset name, normally flow.json |
| asset_type | string | required | Flow asset type, normally FLOW_JSON |
/{flow_id}/publish
| Param | Type | Required | Description |
|---|---|---|---|
| flow_id | string | required | WhatsApp Flow ID |
/{waba_id}/subscribed_apps
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
/{waba_id}/subscribed_apps
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
/{waba_id}/subscribed_apps
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
/{phone_number_id}/register
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| pin | string | required | Two-step verification PIN |
/{phone_number_id}/deregister
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
/{phone_number_id}/verify_code
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| code | string | required | OTP verification code |
/{phone_number_id}
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| pin | string | required | Six-digit PIN |
/{phone_number_id}/message_qrdls
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{phone_number_id}/message_qrdls
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| prefilled_message | string | required | Prefilled message |
/{phone_number_id}/message_qrdls
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| code | string | required | QR code value |
/{phone_number_id}/business_compliance_info
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
/{phone_number_id}/whatsapp_business_encryption
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
/{phone_number_id}/conversational_automation
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| enable_welcome_message | boolean | optional | Whether welcome messages are enabled |
| prompts | array | optional | Conversation prompts |
| commands | array | optional | Bot command definitions |
/{phone_number_id}/block_users
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| block_users | array | required | WhatsApp users to block |
/{waba_id}/assigned_users
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
| user_id | string | required | Assigned user ID |
/{app_id}/uploads
| Param | Type | Required | Description |
|---|---|---|---|
| app_id | string | required | Meta app ID |
| file_length | integer | required | File length in bytes |
| file_type | string | required | MIME type |
/{credit_line_id}/whatsapp_credit_sharing_and_attach
| Param | Type | Required | Description |
|---|---|---|---|
| credit_line_id | string | required | Credit line ID |
| waba_id | string | required | WhatsApp Business Account ID |
| waba_currency | string | required | Client WABA currency, for example INR or USD |
/{waba_id}
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
| fields | object | required | Business Account fields |
/{phone_number_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| status | string | optional | Read status, normally read |
| message_id | string | required | Incoming WhatsApp message ID |
/{phone_number_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| to | string | required | Recipient phone number |
| reaction | object | required | Reaction payload containing message_id and emoji |
/{phone_number_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| to | string | required | Recipient phone number |
| interactive | object | required | Product or catalog interactive payload |
/{phone_number_id}/messages
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| messaging_product | string | optional | Must be whatsapp |
| to | string | required | Recipient phone number |
| interactive | object | required | Flow interactive payload |
/{flow_id}
| Param | Type | Required | Description |
|---|---|---|---|
| flow_id | string | required | WhatsApp Flow ID |
| fields | string | optional | Comma-separated fields to include |
/{flow_id}
| Param | Type | Required | Description |
|---|---|---|---|
| flow_id | string | required | WhatsApp Flow ID |
| fields | string | optional | Use preview.invalidate(false) to reuse the active preview URL |
/{flow_id}
| Param | Type | Required | Description |
|---|---|---|---|
| flow_id | string | required | WhatsApp Flow ID |
| name | string | optional | New Flow name |
| categories | array | optional | Flow categories |
| endpoint_uri | string | optional | Flow data endpoint URI |
/{phone_number_id}/message_qrdls
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| code | string | required | QR code value |
| fields | string | optional | Comma-separated fields to include |
/{phone_number_id}/message_qrdls
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| code | string | required | QR code value |
| prefilled_message | string | required | Updated prefilled message |
/{waba_id}/assigned_users
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
| business_id | string | optional | Meta business ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{waba_id}/schedules
| Param | Type | Required | Description |
|---|---|---|---|
| waba_id | string | optional | WhatsApp Business Account ID |
| fields | string | optional | Comma-separated fields to include |
| limit | integer | optional | Maximum number of records to return |
| after | string | optional | Pagination cursor for the next page |
/{phone_number_id}/settings
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
/{phone_number_id}/settings
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| calling | object | optional | WhatsApp calling feature settings |
| storage_configuration | object | optional | WhatsApp storage configuration |
/{phone_number_id}/whatsapp_commerce_settings
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
/{phone_number_id}/whatsapp_commerce_settings
| Param | Type | Required | Description |
|---|---|---|---|
| phone_number_id | string | optional | WhatsApp Business phone number ID |
| is_cart_enabled | boolean | optional | Whether carts are enabled |
| is_catalog_visible | boolean | optional | Whether the catalog is visible |