The documentation for the posts
endpoint does not indicate that meta_key
or meta_value
are accepted parameters.
You will likely have most success by defining your own endpoint to accept those parameters.
This question may be helpful:
REST API and filtering by meta value
Related Posts:
- How to use WP-REST API to login user and get user data for Android app?
- Getting user meta data from WP REST API
- WP REST API returns blank response if post is too long
- Increase per_page limit in REST API
- How to feed a HTML5’s EventSource with a REST API custom endpoint?
- Retrieve CSS and JS From the REST API
- How to Authenticate WP REST API with JWT Authentication using Fetch API
- WordPress 4.7 REST API endpoints
- REST API multiple media upload
- Can’t send emails through REST API
- 401 Error when trying to make a REST API call to site
- Does jQuery/Ajax send cookies when using the rest API or do I need to somehow add them?
- Can we access the REST request parameters from within the permission_callback to enforce a 401 by returning false?
- Upload image to wordpress using REST API
- Can I define multiple callback methods depending on the call method?
- Filter post content in REST API
- WP Rest API convert permalink to post ID for fetch
- How to filter users on custom meta fields in WP JSON v2?
- How can I return an image from a custom REST API endpoint?
- How add meta fields to a user with the wp-api?
- WordPress Rest API response
- Check Password Strength using WordPress API
- Send request to WordPress REST API
- Request to REST endpoint works fine in browser and curl, but fails from WP_REST_Request
- WP REST api.wordpress.org discovery
- Rest API in integration tests – filtering by slug not working?
- Why does AWStats show /wp-json* as Viewed URLs
- How send get request to external api with username and password
- permission_callback has no effect
- How do you format the set_body option for WP_Rest_Request?
- Updating link on page via REST api
- How to order WordPress Rest API data
- WP Rest API – How to convert embedded to json object in Java [closed]
- WP REST API – Nonce passes wp_verify_nonce even after logout
- WP REST API plugin 500 errors?
- How can I create ‘future’ and ‘past’ parameter for restAPI by filtering the CPT custom date field by greater than / less than current datetime?
- wp-cli command throws error : “SSL routines:tls_process_server_certificate:certificate verify failed” while querying https website
- is it possible to filter a rest api endpoint by using a registered rest field?
- Setting maintenance mode via REST API
- How to receive data by http POST request
- rendering view in backbone
- WP API querying a custom post type and a custom field
- Custom endpoint to get all custom taxonomy terms
- Update a post based on results from GET request to another server
- Notify Jenkins of new post on WordPress
- Curl requests sent two times
- Check authentication credentials using WP REST API
- How to get author meta into post endpoint in api v2
- WordPress REST API V2: how to get list of all posts?
- WordPress REST API calls that depend on the WordPress User
- Register GET REST API route with multiple parameters
- How to get data from /wp-json/wp/v2/users/me
- Making internal rest requests non-blocking?
- How to include file attachment in ajax submission via the rest_api?
- WordPress HTTP API NTLM Authentication
- How To Bulk Import wp_postmeta records in an API call?
- Rest API in self-hosted page doesn’t work [closed]
- Update meta_value in wp_postmeta using API
- WordPress custom REST API: How to validate input data by many context?
- Authenticate rest API except for contact-form-7
- How to access wordpress menu & submenu item through the REST API?
- WordPress plugin with CORS
- WordPress Rest API- Allow creation of users with identical email addresses when only using rest api
- Inspecting WP_Rest_Request
- WordPress API fields modification
- “Error: cURL error 60: SSL certificate problem: certificate has expired” when create product in WooCommerce via REST API
- How to use WordPress REST api to login a user?
- wp_insert_post function and automatic trashing posts once is no longer in API
- How to deliver webp format of images to WP REST API
- register/login api
- WP Rest API in Android studio does not show Images
- Need wp rest api for featured video post
- WordPress improve REST API – SHORTINIT not work
- Update membership level via API request if using simple membership plugin
- REST api header link href
- WordPress & React Native
- Rest API encoding of double quotes
- view counter update in WordPress REST api HTTP get
- update meta data (like view counter) by rest-api
- How Can I keep password protected posts in the json requests but not on frontend queries?
- Trouble Commenting via the WP REST API using nonces
- WordPress REST API not displaying all information
- Create a new page on front page for logged in user
- In Rest API 2.0 is it possible to get some meta fields but not others?
- Update post / page using API + python
- Is my WordPress site handing out sensitive information/misconfigured?
- Delete row from table using custom endpoint via API
- Fetch post by author slug
- Cant POST with REST API on WordPress
- get the current logged in user using WooCommerce API in React App [closed]
- Subscriber role cann’t add comment meta using REST API
- Problem with custom WordPress Rest API search route with query parameters
- WordPress REST API function not calling from external site
- How to limit what fields are returned through the WP API Backbone JS client
- All wp-json routes suddenly return 404
- Get rendered HTML single view from post template
- WordPress – Contact Form 7 – Get uploaded file issue
- WordPress just for Backend
- How can I make wp-json authentication work over https for development only?
- WordPress Rest Api search limited to 10 results