Contents
On this page
List Public Collections - Plugixa Recipe
GET /plugixa-recipe/v1/frontend/collections
List every active, public collection, as the front end shows them.
Public: no sign-in needed. Only collections that are active and public, without their owner. Needs Plugixa Recipe Pro with the Collections app on.
Request
GET https://your-site.example/wp-json/plugixa-recipe/v1/frontend/collections
Responses
200 OK. data is the collections.
{
"success": true,
"message": "",
"data": [
{
"id": "4",
"name": "Weekday Dinners",
"slug": "weekday-dinners",
"description": "Quick dinners for busy evenings.",
"image_id": "512",
"type": "collection",
"is_featured": "0",
"display_order": "0",
"created_at": "2026-11-12 09:30:00",
"recipe_count": 6,
"image_url": "https://your-site.example/wp-content/uploads/2026/11/weekday-dinners-300x200.jpg"
}
]
}
| Field | Type | Meaning |
|---|---|---|
data[].type |
string |
collection, cookbook, meal_plan or favorites |
data[].is_featured |
string |
1 or 0 |
data[].recipe_count |
integer |
Entries that point to a published recipe. A recipe planned on several days counts each time |
data[].image_url |
string |
Medium image, only when set |
Not paged: every matching collection comes back, by display_order, then id. No query parameters.
Errors
Plus the errors every endpoint can return.
Examples
curl -s "https://your-site.example/wp-json/plugixa-recipe/v1/frontend/collections"
<?php
$ch = curl_init('https://your-site.example/wp-json/plugixa-recipe/v1/frontend/collections');
curl_setopt_array($ch, [
CURLOPT_RETURNTRANSFER => true,
]);
$response = json_decode(curl_exec($ch), true);
curl_close($ch);
const response = await fetch('https://your-site.example/wp-json/plugixa-recipe/v1/frontend/collections');
const { data } = await response.json();
Quick Links
Share