Ze da API icon

Ze da API

WhatsApp API powered by Ze da API - Send messages, manage groups, contacts and more

Actions137

Privacy → Update Last Seen

AI-generated

Summary

Update the last seen privacy setting for a contact.

Inputs

  • value (required) — Who can see your last seen
  • requestOptions — Add options such as batching configuration
  • allowUnauthorizedCerts — Whether to accept the response even if SSL certificate validation is not possible
  • proxy — HTTP proxy to use; format e.g. http://username:password@myproxy:3128
  • timeout — Time in ms to wait for the server to send response headers before aborting the request

Output shape

a single updated privacy record

Returns the updated privacy configuration; may include error details if the request fails

Examples

Example 1: Set last seen visibility to 'All contacts'

value=contacts, timeout=10000

Example 2: Ignore SSL errors and use a proxy

allowUnauthorizedCerts=true, proxy=http://proxy.example.com:3128, timeout=15000

Example 3: Batch requests with 50 items per batch

requestOptions.batchItemsPerBatch=50, requestOptions.batchInterval=1000

Links

Discussion