> For the complete documentation index, see [llms.txt](https://docs.joinflo.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.joinflo.com/api-reference/user-api/models.md).

# Models

## The LawSchoolPageResponse object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"LawSchoolPageResponse":{"type":"object","properties":{"data":{"type":"array","description":"This page of law schools, in alphabetical order ignoring case.","items":{"$ref":"#/components/schemas/LawSchoolResponse"}},"nextCursor":{"type":["string","null"],"description":"Pass this back as the `after` parameter to fetch the next page. Null when this is the last page, which is how you know to stop. Treat it as opaque - its contents are not part of this contract and may change."}},"required":["data","nextCursor"]},"LawSchoolResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Stable identifier for this law school. It does not change when the law school is renamed."},"name":{"type":"string","description":"The law school's name, exactly as it is accepted for a person, including spelling, punctuation and spacing."}},"required":["id","name"]}}}}
```

## The LawSchoolResponse object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"LawSchoolResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Stable identifier for this law school. It does not change when the law school is renamed."},"name":{"type":"string","description":"The law school's name, exactly as it is accepted for a person, including spelling, punctuation and spacing."}},"required":["id","name"]}}}}
```

## The UserCustomFieldOptionResponse object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"UserCustomFieldOptionResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Stable identifier for this option. It does not change when the option is relabelled or reordered, so a value already recorded against it survives both."},"label":{"type":"string","description":"The option's text as your administrators see it in Flo. Two options on one field never share a label, but a label is not stable - relabel the option and this changes while the id does not."}},"required":["id","label"]}}}}
```

## The UserCustomFieldResponse object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"UserCustomFieldResponse":{"type":"object","properties":{"currency":{"type":"string","description":"ISO 4217 alpha-3 code for the currency this field's amounts are denominated in. Present only on a MONETARY field, where an amount cannot be written without it; on every other type the key is omitted.","enum":["USD","CAD"]},"description":{"type":"string","description":"Helper text your administrators wrote to explain the field. The key is omitted when none was set."},"id":{"type":"string","format":"uuid","description":"Stable identifier for this field. It does not change when the field is renamed or reordered, so it is what to store against your own mapping and what to send when writing values to this field."},"name":{"type":"string","description":"The field's name as your administrators see it in Flo. Unique within your organization, ignoring case, but not stable - rename the field and this changes while the id does not."},"options":{"type":"array","description":"The options a SINGLE_SELECT or MULTI_SELECT field accepts, in the order your administrators arranged them. Empty for every other type.","items":{"$ref":"#/components/schemas/UserCustomFieldOptionResponse"}},"type":{"type":"string","description":"How a value for this field must be encoded. DATE is a calendar date with no time of day; DATE_TIME is a specific moment on a specific date. SINGLE_SELECT and MULTI_SELECT are written as ids drawn from the field's options list. MONETARY is an amount in the field's currency.","enum":["TEXT","NUMBER","MONETARY","DATE","DATE_TIME","SINGLE_SELECT","MULTI_SELECT","BOOLEAN"]}},"required":["id","name","options","type"]},"UserCustomFieldOptionResponse":{"type":"object","properties":{"id":{"type":"string","format":"uuid","description":"Stable identifier for this option. It does not change when the option is relabelled or reordered, so a value already recorded against it survives both."},"label":{"type":"string","description":"The option's text as your administrators see it in Flo. Two options on one field never share a label, but a label is not stable - relabel the option and this changes while the id does not."}},"required":["id","label"]}}}}
```

## The UserCustomFieldValueDateTimeRequest object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"UserCustomFieldValueDateTimeRequest":{"type":"object","properties":{"dateTime":{"type":"string","description":"The local date and time to record, with no offset and no trailing Z, as YYYY-MM-DDTHH:MM:SS. This is the wall clock your administrators see, not an instant in UTC."},"timeZone":{"type":"string","description":"The IANA time zone the date and time above is read in."}},"required":["dateTime","timeZone"]}}}}
```

## The UserCustomFieldValueErrorResponse object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"UserCustomFieldValueErrorResponse":{"type":"object","properties":{"code":{"type":"string","description":"Why the value was rejected. USER_NOT_FOUND: no person at your organization has that id, or the entry named no person at all. EMPLOYMENT_RECORD_NOT_MATCHED: no employment record could be matched to this person, so a value cannot be recorded against them; reconcile them by email against your own records rather than retrying indefinitely. DUPLICATE_USER: the person appears earlier in the same request, or somebody earlier in it shares the employment record this value would be recorded against. INVALID_VALUE: the value does not fit the field's type or its limits. OPTION_NOT_FOUND: an option id does not belong to this field.","enum":["USER_NOT_FOUND","EMPLOYMENT_RECORD_NOT_MATCHED","DUPLICATE_USER","INVALID_VALUE","OPTION_NOT_FOUND"]},"index":{"type":"integer","format":"int32","description":"Position of the rejected value in the `values` list you sent, counting from zero."},"message":{"type":"string","description":"A sentence explaining the rejection, for a person reading a log. Match on `code` rather than on this text."},"userId":{"type":"string","format":"uuid","description":"The person the rejected value named. The key is omitted when the entry carried no person id at all."}},"required":["code","index","message"]}}}}
```

## The UserCustomFieldValueRequest object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"UserCustomFieldValueRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","description":"The `id` of the person to write this value for, as returned by `GET /users`."},"value":{"description":"The value to record. Its shape is decided by the field's `type`, as returned by `GET /users/custom-fields`: TEXT takes a string; NUMBER and MONETARY take a number; BOOLEAN takes true or false; DATE takes a string such as 2026-03-14; DATE_TIME takes an object holding a local `dateTime` and an IANA `timeZone`; SINGLE_SELECT takes one option id as a bare string, not a list; MULTI_SELECT takes a list of option ids. Send null, for any type, to clear the value; the key must be present on every entry, and one that leaves it out is refused rather than read as a clear. A string that is empty or only spaces clears a TEXT field and an empty list clears a MULTI_SELECT, each exactly as null does. Text is trimmed before it is stored. A TEXT value may be at most 255 characters, and a NUMBER or MONETARY value may carry at most 4 digits after the decimal point and 15 before it; a value past any of those is reported as that entry's own error.","oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}},{"$ref":"#/components/schemas/UserCustomFieldValueDateTimeRequest"},{"type":"null"}]}},"required":["value"]},"UserCustomFieldValueDateTimeRequest":{"type":"object","properties":{"dateTime":{"type":"string","description":"The local date and time to record, with no offset and no trailing Z, as YYYY-MM-DDTHH:MM:SS. This is the wall clock your administrators see, not an instant in UTC."},"timeZone":{"type":"string","description":"The IANA time zone the date and time above is read in."}},"required":["dateTime","timeZone"]}}}}
```

## The UserCustomFieldValuesRequest object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"UserCustomFieldValuesRequest":{"type":"object","properties":{"fieldId":{"type":"string","format":"uuid","description":"The `id` of the custom field to write, as returned by `GET /users/custom-fields`. One request writes one field."},"values":{"type":"array","description":"The values to record, at most 25000 of them. A person may appear only once; a repeat is reported against the later entry and that entry is not applied. Two people your organization records against one employment record count as a repeat as well.","items":{"$ref":"#/components/schemas/UserCustomFieldValueRequest"},"maxItems":25000,"minItems":0}},"required":["fieldId","values"]},"UserCustomFieldValueRequest":{"type":"object","properties":{"userId":{"type":"string","format":"uuid","description":"The `id` of the person to write this value for, as returned by `GET /users`."},"value":{"description":"The value to record. Its shape is decided by the field's `type`, as returned by `GET /users/custom-fields`: TEXT takes a string; NUMBER and MONETARY take a number; BOOLEAN takes true or false; DATE takes a string such as 2026-03-14; DATE_TIME takes an object holding a local `dateTime` and an IANA `timeZone`; SINGLE_SELECT takes one option id as a bare string, not a list; MULTI_SELECT takes a list of option ids. Send null, for any type, to clear the value; the key must be present on every entry, and one that leaves it out is refused rather than read as a clear. A string that is empty or only spaces clears a TEXT field and an empty list clears a MULTI_SELECT, each exactly as null does. Text is trimmed before it is stored. A TEXT value may be at most 255 characters, and a NUMBER or MONETARY value may carry at most 4 digits after the decimal point and 15 before it; a value past any of those is reported as that entry's own error.","oneOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"array","items":{"type":"string"}},{"$ref":"#/components/schemas/UserCustomFieldValueDateTimeRequest"},{"type":"null"}]}},"required":["value"]},"UserCustomFieldValueDateTimeRequest":{"type":"object","properties":{"dateTime":{"type":"string","description":"The local date and time to record, with no offset and no trailing Z, as YYYY-MM-DDTHH:MM:SS. This is the wall clock your administrators see, not an instant in UTC."},"timeZone":{"type":"string","description":"The IANA time zone the date and time above is read in."}},"required":["dateTime","timeZone"]}}}}
```

## The UserCustomFieldValuesResponse object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"UserCustomFieldValuesResponse":{"type":"object","properties":{"dryRun":{"type":"boolean","description":"True when the request was a dry run, so nothing was recorded. It echoes the `dry_run` parameter you sent."},"errors":{"type":"array","description":"One entry per value that was rejected, in the order the values were sent. Empty when every value was accepted.","items":{"$ref":"#/components/schemas/UserCustomFieldValueErrorResponse"}},"summary":{"$ref":"#/components/schemas/UserCustomFieldValuesSummaryResponse","description":"How the request as a whole came out."}},"required":["dryRun","errors","summary"]},"UserCustomFieldValueErrorResponse":{"type":"object","properties":{"code":{"type":"string","description":"Why the value was rejected. USER_NOT_FOUND: no person at your organization has that id, or the entry named no person at all. EMPLOYMENT_RECORD_NOT_MATCHED: no employment record could be matched to this person, so a value cannot be recorded against them; reconcile them by email against your own records rather than retrying indefinitely. DUPLICATE_USER: the person appears earlier in the same request, or somebody earlier in it shares the employment record this value would be recorded against. INVALID_VALUE: the value does not fit the field's type or its limits. OPTION_NOT_FOUND: an option id does not belong to this field.","enum":["USER_NOT_FOUND","EMPLOYMENT_RECORD_NOT_MATCHED","DUPLICATE_USER","INVALID_VALUE","OPTION_NOT_FOUND"]},"index":{"type":"integer","format":"int32","description":"Position of the rejected value in the `values` list you sent, counting from zero."},"message":{"type":"string","description":"A sentence explaining the rejection, for a person reading a log. Match on `code` rather than on this text."},"userId":{"type":"string","format":"uuid","description":"The person the rejected value named. The key is omitted when the entry carried no person id at all."}},"required":["code","index","message"]},"UserCustomFieldValuesSummaryResponse":{"type":"object","properties":{"failed":{"type":"integer","format":"int32","description":"How many values were rejected, which is the length of `errors`. Always present, including when it is zero - check it rather than the status code, because a request that rejects every value still succeeds with 200."},"submitted":{"type":"integer","format":"int32","description":"How many values the request carried."},"written":{"type":"integer","format":"int32","description":"How many values were recorded. On a dry run this is how many would have been recorded."}},"required":["failed","submitted","written"]}}}}
```

## The UserCustomFieldValuesSummaryResponse object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"UserCustomFieldValuesSummaryResponse":{"type":"object","properties":{"failed":{"type":"integer","format":"int32","description":"How many values were rejected, which is the length of `errors`. Always present, including when it is zero - check it rather than the status code, because a request that rejects every value still succeeds with 200."},"submitted":{"type":"integer","format":"int32","description":"How many values the request carried."},"written":{"type":"integer","format":"int32","description":"How many values were recorded. On a dry run this is how many would have been recorded."}},"required":["failed","submitted","written"]}}}}
```

## The UserListOptionPageResponse object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"UserListOptionPageResponse":{"type":"object","properties":{"data":{"type":"array","description":"This page of values, in alphabetical order ignoring case.","items":{"$ref":"#/components/schemas/UserListOptionResponse"}},"nextCursor":{"type":["string","null"],"description":"Pass this back as the `after` parameter to fetch the next page. Null when this is the last page, which is how you know to stop. Treat it as opaque - its contents are not part of this contract and may change."}},"required":["data","nextCursor"]},"UserListOptionResponse":{"type":"object","properties":{"name":{"type":"string","description":"The value exactly as it is accepted for a person, including spelling, punctuation and spacing."}},"required":["name"]}}}}
```

## The UserListOptionResponse object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"UserListOptionResponse":{"type":"object","properties":{"name":{"type":"string","description":"The value exactly as it is accepted for a person, including spelling, punctuation and spacing."}},"required":["name"]}}}}
```

## The UserPageResponse object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"UserPageResponse":{"type":"object","properties":{"data":{"type":"array","description":"This page of people, ordered so that paging through the whole list returns each person exactly once.","items":{"$ref":"#/components/schemas/UserResponse"}},"nextCursor":{"type":["string","null"],"description":"Pass this back as the `after` parameter to fetch the next page. Null when this is the last page, which is how you know to stop. Treat it as opaque - its contents are not part of this contract and may change."}},"required":["data","nextCursor"]},"UserResponse":{"type":"object","properties":{"email":{"type":"string","description":"The person's work email at your organization. Useful for reconciling against your own records, but it is neither guaranteed unique within your organization nor guaranteed present - match on `id` wherever you can. The key is omitted when no email is recorded for them."},"firstName":{"type":"string","description":"The person's first name as your administrators see it in Flo. The key is omitted when their record carries no first name."},"id":{"type":"string","format":"uuid","description":"Stable identifier for this person. It does not change when they are renamed or when their email changes, so it is what to store against your own records and what to send when writing custom field values for them."},"lastName":{"type":"string","description":"The person's last name as your administrators see it in Flo. The key is omitted when their record carries no last name."}},"required":["id"]}}}}
```

## The UserResponse object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"UserResponse":{"type":"object","properties":{"email":{"type":"string","description":"The person's work email at your organization. Useful for reconciling against your own records, but it is neither guaranteed unique within your organization nor guaranteed present - match on `id` wherever you can. The key is omitted when no email is recorded for them."},"firstName":{"type":"string","description":"The person's first name as your administrators see it in Flo. The key is omitted when their record carries no first name."},"id":{"type":"string","format":"uuid","description":"Stable identifier for this person. It does not change when they are renamed or when their email changes, so it is what to store against your own records and what to send when writing custom field values for them."},"lastName":{"type":"string","description":"The person's last name as your administrators see it in Flo. The key is omitted when their record carries no last name."}},"required":["id"]}}}}
```

## The UsersApiFieldErrorResponse object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"UsersApiFieldErrorResponse":{"type":"object","properties":{"code":{"type":"string","description":"Why this field failed, from the same list as the response's own `code`, plus REQUIRED (the field is missing or null) and TOO_MANY_VALUES (`values` holds more than 25000 entries). New codes may be added."},"field":{"type":"string","description":"The field or parameter that failed. A body field is named by its path, such as `fieldId`, `values` or `values[2].userId`; a query or path parameter by its name, such as `page_size`."},"message":{"type":"string","description":"A sentence explaining the failure, for a person reading a log. Match on `code` rather than on this text."}},"required":["code","field","message"]}}}}
```

## The UsersApiProblemResponse object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"UsersApiProblemResponse":{"type":"object","description":"An error, as an RFC 9457 Problem Details body sent with `Content-Type: application/problem+json`. Branch on `code`; `detail` is for people and may change.","properties":{"code":{"type":"string","description":"A stable identifier for the problem, listed on each response of each operation. New codes may be added, so keep a default branch."},"detail":{"type":"string","description":"A sentence explaining this occurrence, for a person reading a log."},"errors":{"type":"array","description":"One entry per field or parameter that failed. Present only when the problem is tied to particular fields.","items":{"$ref":"#/components/schemas/UsersApiFieldErrorResponse"}},"status":{"type":"integer","format":"int32","description":"The HTTP status code, repeated from the response."},"title":{"type":"string","description":"The HTTP reason phrase for `status`."},"type":{"type":"string","description":"Always `about:blank`: the status and `code` identify the problem."}},"required":["code","detail","status","title","type"]},"UsersApiFieldErrorResponse":{"type":"object","properties":{"code":{"type":"string","description":"Why this field failed, from the same list as the response's own `code`, plus REQUIRED (the field is missing or null) and TOO_MANY_VALUES (`values` holds more than 25000 entries). New codes may be added."},"field":{"type":"string","description":"The field or parameter that failed. A body field is named by its path, such as `fieldId`, `values` or `values[2].userId`; a query or path parameter by its name, such as `page_size`."},"message":{"type":"string","description":"A sentence explaining the failure, for a person reading a log. Match on `code` rather than on this text."}},"required":["code","field","message"]}}}}
```

## The MemberCsvImportResult object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"MemberCsvImportResult":{"type":"object","properties":{"createdCount":{"type":"integer","format":"int32","description":"Number of new members created by this import."},"updatedCount":{"type":"integer","format":"int32","description":"Number of existing members updated by this import."},"absentMembers":{"type":"array","description":"Every non-admin member who already has access to this product but did\nnot appear in the uploaded CSV. An import never removes anyone, so use\nthis list to decide who to pass to `DELETE /members/bulk-remove` if the\nupload is meant to be authoritative. Empty when the CSV covered\neveryone.\n","items":{"$ref":"#/components/schemas/AbsentMember"}}}},"AbsentMember":{"type":"object","properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"}}}}}}
```

## The AbsentMember object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"AbsentMember":{"type":"object","properties":{"email":{"type":"string"},"firstName":{"type":"string"},"lastName":{"type":"string"}}}}}}
```

## The MembersCsvValidationResult object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"MembersCsvValidationResult":{"type":"object","properties":{"fileError":{"$ref":"#/components/schemas/FileError"},"rowColumnErrors":{"type":"array","items":{"$ref":"#/components/schemas/RowColumnError"}}}},"FileError":{"type":["object","null"],"properties":{"message":{"type":"string"},"type":{"type":"string","enum":["EMPTY_FILE","INVALID_FILE_FORMAT","MISSING_REQUIRED_COLUMNS","UNEXPECTED_COLUMNS","FILE_SIZE_EXCEEDED"]}}},"RowColumnError":{"type":"object","properties":{"columnName":{"type":"string"},"message":{"type":"string"},"rowNumber":{"type":"integer","format":"int32"},"type":{"type":"string","enum":["EMPTY_REQUIRED_VALUE","INVALID_EMAIL","INVALID_FORMAT","INVALID_URL","INVALID_YEAR","INVALID_DATE_FORMAT","DUPLICATE_VALUE","EXISTING_USER_CONFLICT","INVALID_LIST_SELECTION","INVALID_SSO_ID","ROW_VALUE_CONFLICT","UNKNOWN"]},"value":{"type":"string"}}}}}}
```

## The FileError object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"FileError":{"type":["object","null"],"properties":{"message":{"type":"string"},"type":{"type":"string","enum":["EMPTY_FILE","INVALID_FILE_FORMAT","MISSING_REQUIRED_COLUMNS","UNEXPECTED_COLUMNS","FILE_SIZE_EXCEEDED"]}}}}}}
```

## The RowColumnError object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"RowColumnError":{"type":"object","properties":{"columnName":{"type":"string"},"message":{"type":"string"},"rowNumber":{"type":"integer","format":"int32"},"type":{"type":"string","enum":["EMPTY_REQUIRED_VALUE","INVALID_EMAIL","INVALID_FORMAT","INVALID_URL","INVALID_YEAR","INVALID_DATE_FORMAT","DUPLICATE_VALUE","EXISTING_USER_CONFLICT","INVALID_LIST_SELECTION","INVALID_SSO_ID","ROW_VALUE_CONFLICT","UNKNOWN"]},"value":{"type":"string"}}}}}}
```

## The Error object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"Error":{"type":"object","properties":{"error":{"type":"string"}}}}}}
```

## The BulkRemoveMembersRequest object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"BulkRemoveMembersRequest":{"type":"object","properties":{"emails":{"type":"array","description":"Email addresses of members whose product access should be removed.","items":{"type":"string"}},"product":{"type":"string","description":"The product to remove member access from.","enum":["RECRUIT","PERFORM","UNI"]}}}}}}
```

## The BulkRemoveMembersResult object

```json
{"openapi":"3.1.0","info":{"title":"Flo Web API - Users","version":"1.8.0"},"components":{"schemas":{"BulkRemoveMembersResult":{"type":"object","properties":{"removedCount":{"type":"integer","format":"int32","description":"Number of members whose product access was removed. Skipped admin members and emails matching no member are not counted."}}}}}}
```
