Skip to main content

Overview

Retrieve engagement data, document interactions, revenue attribution, and access requests for your trust center. Use these endpoints to build custom dashboards, generate reports, or feed data into your BI tools. All analytics endpoints accept optional date range filters and return data scoped to your organization. A restricted key needs the Trust portal: read scope.

Common parameters

All analytics endpoints share these query parameters:
Timestamps use microseconds. Multiply Unix seconds by 1,000,000.

Portal overview

URL: GET https://api.wolfia.com/v1/trustportal/analytics Authentication: API key required, Admin role (see API overview) Returns comprehensive analytics including access requests, portal views, document stats, and top documents and accounts.

Request

Query parameters

Response (200 OK)

Interaction feed

URL: GET https://api.wolfia.com/v1/trustportal/analytics/interactions Authentication: API key required, Admin role Returns every document interaction across the trust center as one row per event, joined to the visiting account and person where known. This is the endpoint to use for warehouse extracts and BI tools; the Hex guide is built on it.

Request

Query parameters

Response

Keep requesting with next_cursor while has_more is true. The final page reports has_more as false and no cursor. When is_deleted is false, document_title is your own document’s title; when it is true the id no longer resolves to a document on your trust center and the title falls back to what the visitor’s browser reported. The optional order parameter selects the ordering. The default, occurred, sorts by when interactions happened; its cursor is valid within one walk, so scheduled re-pulls should use a trailing start_date window rather than a saved cursor. received sorts by when Wolfia recorded each interaction; its cursor is durable across runs for incremental extraction, covers interactions recorded from the point the ordering became available, holds back the newest fifteen minutes, and rejects start_date/end_date. A cursor from one ordering is rejected with 400 in the other, and each row’s received_at reports the recording time.

Document interactions

URL: GET https://api.wolfia.com/v1/trustportal/analytics/documents Authentication: API key required, Expert or Admin role Returns paginated document interaction metrics including views, downloads, and unique viewers.

Request

Query parameters

Document interactions by revenue

URL: GET https://api.wolfia.com/v1/trustportal/analytics/documents/by-revenue Authentication: API key required, Admin role Returns document interactions sorted by revenue attribution. Requires a CRM integration (Salesforce or HubSpot).

Request

Document detail analytics

URL: GET https://api.wolfia.com/v1/trustportal/analytics/documents/{document_id} Authentication: API key required, Admin role Returns detailed analytics for a specific document including recent activity and top accounts.

Request

Query parameters

Active accounts

URL: GET https://api.wolfia.com/v1/trustportal/analytics/accounts Authentication: API key required, Admin role Returns paginated accounts with their interaction metrics (views, downloads, access requests).

Request

Query parameters

Revenue metrics

URL: GET https://api.wolfia.com/v1/trustportal/analytics/revenue Authentication: API key required, Admin role Returns revenue attribution metrics showing the trust center’s impact on sales pipeline. Requires a CRM integration.

Request

Account revenue metrics

URL: GET https://api.wolfia.com/v1/trustportal/analytics/revenue/{account_id} Authentication: API key required, Admin role Returns revenue metrics for a specific account including opportunities and deal stages.

Request

Top won deals

URL: GET https://api.wolfia.com/v1/trustportal/analytics/top-won-deals Authentication: API key required, Admin role Returns top accounts ranked by won deal revenue. Requires a CRM integration.

Request

Query parameters

Top open deals

URL: GET https://api.wolfia.com/v1/trustportal/analytics/top-open-deals Authentication: API key required, Admin role Returns top accounts ranked by open deal pipeline revenue. Requires a CRM integration.

Request

Access requests

URL: GET https://api.wolfia.com/v1/trustportal/access Authentication: API key required, Admin role Returns a paginated list of access requests submitted to your trust portal.

Request

Query parameters

Response (200 OK)

Integration example

Error responses

Next steps

Trust portal updates

Create and manage trust center update notifications

API overview

Learn about API authentication and best practices