Mock Users API
Free REST API for testing user management features with full CRUD operations
Mock Users API Documentation
A free REST API for testing and prototyping user management features. Perfect for testing user management features, prototyping authentication systems, learning REST APIs, creating demo applications without backend setup, and testing API client libraries. No authentication required.
Available Endpoints
GET
/api/mock/usersGet all usersGET
/api/mock/users/:idGet a specific userPOST
/api/mock/usersCreate a new userPUT
/api/mock/users/:idUpdate a userDELETE
/api/mock/users/:idDelete a userUser Schema
{
"id": 1,
"email": "[email protected]",
"firstName": "John",
"lastName": "Doe",
"avatar": "https://api.dicebear.com/7.x/avataaars/svg?seed=John",
"createdAt": "2024-01-01T00:00:00.000Z"
}Interactive API Tester
Note: This is a stateless mock API. POST, PUT, and DELETE requests will return success responses, but no data is actually modified. All requests return the same consistent dataset for testing purposes.
Code Examples
fetch('/api/mock/users')
.then(response => response.json())
.then(data => console.log(data))