Skip to main content
GET
Search organization people

Autoritzacions

Authorization
string
header
requerit

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

Capçaleres

x-organization-id
string<uuid>
requerit

Organization context for multi-tenant operations

Paràmetres de consulta

Search term for text search across name and email fields

Exemple:

"john"

offset
number
predeterminat:0

Offset for pagination (number of records to skip)

Rang requerit: x >= 0
cursor
string

Cursor for pagination (returned from previous response)

Exemple:

"eyJvZmZzZXQiOjUwfQ=="

limit
number
predeterminat:50

Maximum number of results to return per page

Rang requerit: 1 <= x <= 100
firstName
string

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

Exemple:

"John"

lastName
string

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

Exemple:

"Doe"

email
string

Filter by email (partial match, case-insensitive)

Exemple:

"john@example.com"

personId
string

Filter by specific person ID (exact match)

Exemple:

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

active
boolean

Filter by active status

Exemple:

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.

Exemple:

true

roles
string[]

Filter by roles

createdAfter
string

Filter by created date (after this date)

Exemple:

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

createdBefore
string

Filter by created date (before this date)

Exemple:

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

sortBy
enum<string>
predeterminat:createdAt

Field to sort by

Opcions disponibles:
name,
email,
createdAt,
status
Exemple:

"name"

sortDirection
enum<string>
predeterminat:DESC

Sort direction (ASC or DESC)

Opcions disponibles:
ASC,
DESC
Exemple:

"ASC"

Resposta

People found successfully

people
object[]
requerit

List of people matching search criteria

pagination
object
requerit

Pagination metadata

totalCount
number | null

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

Exemple:

1234