SEO Fields API Support is a lightweight plugin that enhances the WordPress REST API by making Yoast SEO fields – such as SEO titles and meta descriptions -available for programmatic updates. This plugin is perfect for developers and site owners who need to automate or manage SEO metadata efficiently via the REST API.
_yoast_wpseo_title and _yoast_wpseo_metadesc fields in the REST API.After activation, you can update SEO fields using the WordPress REST API. Below is an example:
PUT request to /wp/v2/posts/<post-id> with this JSON body: