/users/{id}

Returns a User object with the given id.

Authentication

AuthorizationBearer

Token-based authentication with required prefix “Bearer”

Path parameters

idstringRequiredformat: "uuid"

Headers

X-Account-TokenstringRequired
Token identifying the end user.

Query parameters

expandenumOptional
Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
Allowed values:
include_remote_databooleanOptional

Whether to include the original data Merge fetched from the third-party to produce these models.

include_shell_databooleanOptional

Whether to include shell records. Shell records are empty records (they may contain some metadata but all other fields are null).

Response

idstring or nullRead-onlyformat: "uuid"
remote_idstring or null

The third-party API ID of the matching object.

created_atdatetime or nullRead-only
The datetime that this object was created by Merge.
modified_atdatetime or nullRead-only
The datetime that this object was modified by Merge.
usernamestring or null<=254 characters
Username or handle
display_namestring or null<=254 characters
Full name or display name
first_namestring or null<=254 characters
The user's first name
last_namestring or null<=254 characters
The user's last name
is_botboolean or null
Returns true if the user is a bot
groupslist of strings or null
avatarstring or nullformat: "uri"<=2000 characters
The user's avatar image
remote_created_atdatetime or null
When the third party's user was created.
remote_updated_atdatetime or null
When the third party's user was updated.
remote_was_deletedboolean or nullRead-only
Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. [Learn more](https://docs.merge.dev/integrations/hris/supported-features/).
field_mappingsobject or nullRead-only
remote_datalist of objects or nullRead-only
<MergeSupportedFieldsByIntegrationWidget requestType="GET" data="H4sIAAAAAAAAA31T70/bMBD9VyZ/rPJjpXSISNNU2g6oFJeVMA1VKLrY19StHae2QyGI/31KWqBsiI/37t27O7/zE2HgMNfmkUSELcERjyjNUZKI3Fg0xCNQCgoK9/n0/oh4xFZlqY1D/lOg5PbC4IJEJFRocvSrQiwE8rChh6JwmBtwQhc2fC3zF20d8YgUxRr5gDFdFe4zoR3Rhx3zn9CGUthm9hKsdUujq3w5w02F9lPNZh6JCgsH0ufgIDyo981O4COsmZyjRId8BA5G6JA1K+57LZ0rbRSGS5Rl0PYNON6HWIRgnGASbdjvnR6dnPb9vUrb/Ueay+/dzmqT6eykk+ZMplB14oQ90ORyS1f5MR0eP9D6pk/rdU1X66+dNIdOnMT9aXLbm44G3ekHhPT625/T32ejswntsHrco6vbLU1YN07YOqsve5Nztp1c/Hqg9e1RPLrp0WTcn5zr7nQ4s/FwpuNBEBCPHDpJovnTIbA/kFgwo61euC8JgrLviy4V5HjwODs/oBR+WWVSsMD2AlBQ6wK2NmBahQq5gPBVNG1F0+tNBQaDsshfTBC6eHWARGRMLwZ0OB69P4fBPQgJmUQSOVPhfzdMojnhwpYSHtOiWccjC2Gsewlyo6uyXcmmmW5uTcJbVqHK0DRpg0o7TJlBcMjT9kftscbj91Faglu+QYITj1QWTat61+CbShjkV2BAoWs6RPO757vnv75uX9W4AwAA" />