Skip to main content
GET
Search organization people

Avtorizatsiyalar

Authorization
string
header
talab qilinadi

Short-lived bearer access token issued for a Living Security API access key. Send as Authorization: Bearer .

Sarlavhalar

x-organization-id
string<uuid>
talab qilinadi

Organization context for multi-tenant operations

So'rov parametrlari

Search term for text search across name and email fields

Misol:

"john"

offset
number
standart:0

Offset for pagination (number of records to skip)

Talab qilinadigan diapazon: x >= 0
cursor
string

Cursor for pagination (returned from previous response)

Misol:

"eyJvZmZzZXQiOjUwfQ=="

limit
number
standart:50

Maximum number of results to return per page

Talab qilinadigan diapazon: 1 <= x <= 100
firstName
string

Filter by first name (partial match, case-insensitive)

Misol:

"John"

lastName
string

Filter by last name (partial match, case-insensitive)

Misol:

"Doe"

email
string

Filter by email (partial match, case-insensitive)

Misol:

"john@example.com"

personId
string

Filter by specific person ID (exact match)

Misol:

"01234567-89ab-cdef-0123-456789abcdef"

active
boolean

Filter by active status

Misol:

true

includeTotal
boolean

Include the exact count of all people matching the same filters. Defaults to false to avoid count-query overhead for autocomplete/search consumers.

Misol:

true

roles
string[]

Filter by roles

createdAfter
string

Filter by created date (after this date)

Misol:

"2025-01-01T00:00:00Z"

createdBefore
string

Filter by created date (before this date)

Misol:

"2025-12-31T23:59:59Z"

sortBy
enum<string>
standart:createdAt

Field to sort by

Mavjud variantlar:
name,
email,
createdAt,
status
Misol:

"name"

sortDirection
enum<string>
standart:DESC

Sort direction (ASC or DESC)

Mavjud variantlar:
ASC,
DESC
Misol:

"ASC"

Javob

People found successfully

people
object[]
talab qilinadi

List of people matching search criteria

pagination
object
talab qilinadi

Pagination metadata

totalCount
number | null

Exact count of all people matching the same filters. Present only when requested with includeTotal=true.

Misol:

1234