Wawp WhatsApp API
HomePricingHelp Center
HomePricingHelp Center
WhatsApp
API Status
  1. 🪝 Webhooks
  • ⛓️‍💥 Session - instances
    • Wawp’s Session Lifecycle
    • Create new Session
      POST
    • Start Session
      POST
    • Stop Session
      POST
    • Restart Session
      POST
    • Delete Session
      DELETE
    • Logout Session
      POST
    • Get Session info
      GET
    • About WhatsApp Data
      GET
  • 📲 Authentication - Login
    • About login authentication
    • GET QR raw
      GET
    • GET QR image
      GET
    • Request code
      POST
    • Get a live screenshot
      GET
  • 📤 Send Messages
    • Send Messages
    • Send Text
    • Send Image
    • Send PDF
    • Send Voice
    • Send video
    • Send Link Preview
    • Send Location
    • Send poll
    • Send Contact Vcard
    • Mark message(s) as seen
    • Start typing
    • Stop typing
    • Reaction
    • Star/unstar a message
  • ℹ️ Whatsapp Profile info
    • WhatsApp Profile Info
    • Get profile
    • Set display‑name
    • Set “About” status
    • Upload Whatsapp picture
    • Delete profile picture
  • 📢 Channels Control
    • Get list of know channels
    • Create a new channel.
    • Get channel info
    • Delete channel
    • Preview channel messages
    • Follow a channel
    • Unfollow a channel
    • Mute a channel
    • Unmute a channel
    • Search channels — by view
    • Search channels — by text
    • Search metadata — views / countries / categories
  • 🟢 Presence information
    • Presence API
    • Set session presence
    • Get the presence for the chat id
  • 🔊 24 Hour Status
    • Text status
    • Image status
    • Voice status
    • Video status
    • Delete status
  • 💬 Chats
    • Chats list & overview
    • chats overview
    • chats overview
    • Delete the chat
    • Get chat picture
    • Get messages in the chat.
    • Clear all messages from the chat.
    • Mark unread messages as read.
    • Get message by id
    • Delete a message
    • Edit a text message
    • Pin a message
    • Unpin a message
    • Archive the chat
    • Unarchive the chat
    • Mark chat as unread
  • 🪪 Contacts
    • Get all contacts
    • Get basic contact info
    • Check phone is on WhatsApp
    • Get contact “about”
    • Get contact profile picture (24h cache; add refresh=true to bust)
    • Block contact
    • Unblock contact
    • Create/Update contact on phone address book
    • Get all known lids to phone number mapping
    • Get the number of known lids
  • 👥 Groups
    • Get All List groups
    • Create a group
    • Join info (by code or URL)
    • Join group
    • Get the number of groups
    • Refresh groups from the server
    • Get the group
    • Delete the group
    • Leave the group
    • Get group picture
    • Set group picture
    • Delete group picture
    • Updates the group description
    • Updates the group subject
    • Updates the group "info admin only" settings
    • Update settings - who can send messages
    • Get settings - who can send messages
    • Set messages admin only
    • Get the invite code for the group
    • Invalidates the current group invite code and generates a new one
    • Get participants
    • Add participants
    • Remove participants
    • Promote participants to admin users
    • Demotes participants to regular users
  • 🏷️ Labels
    • Labels API
    • GET all labels
    • Create label
    • Update label
    • DELETE label
    • labels for a chat
    • Save labels for a chat
    • Chats with a label
  • 🪝 Webhooks
    • Wawp’s Webhook API
    • session.status
      POST
    • message
      POST
    • message.reaction
      POST
    • message.any
      POST
    • message.ack
      POST
    • message.revoked
      POST
    • message.edited
      POST
    • group.v2.join
      POST
    • group.v2.leave
      POST
    • group.v2.update
      POST
    • group.v2.participants
      POST
    • presence.update
      POST
    • poll.vote.failed
      POST
    • chat.archive
      POST
    • call.received
      POST
    • call.accepted
      POST
    • call.rejected
      POST
    • label.upsert
      POST
    • label.deleted
      POST
    • label.chat.added
      POST
    • label.chat.deleted
      POST
    • event.response
      POST
    • event.response.failed
      POST
    • engine.event
      POST
  1. 🪝 Webhooks

label.chat.added

POST
The event is triggered when a label is added to a chat

Request

None

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST ''

Responses

🟢200Success
application/json
Body

Example
{
  "id": "evt_01aaaaaaaaaaaaaaaaaaaaaaaa",
  "timestamp": 1634567890123,
  "session": "default",
  "metadata": {
    "user.id": "123",
    "user.email": "email@example.com"
  },
  "engine": "WEBJS",
  "event": "label.chat.added",
  "payload": {
    "labelId": "1",
    "chatId": "11111111111@c.us",
    "label": {
      "id": "1",
      "name": "Lead",
      "color": 0,
      "colorHex": "#ff9485"
    }
  },
  "me": {
    "id": "11111111111@c.us",
    "lid": "123123@lid",
    "pushName": "string"
  },
  "environment": {
    "version": "YYYY.MM.BUILD",
    "engine": "WEBJS",
    "tier": "PLUS",
    "browser": "/usr/path/to/bin/google-chrome"
  }
}
Modified at 2025-09-29 01:58:46
Previous
label.deleted
Next
label.chat.deleted
Built with