Skip to content

Get user by ID​

GET
/api/v1/users/{id}

Gets a user when provided with an ID. When invoked by an admin, the full user object is returned, otherwise the public user only. When the user is yourself, the full user object is returned regardless of your permissions.

Parameters​

Path Parameters

id*

ID

Typeinteger
Required
Example1234567890

Responses​

OK
application/json
JSON
{
"display_name": "Coral Fischer",
"email": "coral.fischer@example.com",
"id": 1234567890,
"role": "annotator"
}

Samples​