Want to get posts by tag name with cURL

"https://demo.ghost.io/ghost/api/v2/content/posts/key=123&include=tags,authors" 
 we get all posts .
 I want to get posts by a specific tag name for example curl 
"https://demo.ghost.io/ghost/api/v2/content/posts/?key=123&tag=getting-started"

but it not work . please any one can help me ?

There is no tag query parameter. You need to use the filter parameter:

1 Like

Yes. it worked… thanks

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