Examples

$ curl -i \
  -H "Accept: application/json; version=1" \
  -H "Authorization: Token eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjQyLCJpYXQiOjE0NjM2OTQ4MjN9.k48v-R-un93KdIXqp9Zi12JOGJCu8uibtrWjscFCTqc" \
  "https://api.record360.com/api/users?after_id=41&limit=2"

HTTP/1.1 200 OK
Content-Type: application/json; charset=utf-8
Cache-Control: max-age=0, private, must-revalidate

{
  "users": [
    {
      "id": "42",
      "username": "[email protected]",
      "first_name": "Some",
      "last_name": "User",
      "phone_number": "366.555.1570 x78744",
      "external_id": "s_user42",
      "location": { "id": 89, "name": "Main Office" },
      "created_at": "2016-05-23T22:16:43.000Z",
      "updated_at": "2016-05-23T22:16:43.000Z"
    },
    {
      "id": "43",
      "username": "[email protected]",
      ...
    }
    ...
  ],
  "links": {
    "prev": "https://api.record360.com/api/users?before_id=42&limit=2",
    "next": "https://api.record360.com/api/users?after_id=43&limit=2"
  }
}

Params

Param name Description
before_id
optional

Return Users before the specified ID

Validations:

  • Must be a String

after_id
optional

Return Users after the specified ID

Validations:

  • Must be a String

limit
optional

Limit the number of Users to return (max: 50)

Validations:

  • Must be a number.