Users
Search Users For Project
GET
apiKeyAuthheader
x-api-key<token>FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.
idOrSlug*stringfrom?string|nullto?string|nullquery?string|nulllimit?string|nullcursor?string|nullcohort?|nullsort?|nulldirection?|nullsegment?string|array<string>|nullexcludeSegment?string|array<string>|nullUsersPage
application/json- response
items*array<>total*number|nextCursor*string|nullcurl -X GET 'https://api.faststats.dev/v0/projects/string/users'Example Response
{ "items": [ { "userKey": "string", "userId": "string", "personId": "string", "userIds": [ "string" ], "firstSeen": "string", "lastSeen": "string", "eventCount": 0, "activeDays": 0, "avgSessionDurationMs": 0, "firstBrowser": "string", "browser": "string", "firstOs": "string", "os": "string", "firstCountry": "string", "country": "string", "firstDevice": "string", "device": "string", "externalId": "string", "email": "string", "name": "string", "phone": "string", "avatarUrl": "string", "traits": {}, "serverCount": 0 } ], "total": 0, "nextCursor": "string"}curl -X GET 'https://api.faststats.dev/v0/projects/string/users'{
"items": [
{
"userKey": "string",
"userId": "string",
"personId": "string",
"userIds": [
"string"
],
"firstSeen": "string",
"lastSeen": "string",
"eventCount": 0,
"activeDays": 0,
"avgSessionDurationMs": 0,
"firstBrowser": "string",
"browser": "string",
"firstOs": "string",
"os": "string",
"firstCountry": "string",
"country": "string",
"firstDevice": "string",
"device": "string",
"externalId": "string",
"email": "string",
"name": "string",
"phone": "string",
"avatarUrl": "string",
"traits": {},
"serverCount": 0
}
],
"total": 0,
"nextCursor": "string"
}