Skip to main content

Get All Tags

Retrieve a list of all unique tags from published articles.

Endpoint

curl -X GET 'https://api.ceboelha.com/insights/news/tags' \
  -H 'Content-Type: application/json'

Response

success
boolean
required
Indicates if the request was successful
data
array
required
Array of unique tag strings from all published articles

Response Example

{
  "success": true,
  "data": [
    "low-fodmap",
    "breakfast",
    "IBS",
    "digestive-health",
    "recipes",
    "meal-prep",
    "gut-health",
    "elimination-phase",
    "reintroduction"
  ]
}

Retrieve featured articles for homepage display.

Endpoint

curl -X GET 'https://api.ceboelha.com/insights/news/featured?limit=3' \
  -H 'Content-Type: application/json'

Query Parameters

limit
integer
default:"3"
Maximum number of featured articles to return

Response

success
boolean
required
Indicates if the request was successful
data
array
required
Array of featured article objects (same structure as List Articles)

Response Example

{
  "success": true,
  "data": [
    {
      "id": 1,
      "title": "Low-FODMAP Breakfast Smoothie Bowl",
      "excerpt": "Start your day with this delicious and gut-friendly smoothie bowl",
      "image_url": "https://example.com/images/smoothie-bowl.jpg",
      "category": "recipe",
      "tags": ["breakfast", "low-fodmap", "smoothie"],
      "featured": true,
      "views": 1234,
      "likes": 89
    }
  ]
}

Get Recipes

Retrieve only recipe articles.

Endpoint

curl -X GET 'https://api.ceboelha.com/insights/news/recipes?page=1&limit=10' \
  -H 'Content-Type: application/json'

Query Parameters

page
integer
default:"1"
Page number for pagination
limit
integer
default:"10"
Number of recipes per page
tag
string
Filter by tag (e.g., “breakfast”, “dinner”, “low-fodmap”)
Search query to filter recipes

Response

Same structure as List Articles, but only returns articles where category is "recipe".

Available Categories

The following categories are available for filtering:
CategoryDescription
recipeFODMAP-friendly recipes
articleEducational articles about IBS and FODMAP
tipQuick tips and tricks for managing IBS
wellnessGeneral wellness and lifestyle content
newsLatest news and research in digestive health

Notes

  • All endpoints return only published articles
  • No authentication is required for these endpoints
  • Tags are case-sensitive
  • Featured articles are determined by the isFeatured flag set by admins

Build docs developers (and LLMs) love