Get all posts that have a certain tag

Using v2 of the api. I’m able to successfully call the /posts/ and /tags/ route with an http get request but I am wondering if there is any way to format the request to only return posts that contain a specific tag.

You’re looking for filtering:

Don’t forget to URL-encode your filter, the libraries provided by Ghost do that by default :)

To add to @vikaspotluri123 answer. Here’s a good explanation on how to use filters with SDK’s for Content & Admin APIs - https://docs.ghost.org/api/javascript/filtering/

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.