Skip to main content
GET
Search organization people

인증

Authorization
string
header
필수

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

헤더

x-organization-id
string<uuid>
필수

Organization context for multi-tenant operations

쿼리 매개변수

Search term for text search across name and email fields

예시:

"john"

offset
number
기본값:0

Offset for pagination (number of records to skip)

필수 범위: x >= 0
cursor
string

Cursor for pagination (returned from previous response)

예시:

"eyJvZmZzZXQiOjUwfQ=="

limit
number
기본값:50

Maximum number of results to return per page

필수 범위: 1 <= x <= 100
firstName
string

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

예시:

"John"

lastName
string

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

예시:

"Doe"

email
string

Filter by email (partial match, case-insensitive)

예시:

"john@example.com"

personId
string

Filter by specific person ID (exact match)

예시:

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

active
boolean

Filter by active status

예시:

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.

예시:

true

roles
string[]

Filter by roles

createdAfter
string

Filter by created date (after this date)

예시:

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

createdBefore
string

Filter by created date (before this date)

예시:

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

sortBy
enum<string>
기본값:createdAt

Field to sort by

사용 가능한 옵션:
name,
email,
createdAt,
status
예시:

"name"

sortDirection
enum<string>
기본값:DESC

Sort direction (ASC or DESC)

사용 가능한 옵션:
ASC,
DESC
예시:

"ASC"

응답

People found successfully

people
object[]
필수

List of people matching search criteria

pagination
object
필수

Pagination metadata

totalCount
number | null

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

예시:

1234