Skip to main content
GET
Search organization people

Autorizări

Authorization
string
header
obligatoriu

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

Anteturi

x-organization-id
string<uuid>
obligatoriu

Organization context for multi-tenant operations

Parametri interogare

Search term for text search across name and email fields

Exemplu:

"john"

offset
number
implicit:0

Offset for pagination (number of records to skip)

Interval necesar: x >= 0
cursor
string

Cursor for pagination (returned from previous response)

Exemplu:

"eyJvZmZzZXQiOjUwfQ=="

limit
number
implicit:50

Maximum number of results to return per page

Interval necesar: 1 <= x <= 100
firstName
string

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

Exemplu:

"John"

lastName
string

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

Exemplu:

"Doe"

email
string

Filter by email (partial match, case-insensitive)

Exemplu:

"john@example.com"

personId
string

Filter by specific person ID (exact match)

Exemplu:

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

active
boolean

Filter by active status

Exemplu:

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.

Exemplu:

true

roles
string[]

Filter by roles

createdAfter
string

Filter by created date (after this date)

Exemplu:

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

createdBefore
string

Filter by created date (before this date)

Exemplu:

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

sortBy
enum<string>
implicit:createdAt

Field to sort by

Opțiuni disponibile:
name,
email,
createdAt,
status
Exemplu:

"name"

sortDirection
enum<string>
implicit:DESC

Sort direction (ASC or DESC)

Opțiuni disponibile:
ASC,
DESC
Exemplu:

"ASC"

Răspuns

People found successfully

people
object[]
obligatoriu

List of people matching search criteria

pagination
object
obligatoriu

Pagination metadata

totalCount
number | null

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

Exemplu:

1234