API Reference
Welcome to the SuperDocs Example API reference. This documentation is automatically generated from an OpenAPI specification and features interactive playgrounds for testing endpoints.
Base URL
https://jsonplaceholder.typicode.comAvailable Endpoints
Users
Manage user accounts - create, read, update, and delete users.
Posts
Blog post management - create and retrieve posts.
Comments
Comment system - retrieve comments for posts.
Authentication
Some endpoints require authentication. Use a Bearer token in the Authorization header:
curl -X POST https://jsonplaceholder.typicode.com/posts \ -H "Authorization: Bearer your-token-here" \ -H "Content-Type: application/json" \ -d '{"title": "My Post", "body": "Content", "userId": 1}'Quick Links
Users
| Method | Endpoint | Description |
|---|---|---|
GET | /users | List all users |
POST | /users | Create a new user |
GET | /users/{id} | Get user by ID |
PUT | /users/{id} | Update user |
DELETE | /users/{id} | Delete user |
Posts
| Method | Endpoint | Description |
|---|---|---|
GET | /posts | List all posts |
POST | /posts | Create a new post |
GET | /posts/{id} | Get post by ID |
Comments
| Method | Endpoint | Description |
|---|---|---|
GET | /posts/{id}/comments | Get comments for a post |