List Segments
Lists segments
Query Parameters
limit int32 optional
Optionally limit the number of segments returned. Defaults to 20. The max limit for a single page is 100.
paginationToken string optional
Optional pagination token for retrieving more results. List params should not change between consecutive paginated requests (limit is an exception).
creator string optional
If set, filters the returned segments by the provided creator. This should be an email associated with a Fullstory account.
Responses
200
A successful response.
Schema
Example
Schema
segments object[] optional
nextPaginationToken string optional
If present, then there are more results which can be retrieved by making another request with this token as the
pagination_token
.
{
"segments": [
{
"id": "abcdefg12345",
"name": "Visits to jobs page",
"creator": "bob@example.com",
"created": "2020-10-22T14:30:10.631Z",
"url": "https://app.fullstory.com/ui/yourOrgId/segments/abcdefg12345"
},
{
"id": "12345abcdefg",
"name": "Beta Users",
"creator": "alice@example.com",
"created": "2020-10-22T14:06:25.897Z",
"url": "https://app.fullstory.com/ui/yourOrgId/segments/12345abcdefg"
},
{
"id": "hijklmn12345",
"name": "Power Users (Web)",
"creator": "joe@example.com",
"created": "2020-10-22T13:35:04.700Z",
"url": "https://app.fullstory.com/ui/yourOrgId/segments/hijklmn12345"
}
],
"nextPaginationToken": "abdefg123"
}
GET /segments/v1
Authorization: ApiKeyAuth
name: Authorizationin: headertype: apiKey
https://api.fullstory.com/segments/v1
- cURL
- Python
- Go
- Javascript
curl -L -X GET 'https://api.fullstory.com/segments/v1' \
-H 'Accept: application/json' \
-H 'Authorization: Basic <API_KEY_VALUE>'
curl -L -X GET 'https://api.fullstory.com/segments/v1' \
-H 'Accept: application/json' \
-H 'Authorization: Basic <API_KEY_VALUE>'
curl -L -X GET 'https://api.fullstory.com/segments/v1' \
-H 'Accept: application/json' \
-H 'Authorization: Basic <API_KEY_VALUE>'
curl -L -X GET 'https://api.fullstory.com/segments/v1' \
-H 'Accept: application/json' \
-H 'Authorization: Basic <API_KEY_VALUE>'