users retrieve

GET {{baseUrl}}/users/:id

Returns an User object with the given id.

Request Params

KeyDatatypeRequiredDescription
expandstringWhich relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
include_remote_databooleanWhether to include the original data Merge fetched from the third-party to produce these models.

HEADERS

KeyDatatypeRequiredDescription
X-Account-Tokenstring(Required) Token identifying the end user.
Acceptstring

RESPONSES

status: OK

{"id":"17a54124-287f-494d-965e-3c5b330c9a68","remote_id":"19202938","name":"Gil Feig","email_address":"gil@merge.dev","is_active":true,"role":"0958cbc6-6040-430a-848e-aafacbadf4ae","teams":["28b54125-287f-494d-965e-3c5b330c9a68","17a54124-287f-494d-965e-3c5b330c9a68"]}