Content API
Tags
List a site's tags with post counts, and fetch one tag's details.
List tags
GET
/sites/{siteId}/tagsReturns every tag on the site. postCount is the number of published posts using it.
curl https://api.quillhive.com/api/public/v1/sites/YOUR_SITE_ID/tags{
"tags": [
{
"id": "clx123...",
"name": "Engineering",
"slug": "engineering",
"description": "How we build things",
"postCount": 12
}
]
}Get a tag
GET
/sites/{siteId}/tags/{slug}Returns one tag with its feature image and SEO fields, for a tag page.
curl https://api.quillhive.com/api/public/v1/sites/YOUR_SITE_ID/tags/engineering{
"tag": {
"id": "clx123...",
"name": "Engineering",
"slug": "engineering",
"description": "How we build things",
"featureImage": "https://...",
"metaTitle": "Engineering | Field Notes",
"metaDescription": "How the Field Notes team builds things"
}
}A missing tag returns 404 with { "tag": null }.
For the tag's posts, call List posts with ?tag=engineering.