Skip to main content
Version: v3

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 optionsv3
locationId 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 optionsALLDRAFTPUBLISHEDSCHEDULEDSCHEDULE_FAILEDARCHIVEDDELETED
blogId stringrequired

Identifier of the blog site whose posts are being listed

application/json

Successful response

Schema
    blogsobject[]required

    Blog posts matching the query

    countnumberrequired

    Total number of blog posts matching the query, ignoring limit/offset