Key concepts
A user is a person employed by an organization. Users can create expenses, approve expense reports, or administer the organization, depending on how they are set up. The same person can be a user of several organizations; each employment is a separate user with its ownid and externalSourceId.
Key properties of a user:
{organizationId} accepts the organization’s internal id or your own externalSourceId. {userId} accepts the user’s internal id or your own externalSourceId; only the users of the given organization are searched. You never need to store Findity’s ids in your system.API endpoints
All endpoints use the Admin API base URL. Examples in this guide use the stage environment — switch to the production host (https://api.findity.com/api/v1/admin) only when you’re ready to go live.
The authenticated user must be an administrator of the organization.
Required headers
Include these headers with every request:
To create, update, or delete many users in one request, see Bulk requests.
Step 1 — List users
Retrieve the users of an organization. Use this to discover existing users before creating new ones, or to verify sync state. Deleted users aren’t listed. HTTPQuery parameters
cURL
200 OK)
JSON
meta.total is the number of users of the organization across all pages and meta.count the number returned in this page. Every property is always present; a property without a value is null.
Step 2 — Create a user
Add a new user to an organization. The call never updates an existing user: if another user of the organization already has theemail, externalSourceId or employeeId, it returns 400. To change an existing user, see Step 3.
HTTP
Query parameters
Request body properties
The read-only properties
id, lastInvitationDate and dateCreated are ignored if you send them, so a user returned by the list can be posted as is. Unknown departments, dimensions, dimension values and languages, and invalid bank account numbers, IBANs and BICs are rejected with 400; they aren’t silently dropped.
Example: Create a user
cURL
201 Created)
JSON
Step 3 — Update a user
Change a user of an organization. Only the properties in the body are changed: a property that is left out keeps its value, andnull clears an optional property. The body takes the same properties as the create request, and the user is returned as the list returns it.
HTTP
cURL
200 OK)
JSON
emailandssncan’t be changed. The email address is the user’s login and the identity number identifies the person. Both are accepted when they equal the user’s current values, otherwise the call returns400 INVALID_JSON_PROPERTY_VALUE.- Person data is shared between organizations.
firstName,lastName,mobilePhone,language,bankAccountNumber,IBANandBICbelong to the person behind the user. While that person is also a (not deleted) user of another organization, these can only be sent with their current values, otherwise the call returns400 INVALID_JSON_PROPERTY_VALUEand nothing is changed. Bank details that only differ in formatting, such as spaces or dashes, count as unchanged. The properties of the employment itself, such asemployeeId,department,titleandisAdministrator, can still be changed. firstNameandlastNamecan’t be empty ornull, andlanguagecan’t benull. Leavelanguageout when the list returnsnullfor it.customDimensionPresetValuesreplaces the user’s presets. A dimension that is left out of the array loses its preset value;nullor[]removes them all.mobilePhone.nullclears the number, and the user is then returned with an empty string ("") instead ofnull. A user whose mobile number is verified keeps that number: a different number ornullis ignored and the call still returns200.externalSourceIdandemployeeIdstay unique. No other user of the organization may have the same value.- Validation. The values are checked as when a user is created. An
endDate,bankAccountNumber,IBANorBICsent back unchanged isn’t checked again;departmentandcustomDimensionPresetValuesare checked even when unchanged.
PUT. Making a user an administrator also gives them the organization administrator role.
Step 4 — Delete a user
Remove a user from an organization. HTTPcURL
204 No Content)
The response has no body.
Deleting marks the user as deleted and removes them from the list. The user is also removed from the organization’s administrators, approvers and reminder receivers, their vehicles are removed from the organization’s fleet account, and a pending invitation to the organization for their email address is withdrawn. The person behind the user keeps their users in other organizations.
403. When the organization requires a minimum number of PRO-licensed users, its last PRO users can only be deleted when no other users remain (403 USER_CAN_NOT_BE_DELETED), and in a read-only organization no user can be deleted (403 ORGANIZATION_READ_ONLY).
Administrators
A user is an administrator of the organization whenisAdministrator is true. Set it when you create the user or change it with an update. Administrators can use the Admin API for the organization, and are the only users who can read the list of users.
Approvers are assigned through the approval structure of the organization, not on the user. See Approval structures.
Department assignment
Place a user in a department by settingdepartment to the department’s id or externalSourceId:
JSON
- Call
GET /organizations/{organizationId}/departments/treeto retrieve the department tree. - Find the target department’s
idorexternalSourceIdin the response. - Send it in
departmentwhen you create or update the user. When you send both,idis used.nullon update removes the user from their department.
400 INVALID_JSON_PROPERTY_VALUE (“Department not found”); only departments of the same organization are accepted.
A changed department only changes the user’s department. Reports that have already been sent for approval keep their approvers.
Dimension presets on users
A user can have a preset value for a custom dimension. When a dimension’spresetLocation is EMPLOYEE, the preset on the user is used as the default on the user’s expenses. Each entry in customDimensionPresetValues names a dimension and the value to preset:
JSON
The response adds an
id and the presetListValueText of the chosen list value to each entry. An unknown dimension or value is rejected with 400 INVALID_JSON_PROPERTY_VALUE.
Common integration patterns
Onboarding employees from HR
Onboarding employees from HR
When onboarding new employees from your HR system:
- Call
GET /organizations/{organizationId}/departments/treeto retrieve the department structure and find the target department. - Call
POST /organizations/{organizationId}/usersfor each new employee, withemail,firstName,lastName, yourexternalSourceIdand thedepartment. - Set
customDimensionPresetValuesfor each user if your dimensions use theEMPLOYEEpreset location (for example a cost center per employee). - Send
sendInvitationMail=truewhen the user should receive an invitation email right away.
Nightly HR sync
Nightly HR sync
To keep users in sync with your HR system on a schedule:
- Read all users of the organization: call
GET /organizations/{organizationId}/userswithmax=1000and stepoffsetuntil you havemeta.totalusers. - Compare the list with your HR export, matching on
externalSourceId. - Call
POSTfor each employee that isn’t in the list,PUT /organizations/{organizationId}/users/{externalSourceId}for each employee whose data changed (send only the changed properties), andDELETEfor each user that is no longer in your HR export.
People who work for several organizations
People who work for several organizations
One person can be a user of several organizations, with one user per organization:
- Each user has its own
id,externalSourceId,employeeId,departmentandisAdministrator, and is changed through its own organization. - The name, mobile phone, language and bank details belong to the person. While the person is a user of more than one organization, an update can only send their current values for these properties (see Step 3).
- When your client application shares person data across organizations, creating a user whose
emailbelongs to a person employed in another organization is rejected with400 EMPLOYEE_ALREADY_EXISTS.
Setting up approval chains
Setting up approval chains
Approvers are assigned in the approval structure of the organization, not on the user:
- Activate approval and create the approval sections with the approval endpoints (
POST /organizations/{organizationId}/approvalandPOST /organizations/{organizationId}/approval/sections). - Add each approver to a section item with
POST /organizations/{organizationId}/approval/sections/{sectionId}/approvers, with alevel(0is the first approver).
Error handling
The endpoints return a JSON envelope on errors. Match oncode: the description of some errors comes in the language of the authenticated user.
JSON
Next steps
Approval structures
Define approval workflows and routing rules.
Dimensions
Configure dimension fields and manage value lists.
Bulk requests
Create, update, or delete many users in one request.

