Actions137
- Business Actions
- Add Product to Collection
- Add Tag to Chat
- Create Collection
- Create Product
- Create Tag
- Delete Collection
- Delete Product
- Delete Tag
- Edit Collection
- Edit Tag
- Get Available Categories
- Get Business Profile
- Get Product
- Get Products By Phone
- Get Tag Colors
- List Collection Products
- List Collections
- List Products
- List Tags
- Remove Product From Collection
- Remove Tag From Chat
- Save Catalog Config
- Set Business Hours
- Set Categories
- Chat Actions
- Community Actions
- Contact Actions
- Event Actions
- Group Actions
- Instance Actions
- Interactive Message Actions
- Message Actions
- Message Action Actions
- Message Status Actions
- Newsletter Actions
- Poll Actions
- Privacy Actions
- Profile Actions
- Proxy Actions
- Queue Actions
- Status/Story Actions
- Webhook Actions
Privacy → Update Online
AI-generatedSummary
Update the online privacy visibility setting for a contact or group
Inputs
- value (required) — Online visibility setting, either 'all' or 'match_last_seen'
- requestOptions — Options for batching, batch interval, and other HTTP configuration
- allowUnauthorizedCerts — Whether to ignore SSL certificate validation
- proxy — HTTP proxy URL, optionally with credentials
- timeout — Request timeout in milliseconds
Output shape
a single privacy resource object representing the updated setting
The response includes the updated fields; on error an envelope with 'id' and 'code' may be returned
Examples
Example 1: Set online visibility to 'match_last_seen'
value=match_last_seen
Example 2: Batch update with 50 items per batch and 1000 ms interval
value=all&requestOptions.batch.batchSize=50&requestOptions.batch.batchInterval=1000
Example 3: Use a proxy and custom timeout
proxy=http://myproxy:3128&timeout=15000