v2

latestOpenAPI 3.1.02026-08-075421692.0 MB
WhatsApp Sandbox

Revoke a sandbox session

Hard-deletes the session. The user loses the ability to send to that phone via the sandbox until they re-activate it. Existing conversations and messages already exchanged with that phone are untouched — revocation only blocks FUTURE sends.

Sessions belonging to other users cannot be revoked; the response is the same 400 as "session not found" so existence isn't leaked.

delete/v1/whatsapp/sandbox/sessions/{sessionId}

Path parameters

sessionIdstring required

The session id returned by POST /v1/whatsapp/sandbox/sessions.

Response

Session revoked

successboolean