Skip to main content
GET
/
trust-centers
/
{slugId}
/
activity
List Trust Center viewer activity events
curl --request GET \
  --url https://api.vanta.com/v1/trust-centers/{slugId}/activity \
  --header 'Authorization: Bearer <token>'
{
  "results": {
    "pageInfo": {
      "hasNextPage": true,
      "hasPreviousPage": false,
      "startCursor": "YXJyYXljb25uZWN0aW9uOjA=",
      "endCursor": "YXJyYXljb25uZWN0aW9uOjE="
    },
    "data": [
      {
        "id": "4b1e7a8c3d9f6a2b5c8d0e3f",
        "date": "2020-01-01T00:00:00.000Z",
        "eventType": "PAGE_VIEW",
        "details": {
          "page": "OVERVIEW"
        },
        "viewerEmail": "exampleviewer@company.com",
        "viewerId": "a2f7e1b9d0c3f4e5a6c7b8d9",
        "countryCode": "US",
        "city": "San Francisco"
      }
    ]
  }
}

Documentation Index

Fetch the complete documentation index at: https://vanta.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

slugId
string
required

Query Parameters

pageSize
integer<int32>
default:10

Controls the maximum number of items returned in one response from the API.

Required range: 1 <= x <= 100
pageCursor
string

A marker or pointer, telling the API where to start fetching items for the subsequent page in a paginated dataset. Note that the requested page will not include the item that corresponds to this cursor but will start from the one immediately after this cursor.

eventTypesMatchesAny
enum<string>[]
Available options:
PAGE_VIEW,
RESOURCE_DOWNLOAD,
RESOURCE_VIEW,
VIDEO_PLAY
afterDate
string<date-time>

Only include activity events that occurred on or after the specified date and time.

beforeDate
string<date-time>

Only include activity events that occurred before the specified date and time.

Response

200 - application/json

Ok

results
object
required