I am able to query that the tag exists using: .com/wp-json/wp/v2/tags?slug= and in the response I see a link to: .com/tag/ and when I go to that link I see all of the posts with that tag. However when I attempt to query all of the posts with the tags using .com/wp-json/wp/v2/posts?tags=19021 where 19021 is the tag id I got from the original response, I get an empty array.

It seems like tags are not automatically query-able? Is there a way I can make the tags available through the API.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.