Logo
WhatsApp Business Platform API Documentation

Owned and Client WABAs

GET https://graph.facebook.com/{{Version}}/{{Business-ID}}/owned_whatsapp_business_accounts

Use this API call to get a list of owned WhatsApp Business Accounts (WABAs). You can also filter and sort the results —see the available parameters below.

Parameters

Name Description
filtering Used to filter client and owned WhatsApp business accounts. See filtering object for more options.
sort Used to sort shared and owned WhatsApp business accounts. Currently, you can sort WABAs based on their creation time. The two supported sorting categories are creation_time_ascending and creation_time_descending.

The filtering object

Name Description
field Contains the field being used for filtering. Currently, you can use the creation_time for filtering.
operator Contains how you want to filter the accounts. Supported values: LESS_THAN, GREATER_THAN.
value A timestamp to be used in the filtering.

Examples

Under Example Request on the right-side panel, you can switch between examples of the following API calls: - Fetch list of owned and client WABAs - Filter list of owned and client WABAs - Sort list of owned and client WABAs

 

Body PARAM

Key Datatype Required Description 



HEADERS

Key Datatype Required Description 




RESPONSES

status OK

{ "data": [ { "id": 1906385232743451, "name": "My WhatsApp Business Account", "currency": "USD", "timezone_id": "1", "message_template_namespace": "abcdefghijk_12lmnop" }, { "id": 1972385232742141, "name": "My Regional Account", "currency": "INR", "timezone_id": "5", "message_template_namespace": "12abcdefghijk_34lmnop" }, ], "paging": { "cursors": { "before": "abcdefghij", "after": "klmnopqr" } } }



Curl
curl -X GET 'https://graph.facebook.com/Version/Business-ID/owned_whatsapp_business_accounts'

ENDPOINTS