GET List website visits
Base URL: https://server-url-from-token-page.endpoint. Version: 1.2.0.
GET /api/v1/public/website/visits — List website visits
Read-only operation
Lists the complete captured visit timeline for one website company. Use the leadId returned by either Signals or website tracking accounts. Account and website-company context is deduplicated under references.
This endpoint supports GET only and does not accept a request body. Authentication is accepted only through Authorization: Bearer <token>; the bearer token determines the workspace.
Unknown, nested, object-valued, or unexpectedly repeated scalar query parameters are rejected. Successful responses omit null-valued properties and null array entries.
GET URLs can appear in client and intermediary logs. Never place credentials or secrets in query parameters. Responses are marked Cache-Control: private, no-store.
Parameters
leadId(query, string, required)Website-company identifier returned by the Signals or website tracking accounts endpoints. Maximum length is 200 characters.
- Minimum length: 1
- Maximum length: 200
take(query, integer, optional)Maximum rows returned in this page. Integer from 1 through 50. Defaults to 10.
- Default: 10
- Minimum: 1
- Maximum: 50
skip(query, integer, optional)Number of matching rows skipped before this page. Integer from 0 through 1000. Defaults to 0.
- Default: 0
- Minimum: 0
- Maximum: 1000
X-Request-Id(header, string, optional)Optional caller correlation id. The server generates one when omitted and always returns the resolved value.
X-Trace-Id(header, string, optional)Optional distributed trace id for cross-system request correlation.
X-Client-Name(header, string, optional)Optional caller-defined client label for request diagnostics.
JSON response schema
{
"$ref": "#/components/schemas/PublicWebsiteVisitsResponse",
"components": {
"schemas": {
"PublicWebsiteVisitsResponse": {
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PublicWebsiteVisit"
}
},
"references": {
"$ref": "#/components/schemas/PublicWebsiteReferences"
},
"metadata": {
"type": "object",
"properties": {
"count": {
"type": "integer",
"minimum": 0
}
},
"required": [
"count"
],
"additionalProperties": false
},
"pagination": {
"$ref": "#/components/schemas/PublicEndpointPagination"
}
},
"required": [
"data",
"references",
"metadata",
"pagination"
],
"additionalProperties": false
},
"PublicWebsiteVisit": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"source": {
"type": "string"
},
"medium": {
"type": "string"
},
"referringUrl": {
"type": "string"
},
"pageDepth": {
"type": "number",
"format": "double"
},
"visitLength": {
"type": "number",
"format": "double"
},
"startedAt": {
"type": "string",
"format": "date-time"
},
"campaign": {
"type": "string"
},
"deviceType": {
"type": "string"
},
"countryCode": {
"type": "string"
},
"visitorEmail": {
"type": "string"
},
"visitorFirstName": {
"type": "string"
},
"visitorLastName": {
"type": "string"
},
"leadId": {
"type": "string",
"pattern": "^[a-fA-F0-9]{24}$",
"description": "24-character hexadecimal identifier."
},
"accountId": {
"type": "string",
"pattern": "^[a-fA-F0-9]{24}$",
"description": "24-character hexadecimal identifier."
},
"visitRoute": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PublicWebsiteVisitRoute"
}
}
},
"required": [
"id"
],
"additionalProperties": false,
"description": "One website visit with entity objects replaced by reference ids."
},
"PublicWebsiteVisitRoute": {
"type": "object",
"properties": {
"pagePath": {
"type": "string"
},
"timeOnPage": {
"type": "number",
"format": "double"
},
"pageTitle": {
"type": "string"
},
"pageUrl": {
"type": "string"
}
},
"additionalProperties": false
},
"PublicWebsiteReferences": {
"type": "object",
"properties": {
"accountsById": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/PublicAccountReference"
},
"description": "Accounts keyed by accountId."
},
"leadsById": {
"type": "object",
"additionalProperties": {
"$ref": "#/components/schemas/PublicEndpointNamedReference"
},
"description": "Website companies keyed by leadId."
}
},
"required": [
"accountsById",
"leadsById"
],
"additionalProperties": false
},
"PublicAccountReference": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-fA-F0-9]{24}$",
"description": "24-character hexadecimal identifier."
},
"name": {
"type": "string"
},
"archived": {
"type": "boolean",
"enum": [
true
],
"description": "Present only as true for an Archived account. Active accounts omit this property."
},
"status": {
"type": "string"
},
"health": {
"type": "string",
"description": "Account health when the account status is Existing Customers; otherwise omitted."
},
"rmf": {
"type": "string",
"description": "Reference Market Fit when the account status is not Existing Customers; otherwise omitted."
},
"website": {
"type": "string"
},
"linkedIn": {
"type": "string"
},
"program": {
"type": "string",
"description": "Opaque client-defined account program value, returned without reinterpretation."
},
"type": {
"type": "string",
"deprecated": true,
"description": "Deprecated response alias for program."
},
"industry": {
"type": "string"
},
"hqCountry": {
"type": "string",
"description": "Headquarters country code when available."
},
"employees": {
"type": "string"
},
"targeting": {
"type": "string",
"enum": [
"IN_TARGETING",
"NOT_IN_TARGETING",
"NOT_APPLICABLE"
]
},
"owners": {
"type": "array",
"items": {
"$ref": "#/components/schemas/PublicEndpointNamedReference"
}
},
"pif": {
"$ref": "#/components/schemas/PublicEndpointPif"
},
"adClicks": {
"type": "number",
"format": "double"
},
"adImpressions": {
"type": "number",
"format": "double"
}
},
"required": [
"id",
"name"
],
"additionalProperties": false,
"description": "Deduplicated account context. Null-valued properties are omitted."
},
"PublicEndpointNamedReference": {
"type": "object",
"properties": {
"id": {
"type": "string",
"pattern": "^[a-fA-F0-9]{24}$",
"description": "24-character hexadecimal identifier."
},
"name": {
"type": "string"
}
},
"required": [
"id"
],
"additionalProperties": false,
"description": "Compact named reference."
},
"PublicEndpointPif": {
"type": "object",
"properties": {
"score": {
"type": "number",
"format": "double"
},
"band": {
"type": "string"
},
"trend": {
"type": "string"
},
"momentum": {
"type": "number",
"format": "double"
},
"windowStart": {
"type": "string",
"format": "date-time"
},
"windowEnd": {
"type": "string",
"format": "date-time"
},
"last30Days": {
"$ref": "#/components/schemas/PublicEndpointPifWindow"
},
"last7Days": {
"$ref": "#/components/schemas/PublicEndpointPifWindow"
}
},
"additionalProperties": false,
"description": "Current Product Interest Fit summary with optional recent windows."
},
"PublicEndpointPifWindow": {
"type": "object",
"properties": {
"score": {
"type": "number",
"format": "double"
},
"band": {
"type": "string"
},
"trend": {
"type": "string"
},
"momentum": {
"type": "number",
"format": "double"
},
"windowStart": {
"type": "string",
"format": "date-time"
},
"windowEnd": {
"type": "string",
"format": "date-time"
}
},
"additionalProperties": false,
"description": "Product Interest Fit summary for one measurement window."
},
"PublicEndpointPagination": {
"type": "object",
"properties": {
"skip": {
"type": "integer",
"minimum": 0
},
"take": {
"type": "integer",
"minimum": 1
},
"returned": {
"type": "integer",
"minimum": 0
},
"hasMore": {
"type": "boolean"
},
"nextSkip": {
"type": "integer",
"minimum": 0
}
},
"required": [
"skip",
"take",
"returned",
"hasMore"
],
"additionalProperties": false,
"description": "Offset pagination for the current page."
}
}
}
}Responses
200: Successful response. Repeated entity context is returned through reference maps where applicable.
X-Request-Id(header, string, optional)Request correlation id supplied by the caller or generated by the server.
Cache-Control(header, private, no-store, optional)Prevents browsers and shared intermediaries from storing authenticated report data.
RateLimit-Policy(header, value, optional)Response header
RateLimit-Limit(header, value, optional)Response header
RateLimit-Remaining(header, value, optional)Response header
RateLimit-Reset(header, value, optional)Response header
200 response example
{
"data": [
{
"id": "visit-1",
"startedAt": "2026-07-30T10:15:00Z",
"visitLength": 240,
"leadId": "507f1f77bcf86cd799439013",
"accountId": "507f1f77bcf86cd799439011",
"visitRoute": [
{
"pagePath": "/pricing",
"timeOnPage": 120
}
]
}
],
"references": {
"accountsById": {
"507f1f77bcf86cd799439011": {
"id": "507f1f77bcf86cd799439011",
"name": "Example account",
"status": "Prospects",
"industry": "Software",
"targeting": "IN_TARGETING",
"owners": [
{
"id": "507f1f77bcf86cd799439021",
"name": "Example owner"
}
]
}
},
"leadsById": {
"507f1f77bcf86cd799439013": {
"id": "507f1f77bcf86cd799439013",
"name": "Example visitor"
}
}
},
"metadata": {
"count": 1
},
"pagination": {
"skip": 0,
"take": 10,
"returned": 1,
"hasMore": false
}
}400: Invalid website input.
X-Request-Id(header, string, optional)Request correlation id supplied by the caller or generated by the server.
Cache-Control(header, private, no-store, optional)Prevents browsers and shared intermediaries from storing authenticated report data.
400 response schema
{
"$ref": "#/components/schemas/ErrorResponse",
"components": {
"schemas": {
"ErrorResponse": {
"type": "object",
"required": [
"message",
"code"
],
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"additionalProperties": false
}
}
}
}400 response example
{
"message": "The website request is invalid.",
"code": "INVALID_RESOURCE_REQUEST"
}401: Missing, invalid, expired, or unauthorized credential.
X-Request-Id(header, string, optional)Request correlation id supplied by the caller or generated by the server.
Cache-Control(header, private, no-store, optional)Prevents browsers and shared intermediaries from storing authenticated report data.
401 response schema
{
"$ref": "#/components/schemas/ErrorResponse",
"components": {
"schemas": {
"ErrorResponse": {
"type": "object",
"required": [
"message",
"code"
],
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"additionalProperties": false
}
}
}
}401 response example
{
"message": "Unauthorized request",
"code": "UNAUTHENTICATED"
}403: Authenticated workspace scope mismatch.
X-Request-Id(header, string, optional)Request correlation id supplied by the caller or generated by the server.
Cache-Control(header, private, no-store, optional)Prevents browsers and shared intermediaries from storing authenticated report data.
403 response schema
{
"$ref": "#/components/schemas/ErrorResponse",
"components": {
"schemas": {
"ErrorResponse": {
"type": "object",
"required": [
"message",
"code"
],
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"additionalProperties": false
}
}
}
}403 response example
{
"message": "The authenticated credential is not authorized for this resource.",
"code": "SPACE_SCOPE_MISMATCH"
}405: Only GET is supported for this endpoint.
X-Request-Id(header, string, optional)Request correlation id supplied by the caller or generated by the server.
Cache-Control(header, private, no-store, optional)Prevents browsers and shared intermediaries from storing authenticated report data.
405 response schema
{
"$ref": "#/components/schemas/ErrorResponse",
"components": {
"schemas": {
"ErrorResponse": {
"type": "object",
"required": [
"message",
"code"
],
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"additionalProperties": false
}
}
}
}405 response example
{
"message": "Method not allowed",
"code": "METHOD_NOT_ALLOWED"
}429: Rate limit exceeded.
Retry-After(header, integer, optional)Seconds to wait before retrying.
X-Request-Id(header, string, optional)Request correlation id supplied by the caller or generated by the server.
Cache-Control(header, private, no-store, optional)Prevents browsers and shared intermediaries from storing authenticated report data.
RateLimit-Policy(header, value, optional)Response header
RateLimit-Limit(header, value, optional)Response header
RateLimit-Remaining(header, value, optional)Response header
RateLimit-Reset(header, value, optional)Response header
429 response schema
{
"$ref": "#/components/schemas/ErrorResponse",
"components": {
"schemas": {
"ErrorResponse": {
"type": "object",
"required": [
"message",
"code"
],
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"additionalProperties": false
}
}
}
}429 response example
{
"message": "Too many requests. Please try later.",
"code": "RATE_LIMIT_EXCEEDED"
}500: Unexpected server failure.
X-Request-Id(header, string, optional)Request correlation id supplied by the caller or generated by the server.
Cache-Control(header, private, no-store, optional)Prevents browsers and shared intermediaries from storing authenticated report data.
500 response schema
{
"$ref": "#/components/schemas/ErrorResponse",
"components": {
"schemas": {
"ErrorResponse": {
"type": "object",
"required": [
"message",
"code"
],
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"additionalProperties": false
}
}
}
}500 response example
{
"message": "Internal server error",
"code": "INTERNAL_SERVER_ERROR"
}503: The Public API is temporarily unavailable.
X-Request-Id(header, string, optional)Request correlation id supplied by the caller or generated by the server.
Cache-Control(header, private, no-store, optional)Prevents browsers and shared intermediaries from storing authenticated report data.
503 response schema
{
"$ref": "#/components/schemas/ErrorResponse",
"components": {
"schemas": {
"ErrorResponse": {
"type": "object",
"required": [
"message",
"code"
],
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"additionalProperties": false
}
}
}
}503 response example
{
"message": "Service unavailable",
"code": "PUBLIC_RESOURCE_UNAVAILABLE"
}504: The request exceeded the time limit.
X-Request-Id(header, string, optional)Request correlation id supplied by the caller or generated by the server.
Cache-Control(header, private, no-store, optional)Prevents browsers and shared intermediaries from storing authenticated report data.
504 response schema
{
"$ref": "#/components/schemas/ErrorResponse",
"components": {
"schemas": {
"ErrorResponse": {
"type": "object",
"required": [
"message",
"code"
],
"properties": {
"message": {
"type": "string"
},
"code": {
"type": "string"
}
},
"additionalProperties": false
}
}
}
}504 response example
{
"message": "The resource request timed out.",
"code": "PUBLIC_RESOURCE_TIMEOUT"
}List website visits
curl "https://server-url-from-token-page.endpoint/api/v1/public/website/visits?leadId=507f1f77bcf86cd799439013&take=10&skip=0" \
-H "Authorization: Bearer $DOE_API_TOKEN" \
-H "Accept: application/json" \
-H "X-Request-Id: postman-{{$guid}}" \
-H "X-Client-Name: postman-public-api"Response example
{
"data": [
{
"id": "visit-1",
"startedAt": "2026-07-30T10:15:00Z",
"visitLength": 240,
"leadId": "507f1f77bcf86cd799439013",
"accountId": "507f1f77bcf86cd799439011",
"visitRoute": [
{
"pagePath": "/pricing",
"timeOnPage": 120
}
]
}
],
"references": {
"accountsById": {
"507f1f77bcf86cd799439011": {
"id": "507f1f77bcf86cd799439011",
"name": "Example account",
"status": "Prospects",
"industry": "Software",
"targeting": "IN_TARGETING",
"owners": [
{
"id": "507f1f77bcf86cd799439021",
"name": "Example owner"
}
]
}
},
"leadsById": {
"507f1f77bcf86cd799439013": {
"id": "507f1f77bcf86cd799439013",
"name": "Example visitor"
}
}
},
"metadata": {
"count": 1
},
"pagination": {
"skip": 0,
"take": 10,
"returned": 1,
"hasMore": false
}
}