Get trust center visitors
/workspaces/{workspace}/visitorsShows who reads your trust center over the last 7, 30 or 90 days: visits, companies that requested access and what they opened, anonymous visits, a daily series, most-opened items and top referrers.
Authentication
Send an API token as a bearer token. This endpoint needs a read token, made by any member of the workspace. Create one in My account → API tokens; see scopes and roles.
Authorization: Bearer 42|bynh_pat_•••••••HeaderPath parameters
workspacestringRequiredYour workspace slug, e.g. dokan.
Query parameters
rangeenumdefault 30Days. “Pick 7, 30 or 90 days.” One of
7,30,90.
Response
200 OKVisitor stats.
rangeintegerDays.statsobjectvisits, visits_change (percent vs the previous period, or null), companies, documents_opened, documents_behind_nda, badge_clicks, badge_sites.companies[]objectBy email domain: name, domain, people, status (localized: NDA signed | access shared | waiting for approval | access ended | declined), visits, opened (titles), last_seen_at.anonymous{visits, last_seen_at}Visitors with no access request.series[]{day, visits}One per day in the range.most_opened[]{label, count}Most-opened sections and documents.referrers[]{host, views}Top 5 referring hosts.
Rate limits
This endpoint counts toward your general limit of 120 requests a minute. When you go over, wait for the number of seconds in Retry-After.
Errors
Every error is JSON with a message. See Errors.