POST
/
api
/
admin
/
users
/
curl --request POST \
  --url http://localhost/api/admin/users/ \
  --header 'Content-Type: application/json' \
  --data '{
  "cursor": "<string>",
  "segmentFilter": [
    "<string>"
  ],
  "limit": 123,
  "direction": "after",
  "userIds": [
    "1043"
  ],
  "userPropertyFilter": [
    {
      "id": "<string>",
      "values": [
        "<string>"
      ]
    }
  ],
  "workspaceId": "<string>"
}'
{
  "users": [
    {
      "id": "<string>",
      "properties": {},
      "segments": [
        {
          "id": "<string>",
          "name": "<string>"
        }
      ]
    }
  ],
  "previousCursor": "<string>",
  "nextCursor": "<string>",
  "userCount": 123
}

Body

application/json
cursor
string
segmentFilter
string[]
limit
number
direction
Available options:
after
userIds
string[]
userPropertyFilter
object[]
workspaceId
string
required

Response

200 - application/json
users
object[]
required
previousCursor
string
nextCursor
string
userCount
number
required