Get person
/persons/{personId}Retrieve a person's name, status, and organization by ID. You must have permission to read that person.
For public API access, requires persons:read in the organization. See
Authentication for permissions and
Errors for error responses.
Path parameters
personIdstring (uuid)
The ID of the person to retrieve.
Headers
flex-versionstring
pattern ^\d{4}-\d{2}-\d{2}$
Responses
OK
application/jsonA person's name, status, organization, and record timestamps. Does not include contact details, date of birth, tax ID, or identity documents.
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.
The person ID is not a valid UUID.
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 have no person read access or lack the organization or person identity required to authorize the request.
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
No person with this ID is visible within your permitted scope. Authorization failures return 403 before this lookup.
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/<personId>' \
-H "Authorization: Bearer $FLEX_API_KEY" \
-H 'flex-version: 2026-10-23'Response 200
{
"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"
}