WA Client
POST

Add Label Association

Assign label to chat or message.

API endpoint
https://waclient.com/api/add_label_association
Example:
curl -X POST \
  'https://waclient.com/api/add_label_association' \
  -H 'Content-Type: application/json' \
  --data '{
    "label_id": "1750000000000",
    "chat_id": "20100981XXXX",
    "instance_id": "6A4B02A1XXXX",
    "access_token": "EMCUH3NQQK8YXXXX"
}'
Response
{
    "status": "success",
    "message": "Success",
    "data": {
        "associated": true,
        "label_id": "1750000000000",
        "chat_id": "[email protected]",
        "message_id": null,
        "local_only": true
    }
}
ParameterDescription
label_idLabel identifier
chat_idChat JID or phone number
message_idOptional — associate a specific message (Optional)
instance_idYour instance ID
access_tokenYour access token

Command Palette

Search documentation endpoints.

Esc