Users API

Endpoints for listing and managing users with full CRUD operations.

List Users

Get a paginated list of users with optional search and filtering.

GET https://responserift.dev/api/users?limit=10&offset=0&q=anna

Query Parameters

  • limit - Number of results (default: 100)
  • offset - Number of results to skip (default: 0)
  • q - Search in id, name, username, and email fields

Response

{
  "total": 100,
  "limit": 10,
  "offset": 0,
  "results": [
    {
      "id": 1,
      "name": "Leanne Graham",
      "username": "Bret",
      "email": "Sincere@april.biz",
      "avatar": "https://picsum.photos/seed/1/200/200",
      "phone": "1-770-736-8031 x56442",
      "website": "hildegard.org",
      "address": {
        "street": "Kulas Light",
        "city": "Gwenborough",
        "zipcode": "92998-3874"
      }
    }
  ]
}

Get User

Retrieve a specific user by ID.

GET https://responserift.dev/api/users/1

Create User

Create a new user. All fields are required.

POST https://responserift.dev/api/users
Content-Type: application/json

{
  "name": "Jane Doe",
  "email": "jane@example.com",
  "username": "jane_doe"
}

Required fields: name, email, username

Update User

Update an existing user. Only provided fields will be updated.

PUT https://responserift.dev/api/users/1
Content-Type: application/json

{ "name": "Jane Updated" }

Delete User

Remove a user from the system.

DELETE https://responserift.dev/api/users/1

Warning: Deletion is permanent and will reset on server restart.

ResponseRift JSON API • Production-Ready, Zero-Config