GET/api/v1/me/documents/{slug}/analytics/viewers/people

Viewers by person

One row per signed-in person or anonymous visitor: views, total active_s, best_completion, first_at, last_at and last_view (a view id). Same filters as List viewers.

API token required120 per minute per IPMCP: get_document_viewers

Guide: Who viewed it

Code samples and Try it

Path parameters

#
  • slugstringRequired

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

Query parameters

#
  • rangestring

    The period to count: 7d, 30d, 90d or all. One of 7d, 30d, 90d, all. One of 7d, 30d, 90d, all. Default "30d".

  • whostring

    One of all, signed_in, anonymous. One of all, signed_in, anonymous. Default "all".

  • owninteger

    From 0 to 1. Default 0.

  • internalinteger

    From 0 to 1. Default 1.

Responses

#
  • 200OK.
  • 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?