List persons
/personsList persons you have permission to read, including their names, status, and organization. Filter by person, organization, status, or creation date.
For public API access, requires persons:read in the organization. See
Authentication for permissions and
Pagination & filtering for working with lists.
Query parameters
idsarray of string (uuid)
Filter by exact person IDs. Accepts up to 100 IDs.
max items 100
organizationIdsarray of string (uuid)
Filter by organization IDs. Accepts up to 100 IDs. Each organization must be within your
permitted scope; requesting an organization outside that scope returns 403.
max items 100
statusesarray of PersonStatus
Filter by person status. Accepts up to three values; includes all statuses when omitted.
activeinactiveremovedmax items 3
createdAtGtestring (date-time)
Include persons created at or after this timestamp (inclusive).
createdAtLtestring (date-time)
Include persons created at or before this timestamp (inclusive).
nextTokenstring
Cursor for the next page. See Pagination & filtering.
Returns 400 if the cursor is malformed or its person record is no longer visible to you.
max length 64
pageSizeinteger
Maximum number of persons per page, from 1 to 100. Defaults to 25.
min 1
max 100
default 25
sortstring
Sort direction; asc returns oldest first and desc returns newest first. Defaults to desc.
ascdescdefault "desc"
sortBystring
Field to sort by. Only createdAt is supported and is the default.
createdAtdefault "createdAt"
Headers
flex-versionstring
pattern ^\d{4}-\d{2}-\d{2}$
Responses
OK
application/jsondataarray of PersonItem
required
dataarray of PersonItem
idstring (uuid)
The person's ID within their organization. Use this as cardholderId when
creating a card for this person.
organizationIdstring (uuid)
The ID of the organization this person record belongs to.
statusstring
The person's status in the organization. active means active membership, inactive means
suspended membership, and removed means the person has been removed from the organization.
activeinactiveremovedgivenNamestring
The person's given name, when on file.
familyNamestring
The person's family name, when on file.
displayNamestring
The name to display, when on file. If omitted, use the available givenName and familyName.
createdAtstring (date-time)
When this person record was created.
lastModifiedAtstring (date-time)
When this person record was last updated.
metadataPersonListMetadata
required
metadataPersonListMetadata
pageSizeinteger
The requested maximum number of persons per page.
sortstring
The applied sort direction; asc is oldest first and desc is newest first.
ascdescnextTokenstring
Cursor for the next page, omitted on the last page. See Pagination & filtering.
A filter or pagination value is invalid, or the pagination cursor can no longer be resolved.
application/jsonError body for rejected requests. errors is keyed by the offending
field (or message for request-level problems). flexErrorCode is a
stable machine-readable code, present on the errors that carry one.
statusCodeinteger
messagestring
errorsmap of string
flexErrorCodestring
Missing or invalid authentication.
application/jsonError body for rejected requests. errors is keyed by the offending
field (or message for request-level problems). flexErrorCode is a
stable machine-readable code, present on the errors that carry one.
statusCodeinteger
messagestring
errorsmap of string
flexErrorCodestring
You do not have permission to read persons in a requested organization, or have no person read access.
application/jsonError body for rejected requests. errors is keyed by the offending
field (or message for request-level problems). flexErrorCode is a
stable machine-readable code, present on the errors that carry one.
statusCodeinteger
messagestring
errorsmap of string
flexErrorCodestring
The rate limit was exceeded. The Retry-After header gives the wait time in seconds.
Request template
curl -X GET 'https://api.flex.one/persons' \
-H "Authorization: Bearer $FLEX_API_KEY" \
-H 'flex-version: 2026-10-23'Response 200
{
"data": [
{
"id": "92608f75-a040-4341-a49d-f0de8daacdf1",
"organizationId": "3f8bbfa2-9257-4a7e-86d3-df1797b8e143",
"status": "active",
"givenName": "Alex",
"familyName": "Morgan",
"displayName": "Alex Morgan",
"createdAt": "2026-08-01T14:00:00.000Z",
"lastModifiedAt": "2026-08-02T15:30:00.000Z"
}
],
"metadata": {
"pageSize": 25,
"sort": "desc"
}
}