List a site visitor segments
get
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$siteIdstringRequired
The unique id of the site
Responses
200
List of visitor segments in the site.
application/json
countnumberOptional
Total count of objects in the list
get/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments
GET /v1/orgs/{organizationId}/sites/{siteId}/insights/visitor-segments HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
200
List of visitor segments in the site.
{
"next": {
"page": "text"
},
"count": 1,
"items": [
{
"title": "text",
"claims": {
"ANY_ADDITIONAL_PROPERTY": "[Circular Reference]"
},
"events": 1,
"visitors": 1,
"sessions": 1
}
]
}Last updated
Was this helpful?