API Reference & Mock Sandbox
Welcome to the Acme Fake API. You can use this sandbox environment to test requests, view response structures, and prototype frontend logic without hitting a real production server.
Base URL:
https://api.mock.acme.internal/v1
Interactive API Console
Request Headers
{
"Authorization": "Bearer mock_token_98234",
"Content-Type": "application/json"
}
Payload Preview
// No payload for GET requests
Response Output
200 OK
{
"status": "success",
"code": 200,
"data": [
{ "id": 1, "name": "Jane Doe", "role": "Admin" },
{ "id": 2, "name": "John Smith", "role": "Developer" }
]
}
GET
/v1/users
Retrieves a paginated list of system users. Supports sorting and field filtering.
Response Example (200 OK)
{
"page": 1,
"per_page": 10,
"total": 2,
"data": [
{
"id": "usr_991823",
"name": "Jane Doe",
"email": "jane@example.com",
"created_at": "2026-03-01T10:00:00Z"
}
]
}
POST
/v1/users
Creates a new user record within the mock database.
Request Body Parameters
| Field | Type | Description |
|---|---|---|
| name | String | Full name of the user (Required). |
| String | Unique valid email address (Required). |