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
  • 400

    Bad Request -- Your request is invalid.

  • 401

    Unauthorized -- Your API key is wrong.

  • 403

    Forbidden -- The object requested is hidden for administrators only.

  • 404

    Not Found -- The specified object could not be found.

  • 429

    Too Many Requests -- You're requesting too many objects! Slow down!

  • 500

    Internal Server Error -- We had a problem with our server. Try again later.

  • 503

    Service Unavailable -- We're temporarily offline for maintenance. Please try again later.

GET /users
curl \
 -X GET https://api.usecollect.com/v1/users \
 --user "username:password"
Response examples (200)
[
  {
    "_id": "upKywNKgwyHx3hKfF",
    "role": "admin",
    "status": "active",
    "email": "johndoe@example.com",
    "firstName": "John",
    "lastName": "Doe"
  },
  {
    "_id": "ABx6DYtqExcgJ4FAX,",
    "role": "member",
    "status": "active",
    "email": "janedoe@example.com",
    "firstName": "Jane",
    "lastName": "Doe"
  },
  {
    "_id": "uSw8YyNuwhGmqEEKc",
    "role": "member",
    "status": "active",
    "email": "jimhuffman@example.com",
    "firstName": "Jim",
    "lastName": "Huffman"
  },
  {
    "_id": "RQEPygugi3Nk9Sudm",
    "role": "member",
    "status": "active",
    "email": "naomiaustin@example.com"
  }
]