API reference/Blog
List blog topics
Try itThe site's blog topics (categories), for a post's category_id.
GET
/api/v1/sites/{site_id}/post-topicsAuthentication
An API key as Authorization: Bearer or x-api-key. It needs the blog:read scope — read blog posts and topics.
blog:readRead onlyMCP tool: list_post_topics
Parameters
Named placeholders go in the path; the rest in the query string.
site_idstringPath · required- The site's id.1 to 100 characters
Response
200 with JSON on success (schema on the right). Errors use the standard envelope.
curl -X GET 'https://websites.workflowcorp.com/api/v1/sites/SITE_ID/post-topics' \
-H "Authorization: Bearer $WEBSITEBUDDY_API_KEY"{
"site_id": "SITE_ID"
}{
"type": "object",
"properties": {
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string"
},
"name": {
"type": "string"
},
"slug": {
"type": "string"
},
"posts": {
"type": "integer",
"minimum": -9007199254740991,
"maximum": 9007199254740991
}
},
"required": [
"id",
"name",
"slug",
"posts"
],
"additionalProperties": false
}
}
},
"required": [
"data"
],
"additionalProperties": false
}