user API Documentation
A comprehensive REST API for managing user
Introduction
APIRequest.in is a free platform designed to help students and developers practice API requests. It offers simple dummy APIs with user, movie, and product data to understand real-world API usage.
Base URL: https://apirequest.in/api/
Format: All responses are returned in JSON format.
user
GET /api/user
Retrieve a list of all users.
Query Parameters
Response (200 OK)
[
{
"age": 28,
"created_at": "2026-02-20T10:15:30Z",
"email": "rahul.verma@example.com",
"id": 1,
"is_active": true,
"name": "Rahul Verma",
"role": "admin"
}
]
POST api/user
Create a new user.
Request Body
{
"age": 28,
"created_at": "2026-02-20T10:15:30Z",
"email": "rahul.verma@example.com",
"id": 1,
"is_active": true,
"name": "Rahul Verma",
"role": "admin"
}
GET /api/user/:id
Retrieve a specific user by ID.
Response (200 OK)
{
"age": 28,
"created_at": "2026-02-20T10:15:30Z",
"email": "rahul.verma@example.com",
"id": 1,
"is_active": true,
"name": "Rahul Verma",
"role": "admin"
}
DELETE /user/:id
Delete a user by ID.