Skip to main content
PUT
Save labels for the conversation

Description

This endpoint allows you to add or remove a label from a specific chat, allowing you to organize and categorize your chats.

URL Parameters

string
required
WhatsApp unique session ID
string
required
ID of the chat (JID of the contact or group)

Request Body

string
required
ID of the label to be added or removed
string
required
Action to be executed: “add” or “remove”

Response

boolean
Indicates if the operation was executed successfully

Status Codes

  • 200 - Operation executed successfully
  • 400 - Invalid parameters
  • 401 - Unauthorized
  • 404 - Chat or label not found

Usage Example

Authorizations

apikey
string
header
required

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

Path Parameters

chatId
string
required

Conversation ID

Body

application/json
labels
object[]
required

Response

200 - undefined