cURL
curl --request POST \ --url https://api.z-api.io/instances/{instanceId}/token/{token}/privacy/online \ --header 'Client-Token: <api-key>' \ --header 'Content-Type: application/json' \ --data ' { "visualizationType": "<string>" } '
Configure who can see when you are online
ALL
SAME_LAST_SEEN
{ "visualizationType": "ALL" }
{ "success": true }