Get Assigned WhatsApp Business Accounts
Retrieve WhatsApp Business Accounts that have been assigned to a specific user. This endpoint provides information about account assignments, permissions, and current status corresponding to the GraphAssignedWhatsAppBusinessAccountsEdge node.
Use Cases:
- Retrieve all WhatsApp Business Accounts assigned to a user
- Check user permissions for specific accounts
- Monitor account assignment status and changes
- Validate user access before performing business operations
Rate Limiting: Standard Graph API rate limits apply. Use appropriate retry logic with exponential backoff.
Caching: Assignment information can be cached for short periods, but permissions and status may change frequently. Implement appropriate cache invalidation strategies.
Request
- Base URLhttps://graph.facebook.com
- URLhttps://graph.facebook.com/{Version}/{User-ID}/assigned_whatsapp_business_accounts
- AuthHTTP bearer
Path parameters
Graph API version to use for this request. Determines the API behavior and available features.
The user ID for whom to retrieve assigned WhatsApp Business Accounts. This must be a valid user ID within your solution or partnership.
Query parameters
Comma-separated list of fields to include in the response. If not specified, default fields will be returned (id, name, status). Available fields: id, name, status, assignment_date, permissions, business_id, phone_numbers
Maximum number of accounts to return per page. Default is 25, maximum is 100.
Cursor for pagination. Use this to get the next page of results.
Cursor for pagination. Use this to get the previous page of results.
Headers
The user agent string identifying the client software making the request.
Bearer token for API authentication. This should be a valid access token obtained through the appropriate OAuth flow or system user token.
Response
Successfully retrieved assigned WhatsApp Business Accounts
Example response
{
"data": [
{
"id": "1234567890123456",
"name": "Business Account Name",
"status": "ACTIVE",
"assignment_date": "2023-10-15T14:30:00Z",
"permissions": [
"MANAGE",
"DEVELOP",
"MANAGE_TEMPLATES"
],
"business_id": "9876543210987654",
"phone_numbers": [
{
"id": "1906385232743451",
"display_phone_number": "+1 631-555-5555",
"verified_name": "Jasper's Market",
"quality_rating": "GREEN",
"code_verification_status": "VERIFIED",
"name_status": "AVAILABLE_WITHOUT_REVIEW"
}
]
}
]
}Changes
No recorded changes to this operation across all 5 revisions of this API.