Get a specific user
This endpoint retrieves a specific user in your team. You can search by user ID or by email.
Responses
-
200 application/json
A specific user.
-
Bad Request -- Your request is invalid.
-
Unauthorized -- Your API key is wrong.
-
Forbidden -- The object requested is hidden for administrators only.
-
Not Found -- The specified object could not be found.
-
Too Many Requests -- You're requesting too many objects! Slow down!
-
Internal Server Error -- We had a problem with our server. Try again later.
-
Service Unavailable -- We're temporarily offline for maintenance. Please try again later.
GET /user
curl \
-X GET https://api.usecollect.com/v1/user
Response examples (200)
{
"_id": "upKywNKgwyHx3hKfF",
"role": "admin",
"email": "johndoe@example.com",
"status": "active",
"lastName": "Doe",
"firstName": "John"
}