For more information on how to use the API, see WhatsApp Business Management API.
The following API calls are subject to Business Use Case Rate Limits:
GET
, POST
, and DELETE
calls to /{whats-app-business-account-id}/assigned_users
GET
calls to /{whats-app-business-account-id}
Returns the account information of a WhatsApp Business Account
Requirements
whatsapp_business_management permission
whatsapp_business_messaging permission
public_profile permission
WhatsApp Business Account (WABA) ID
USER ACCESS TOKEN
Request
curl -i -X GET \
"https://graph.facebook.com/LATEST-VERSION/WHATSAPP-BUSINESS-ACCOUNT-ID?access_token=USER-ACCESS-TOKEN"
Response
{ "id": "WHATSAPP-BUSINESS-ACCOUNT-ID", "name": "Test WhatsApp Business Account", "timezone_id": "1", "message_template_namespace": "MESSAGE-TEMPLATE-NAMESPACE" }
Field | Description |
---|---|
id numeric string | ID of the WhatApp Business Account. |
account_review_status enum | Status from account review process. |
analytics | Used to designate which analytics metrics you want returned. See Analytics. |
business_verification_status enum | Current status of business verification of Meta Business Account which owns this WhatsApp Business Account |
string | country of the WhatsApp Business Account's owning Meta Business account |
currency string | The currency in which the payment transactions for the WhatsApp Business Account will be processed |
is_enabled_for_insights bool | If |
message_template_namespace string | Namespace string for the message templates that belong to the WhatsApp Business Account |
name string | User-friendly name to differentiate WhatsApp Business Accounts |
on_behalf_of_business_info WABAOnBehalfOfComputedInfo | The "on behalf of" information for the WhatsApp Business Account |
enum | Ownership type of the WhatsApp Business Account |
primary_funding_id numeric string | Primary funding ID for the WhatsApp Business Account paid service |
purchase_order_number string | The purchase order number supplied by the business for payment management purposes |
timezone_id string | The timezone of the WhatsApp Business Account |
Edge | Description |
---|---|
Analytics data of the WhatsApp Business Account with conversation based pricing | |
Retrieves a preview of a message template based on the provided configuration | |
Message templates that belong to the WhatsApp Business Account | |
The phone numbers that belong to the WhatsApp Business Account | |
product_catalogs | |
List of apps that are subscribed to webhooks updates for this WABA | |
template_performance_metrics |
Error | Description |
---|---|
100 | Invalid parameter |
131009 | Parameter value is not valid |
200 | Permissions error |
80008 | There have been too many calls to this WhatsApp Business account. Wait a bit and try again. For more info, please refer to https://developers.facebook.com/docs/graph-api/overview/rate-limiting. |
131031 | Business Account locked |
131000 | Something went wrong |
/{whats_app_business_account_id}/assigned_users
.Parameter | Description |
---|---|
tasks array<enum {MANAGE, DEVELOP, MANAGE_TEMPLATES, MANAGE_PHONE, VIEW_COST, MANAGE_EXTENSIONS, VIEW_PHONE_ASSETS, MANAGE_PHONE_ASSETS, VIEW_TEMPLATES}> | Permissions on WhatsApp Business Account Required |
user UID | Business user ID Required |
success
: bool, Error | Description |
---|---|
100 | Invalid parameter |
200 | Permissions error |
Supported values for currency codes can be found in currencies.
Supported values for time zones can be found in timezone ids.