Skip to main content
GET
Get all labels

Description

This endpoint returns all labels created in the WhatsApp session, allowing you to view all available categories for organizing conversations.

URL Parameters

session
string
required
WhatsApp unique session ID

Response

labels
array
List of all created labels

Status Codes

  • 200 - List returned successfully
  • 400 - Invalid parameters
  • 401 - Unauthorized

Usage Example

Authorizations

apikey
string
header
required

Your Wappfy API key (get it at dash.wappfy.com.br)

Path Parameters

session
string
required

Session name (instanceName)

Response

200 - application/json
id
string
required

Label ID

Example:

"1"

name
string
required

Label name

Example:

"Lead"

color
number
required

Color number, not hex

Example:

0

colorHex
string
required

Color in hex

Example:

"#ff9485"