Skip to content

Business Client Whatsapp Business Accounts

Updated: Nov 22, 2022

Reading

Get a list of WhatsApp Business Accounts on a Business.

Example

Requirements

  • whatsapp_business_management permission
  • whatsapp_business_messaging permission
  • public_profile permission
  • BUSINESS ID (also referred to as BUSINESS MANAGER ID in Business Settings)
  • ADMIN SYSTEM USER ACCESS TOKEN for the business

Request

Select language

cURLAndroid SDKObjective-C


       curl -i -X GET \  
'https://graph.facebook.com/LATEST-VERSION/BUSINESS-ID/client_whatsapp_business_accounts' \  
-H 'Authorization: Bearer USER-ACCESS-TOKEN'

Response

{
  "data": [
  ]
}

Request with Filtering

Select language

cURL


        curl -i -X GET \  
"https://graph.facebook.com/LATEST-VERSION/BUSINESS-ID/client_whatsapp_business_accounts \  
   ?fields=id,name,ownership_type \  
   &filtering=[{'field':'ownership_type', 'operator': 'IN', 'value': ['SELF', 'CLIENT_OWNED']}]" \  
-H 'Authorization: Bearer USER-ACCESS-TOKEN'

Parameters

This endpoint doesn't have any parameters.

Fields

Reading from this edge will return a JSON formatted result:

{
"data": [],
"paging": {}
}
data

A list of WhatsAppBusinessAccount nodes.

The following fields will be added to each node that is returned:

FieldDescription
permitted_tasks list<string>Tasks that are assignable to users on this asset
paging

For more details about pagination, see the Graph API guide.

Error Codes

Error CodeDescription
200Permissions error
80008There have been too many calls to this WhatsApp Business account. Wait a bit and try again. For more info, please refer to /docs/graph-api/overview/rate-limiting.
104Incorrect signature
100Invalid parameter

Creating

You can't perform this operation on this endpoint.

Updating

You can't perform this operation on this endpoint.

Deleting

You can't perform this operation on this endpoint.

Unofficial mirror for reference/search purposes. All content originates from developers.facebook.com — see the source link at the top of each page. Machine-readable indexes: llms.txt · llms-full.txt · About