Get Label By ID

Supported & Tested

Returns a specific WhatsApp label by ID.

POSThttps://api.waplix.io/api/v1/labels/info
Authentication
Authorization: Bearer YOUR_API_KEY
Parameters Specification
instance_id
stringReq

Required Waplix instance id

label_id
stringReq

Required label id

Usage Notes
Retrieves a single label by ID. Returns metadata including label name, color, predefined identifier, and usage count. Verified on production instance 29854.
Request Payload Example
Request
curl -X POST "https://api.waplix.io/api/v1/api/v1/labels/info" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
  "instance_id": "demo_instance",
  "label_id": "9"
}'
Success Response
Response · 200 OK
{
  "success": true,
  "data": {
    "instance_id": "demo_instance",
    "label": {
      "name": "John Doe",
      "color": 0,
      "predefined_id": null,
      "count": 0
    }
  }
}
Was this page helpful?