List all users

GET /users

This endpoint retrieves all the users in your team.

Responses

  • 200 application/json

    List of users in your team.

    Hide response attributes Show response attributes object
  • 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 /users
curl \
 -X GET https://api.usecollect.com/v1/users
Response examples (200)
[
  {
    "_id": "upKywNKgwyHx3hKfF",
    "role": "admin",
    "email": "johndoe@example.com",
    "status": "active",
    "lastName": "Doe",
    "firstName": "John"
  },
  {
    "_id": "ABx6DYtqExcgJ4FAX,",
    "role": "member",
    "email": "janedoe@example.com",
    "status": "active",
    "lastName": "Doe",
    "firstName": "Jane"
  },
  {
    "_id": "uSw8YyNuwhGmqEEKc",
    "role": "member",
    "email": "jimhuffman@example.com",
    "status": "active",
    "lastName": "Huffman",
    "firstName": "Jim"
  },
  {
    "_id": "RQEPygugi3Nk9Sudm",
    "role": "member",
    "email": "naomiaustin@example.com",
    "status": "active"
  }
]