POST /presenceSets the global presence status of the connected WhatsApp account. This controls whether the account appears "Online" to other users.Developer Tips & Best Practices:
Status vs. Presence: This endpoint sets the connection status ("Online" or "Offline"). It does not set the "About" text (formerly known as status text); for that, use the /profile/status endpoint.
** Privacy Settings:** Even if you set the presence to "offline", your "Last Seen" timestamp may still be updated depending on your WhatsApp privacy settings.
Automation: Useful for customer support bots to appear "Online" during business hours and "Offline" when the bot is inactive.
Request
Query Params
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 'https://wawp.net/wp-json/awp/v1/presence?instance_id=123456789&access_token=123456789&presence=online'