Get person

GET
/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

personId

string (uuid)

required

The ID of the person to retrieve.

Headers

flex-version

string

pattern ^\d{4}-\d{2}-\d{2}$

Responses

200

OK

application/json

A person's name, status, organization, and record timestamps. Does not include contact details, date of birth, tax ID, or identity documents.

id

string (uuid)

required

The person's ID within their organization. Use this as cardholderId when creating a card for this person.

organizationId

string (uuid)

required

The ID of the organization this person record belongs to.

status

string

required

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.

activeinactiveremoved
givenName

string

The person's given name, when on file.

familyName

string

The person's family name, when on file.

displayName

string

The name to display, when on file. If omitted, use the available givenName and familyName.

createdAt

string (date-time)

required

When this person record was created.

lastModifiedAt

string (date-time)

required

When this person record was last updated.

400

The person ID is not a valid UUID.

application/json

Error 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.

statusCode

integer

required
message

string

required
errors

map of string

flexErrorCode

string

401

Missing or invalid authentication.

application/json

Error 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.

statusCode

integer

required
message

string

required
errors

map of string

flexErrorCode

string

403

You have no person read access or lack the organization or person identity required to authorize the request.

application/json

Error 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.

statusCode

integer

required
message

string

required
errors

map of string

flexErrorCode

string

404

No person with this ID is visible within your permitted scope. Authorization failures return 403 before this lookup.

429

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"
}