curl --request GET \
--url https://api.getfernand.com/snippets/categories \
--header 'X-API-Key: <api-key>'[
{
"id": 5,
"name": "Customer Support",
"sort": 1,
"parent_id": 2
}
]curl --request GET \
--url https://api.getfernand.com/snippets/categories \
--header 'X-API-Key: <api-key>'[
{
"id": 5,
"name": "Customer Support",
"sort": 1,
"parent_id": 2
}
]Retrieves all snippet categories, ordered by their sort position. Categories can be nested with parent-child relationships.Documentation Index
Fetch the complete documentation index at: https://developers.getfernand.com/llms.txt
Use this file to discover all available pages before exploring further.
Categories retrieved successfully.
Unique identifier for the snippet category
5
Name of the category
250"Customer Support"
Sort order within the parent category (1-based)
1
ID of the parent category (null for root-level categories)
2
Was this page helpful?