Skip to main content
GET
/
api
/
users
/
{id}
/
recipes
Get User Recipes
curl --request GET \
  --url https://api.example.com/api/users/{id}/recipes

Authentication

Optional. If authenticated, includes isFavorited and isReposted statuses.

Path Parameters

ParameterTypeDescription
idstringUsername or UUID

Query Parameters

ParameterTypeDefaultDescription
pageinteger1Page number
limitinteger12Items per page

Response

{
  "recipes": [
    {
      "id": "uuid",
      "title": "Classic Chrome Street",
      "description": "Muted tones for urban photography",
      "coverImageUrl": "https://...",
      "cameraModel": "X-T5",
      "filmSimulation": "Classic Chrome",
      "favoriteCount": 24,
      "commentCount": 5,
      "repostCount": 3,
      "isFavorited": false,
      "isReposted": false,
      "createdAt": "2025-01-15T10:30:00Z",
      "author": {
        "id": "uuid",
        "username": "filmshooter",
        "avatarUrl": "https://..."
      }
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 12,
    "total": 40,
    "totalPages": 4
  }
}
Resolves username to UUID automatically. Falls back to recipe_images for cover images when cover_image_url is null.