Skip to Content
Users

Search Users For Project

GET
/v0/projects/{idOrSlug}/users

Authorization

apiKeyAuth
headerx-api-key<token>

FastStats API key. Pass it in the x-api-key header or as a Bearer token in the Authorization header.

Path Parameters

idOrSlug*string

Query Parameters

from?string
to?string
query?string
limit?string
cursor?string
cohort?string
Value in"all""identified""anonymous"
sort?string
Value in"user""eventCount""activeDays""avgSessionDurationMs""firstSeen""lastSeen"
direction?string
Value in"asc""desc"
segment?string|array<string>
excludeSegment?string|array<string>

Response Body

UsersPage

application/json
  1. response
items*array<>
total*number|
nextCursor*string|null
Example Request
curl -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"
}