PUT/api/v1/documents/{slug}/access/presence

Show who's viewing

Turns the document's Show who's viewing on or off. Owner only. Off, nobody on the page sees anyone, not even a count.

API token required60 per minute per IPMCP: set_presence

Guide: See who's viewing

Code samples and Try it

Path parameters

#
  • slugstringRequired

    The document's address: the part after markdrop.in/.

Request body

#

application/json, required

  • showbooleanRequired

Responses

#
  • 204No content.
  • 401No token, or the token is revoked or mistyped.
  • 422The request didn't validate. detail lists each problem, with where it is (loc) and why (msg).
  • 429Too many requests from your IP address. Wait the seconds in Retry-After.
Did this page help?