Session Management

Explore all operations and guides for Session Management.

Session Lifecycle

Documentation on Wawp's Session Lifecycle — how to provision, start, and maintain reliable WhatsApp instances.

Session Management Endpoints

11 Endpoints
POST
/v2/session/create

Create Session

Provisions a fresh Wawp instance and returns metadata such as instance_id and session_name.

POSTGET
/v2/session/start

Start Session

Boots up the WhatsApp engine for a specific instance. This is the trigger that transitions a session from 'STOPPED' to 'STARTING'.

POSTGET
/v2/session/stop

Stop Session

Gracefully shuts down the WhatsApp engine for an instance without logging it out. Used to save resources or restart a stuck session.

POSTGET
/v2/session/restart

Restart Session

Reboots the WhatsApp instance. Useful for fixing stuck sessions or applying settings.

GETPATCH
/v2/session/rate-limit

Session Rate Limits

View available rate-limit policies and the current policy for an instance. Paid users can select any policy; free users are limited to strict and standard policies.

GETPOSTDELETE
/v2/session/temp-link

Temporary Access Link

Generate, retrieve, or revoke a temporary access link for a WhatsApp session. The link opens a QR-code page that can be used to connect or reconnect the session without exposing your credentials.

POSTGET
/v2/session/logout

Logout Session

Logs the instance out of WhatsApp. This removes the paired device link but keeps the instance alive in a 'SCAN_QR_CODE' state.

DELETE
/v2/session/delete

Delete Session

Permanently deletes a WhatsApp session locally and from the server. This action is irreversible.

POST
/v2/session/info

Session Info

Retrieve complete information about a WhatsApp session, including connection status, authenticated user info, and server details.

GET
/v2/session/me

About WhatsApp Data

Retrieves the profile information of the WhatsApp account connected to this session.

GETPOST
/v2/session/webhook

Webhook Management

Configures custom webhooks and toggles system webhook event forwarding for this session. (Paid users only)