Skip to main content
GET
/
api
/
saved-items
List Saved Items
curl --request GET \
  --url https://api.example.com/api/saved-items

Authentication

Requires authentication via session cookie.

Query Parameters

ParameterTypeDefaultDescription
pageinteger1Page number
limitinteger12Items per page
content_typestringFilter by post, recipe, or collection
not_in_collectionstringSet to true to get only uncategorized items

Response

{
  "savedItems": [
    {
      "id": "uuid",
      "userId": "uuid",
      "contentType": "recipe",
      "contentId": "uuid",
      "createdAt": "2025-01-15T10:30:00Z",
      "content": {
        "title": "Classic Chrome Street",
        "coverImageUrl": "https://...",
        "author": {
          "id": "uuid",
          "username": "fujifilmfan",
          "avatarUrl": "https://..."
        }
      }
    }
  ],
  "pagination": {
    "page": 1,
    "limit": 12,
    "total": 6,
    "totalPages": 1
  }
}

Error Responses

StatusCodeDescription
401UNAUTHORIZEDNot authenticated
400VALIDATION_ERRORInvalid pagination or content_type