Skip to main content

Update Profile Seen Privacy

PATCH 

/api/v2/instance/:instanceId/whatsapp/update/profile-seen-privacy

This endpoint allows you to modify the privacy settings of your "Last Seen" status on WhatsApp. The "Last seen" status lets other users know when you last viewed their messages. Through this endpoint, you can define who can see this information.

Request

Path Parameters

    instanceId stringrequired

    ID of the instance.

Body

required
  • action: A field that accepts specific values to determine who can see your "Last Seen" status. The possible values are:
  • 'all': This allows all users to see your "Last Seen" status.
  • 'contact_blacklist': This restricts visibility to contacts on your blocklist.
  • 'contacts': This allows only the contacts from your contact list to see your "Last Seen" status.
  • 'none': This prevents any user from seeing your "Last Seen" status.
    action Actionrequired

    Default value: all | contact_blacklist | contacts | none

Responses

ResponseProfileSeenPrivacy

Schema
    lastSeenPrivacy stringrequired
    WhatsApp object
    whatsappId stringrequired
    remoteJid stringrequired
    pictureUrl stringrequired
    pushName stringrequired
    createdAt stringrequired
    instanceInstanceId stringrequired
Loading...