/users – list

Description

Lists users for a given company.

Request

GET https://api.smartrecruiters.com/users

Path Parameters

n/a

Query Parameters

n/a

Request Body

n/a

Response Body

ListResult containing list of User objects.

Example request

curl -i -H "X-SmartToken: abc123" -X GET https://api.smartrecruiters.com/users

Example response

{
  "totalFound": 3,
  "content": [
    {
      "id": "50fe9948e4b0c509bbe863e7",
      "firstName": "John",
      "lastName": "Doe",
      "email": "john@jdoe.com",
      "role": "STANDARD"
    },
    {
      "id": "5135d8bae4b0b42dcb46ab55",
      "firstName": "Jane",
      "lastName": "Smith",
      "email": "jane@jdoe.com",
      "role": "ADMINISTRATOR"
    },
    {
      "id": "5135d8bae4b0b42dcb46ab57",
      "firstName": "Christina",
      "lastName": "Doe",
      "email": "christina@jdoe.com",
      "role": "EXTENDED"
    }
  ]
}