Title: REST API Filter meta query
Last modified: March 20, 2017

---

# REST API Filter meta query

 *  [chsuit00](https://wordpress.org/support/users/chsuit00/)
 * (@chsuit00)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/rest-api-filter-meta-query/)
 * Hello,
 * i want to filter the events by an specific team id. Ist that possible?
 * I tried the following, but this will give me the full results:
    [http://test.wasserball-kirchheim.de/wp-json/sportspress/v2/events?filter%5Bmeta_key%5D=sp_team&filter%5Bmeta_value%5D=4422](http://test.wasserball-kirchheim.de/wp-json/sportspress/v2/events?filter%5Bmeta_key%5D=sp_team&filter%5Bmeta_value%5D=4422)
 * Thanks
 * Kind Regards

Viewing 7 replies - 1 through 7 (of 7 total)

 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/rest-api-filter-meta-query/#post-8941020)
 * Hi!
 * Thanks for reaching out!
 * I’m sending this to our dev team so they can check.
 * Thanks!
 * Kind Regards,
    -Roch
 *  Thread Starter [chsuit00](https://wordpress.org/support/users/chsuit00/)
 * (@chsuit00)
 * [9 years ago](https://wordpress.org/support/topic/rest-api-filter-meta-query/#post-9049322)
 * Hello,
 * do you have any news about hte problem?
 * thanks
 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [9 years ago](https://wordpress.org/support/topic/rest-api-filter-meta-query/#post-9050098)
 * Hi!
 * I’ve sent this to them but got no reply yet, maybe this got lost in the shuffle.
 * But as far as I know this isn’t possible as the team is a custom field inside
   of the event itself. So you’d need to add all the events for a team in another
   table or cpt for that
 * Kind Regards,
    -Roch
 *  Thread Starter [chsuit00](https://wordpress.org/support/users/chsuit00/)
 * (@chsuit00)
 * [9 years ago](https://wordpress.org/support/topic/rest-api-filter-meta-query/#post-9064873)
 * I have seen this topic with an solution: [https://wordpress.org/support/topic/rest-api-filter-events-by-team/](https://wordpress.org/support/topic/rest-api-filter-events-by-team/)
   
   But this is not working for me. Did i make an mistake or is some configuration
   missing?
 * Thanks
 * Kind Regards
 *  Plugin Contributor [Savvas](https://wordpress.org/support/users/savvasha/)
 * (@savvasha)
 * [9 years ago](https://wordpress.org/support/topic/rest-api-filter-meta-query/#post-9065668)
 * In WordPress 4.7 the filter argument for any post endpoint was removed.
 * What is the alternative?
 *  [Roch](https://wordpress.org/support/users/rochesterj/)
 * (@rochesterj)
 * [9 years ago](https://wordpress.org/support/topic/rest-api-filter-meta-query/#post-9066615)
 * Hi guys!
 * I’ve just sent this to them, we should get a reply soon.
 * Thanks!
 * Kind Regards,
    -Roch
 *  Thread Starter [chsuit00](https://wordpress.org/support/users/chsuit00/)
 * (@chsuit00)
 * [9 years ago](https://wordpress.org/support/topic/rest-api-filter-meta-query/#post-9088315)
 * [@savvasha](https://wordpress.org/support/users/savvasha/)
    You can use the Plugin“
   WP REST API filter parameter”. This will adding the filter parameter back in 
   the API

Viewing 7 replies - 1 through 7 (of 7 total)

The topic ‘REST API Filter meta query’ is closed to new replies.

 * ![](https://ps.w.org/sportspress/assets/icon-256x256.png?rev=1252005)
 * [SportsPress - Sports Club & League Manager](https://wordpress.org/plugins/sportspress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/sportspress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/sportspress/)
 * [Active Topics](https://wordpress.org/support/plugin/sportspress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/sportspress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/sportspress/reviews/)

 * 7 replies
 * 3 participants
 * Last reply from: [chsuit00](https://wordpress.org/support/users/chsuit00/)
 * Last activity: [9 years ago](https://wordpress.org/support/topic/rest-api-filter-meta-query/#post-9088315)
 * Status: not resolved