🏷️ Labels

Get labels for the chat

get/api/{session}/labels/chats/{chatId}

Request

  • Base URL: http://localhost:3000
  • URL: http://localhost:3000/api/{session}/labels/chats/{chatId}
  • Auth: API key in header X-Api-Key

Path parameters

sessionstring required

Session name

chatIdstring required
Example:123456789@c.us

Chat ID

Response

idstring required

Label ID

namestring required

Label name

colornumber required

Color number, not hex

colorHexstring required

Color in hex

Example response

[
  {
    "id": "1",
    "name": "Lead",
    "colorHex": "#ff9485"
  }
]

Changes

No recorded changes to this operation across all 1 revision of this API.