A detailed reference for your API. Use a clear structure to make it easy for developers to find what they need.
Returns a list of users.
limit
(optional, integer): The number of users to return.offset
(optional, integer): The offset for pagination.curl -X GET "https://api.yourdomain.com/api/v1/users?limit=10"
Creates a new user.
{
"name": "John Doe",
"email": "john.doe@example.com"
}
curl -X POST "https://api.yourdomain.com/api/v1/users" -d '{"name": "John Doe", "email": "john.doe@example.com"}'