Wawp WhatsApp API
HomePricing
HomePricing
WhatsApp
API Status
  1. ⛓️‍💥 Session - instances
  • ⛓️‍💥 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
    • message
    • message.reaction
    • message.any
    • message.ack
    • message.revoked
    • message.edited
    • group.v2.join
    • group.v2.leave
    • group.v2.update
    • group.v2.participants
    • presence.update
    • poll.vote.failed
    • chat.archive
    • call.received
    • call.accepted
    • call.rejected
    • label.upsert
    • label.deleted
    • label.chat.added
    • label.chat.deleted
    • event.response
    • event.response.failed
    • engine.event
  1. ⛓️‍💥 Session - instances

Wawp’s Session Lifecycle

Wawp’s session API makes sessions reliable, secure, and easy to automate — a clear win for users, integrators, and operations teams.
Instances API is the operational backbone for provisioning and managing WhatsApp sessions at scale.
Screenshot 2025-09-10 at 21-51-51 Connect - Wawp.png
Before you can 📤 Send or 📥 Receive messages you must:
1.
Create a session (and optionally Start it) from https://wawp.net/account/connect.
2.
Authenticate it by scanning a QR code or entering a pair-code in WhatsApp.

a7fb773d-1325-486d-8493-63d3fc03bd8f.png#

By exposing deterministic lifecycle endpoints (create, start, stop, restart, delete, logout, info, and data) Wawp transforms what’s normally a manual, fragile process into an automated, auditable workflow.
Developers benefit from consistent validation and error shapes, which reduces integration friction and support load: when a request fails, the response explains what failed and why in a machine-friendly format.
Micro-caching of safe GETs reduces latency for dashboards and status checks while request-scoped caches cut DB hits during bulk operations.
Operators get better telemetry and a clean lifecycle for recovery and maintenance — scheduled restarts, controlled shutdowns, and clean deletions help with incident response and capacity reclaiming.
Documenting these operations on https://docs.wawp.net with practical examples, common error cases, and recommended polling/backoff strategies will speed adoption and cut developer support.

🔄 session.status values#

StatusMeaning & next step
STOPPEDSession is not running. Call Start to launch it.
STARTINGEngine is booting. Wait for the next status update.
SCAN_QR_CODEWhatsApp needs a fresh login.
• Fetch the latest QR each time you get this status (it changes frequently).
• Display the QR (or pairing code) to the operator/user.
WORKINGSession is authenticated and ready to send/receive messages.
FAILEDSomething went wrong (e.g., lost auth, device unlinked).
• First try Restart.
• If that fails, Logout and Start again to obtain a new QR.

🌐 Example session.status webhook payload#

{
  "instance_id": "123456789",
  "status": "SCAN_QR_CODE",
  "qr": "data:image/png;base64,iVBORw0KGgoAAA...",
  "ts": 1722170400
}
Handle each new SCAN_QR_CODE event by replacing any previously shown QR/pair-code with the updated one.

Modified at 2025-09-10 18:52:45
Next
Create new Session
Built with