Get Blog posts by Blog ID
GET/blogs/posts/all
The "Get Blog posts by Blog ID" API returns the blog posts for a given blog site. Use searchTerm to search across post title, description, url slug and category name.
Request
Version stringrequired
API Version
Available options
v3locationId stringrequired
Sub-account (location) identifier whose posts are being listed
limit numberrequired
Maximum number of records to return (0-50)
offset numberrequired
Number of records to skip for pagination
searchTerm string
Free-text search across post title, description, url slug and category name
status string
Filter by publication status
Available options
ALLDRAFTPUBLISHEDSCHEDULEDSCHEDULE_FAILEDARCHIVEDDELETEDblogId stringrequired
Identifier of the blog site whose posts are being listed
Successful response
- application/json
- Schema
- Example (auto)
Schema
blogsobject[]required
Blog posts matching the query
countnumberrequired
Total number of blog posts matching the query, ignoring limit/offset
{
"blogs": [
{
"_id": "66c381b38be80858b9af62b6",
"title": "How to grow your agency",
"status": "PUBLISHED"
}
],
"count": 42
}