Retrieves a list of all labels currently defined in the connected WhatsApp Business account. Labels are used to organize chats and messages (e.g., "New Customer", "Order Complete").Developer Tips:
Business Accounts Only: Labels are a feature specific to the WhatsApp Business App and WhatsApp Business API. This endpoint may return an empty list or an error if used with a standard personal WhatsApp account.
Color Hex: The response usually includes both a predefined WhatsApp color ID and the approximate HEX code for that color.
Request
Query Params
Request Code Samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl--location--request GET 'https://wawp.net/wp-json/awp/v1/labels?instance_id=YOUR_INSTANCE&access_token=YOUR_TOKEN'