Title: Using custom endpoint for Rest API
Last modified: June 23, 2020

---

# Using custom endpoint for Rest API

 *  [dewita97](https://wordpress.org/support/users/dewita97/)
 * (@dewita97)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/using-custom-endpoint-for-rest-api/)
 * Hi, thanks for your plugin that seems very useful !
 * Currently, I’m trying to build a custom endpoint for my custom post types but
   I’m struggling quite a bit with your plugin. I would like, after using WP_Query,
   to iterate through the posts to add your _yoast\_meta_ field.
 * It works well when I use the usual _/wp/v2/_ with my custom post types but is
   it possible for custom endpoints ?
    -  This topic was modified 5 years, 11 months ago by [dewita97](https://wordpress.org/support/users/dewita97/).

The topic ‘Using custom endpoint for Rest API’ is closed to new replies.

 * ![](https://ps.w.org/wp-rest-yoast-meta/assets/icon.svg?rev=2045273)
 * [WP REST Yoast Meta](https://wordpress.org/plugins/wp-rest-yoast-meta/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-rest-yoast-meta/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-rest-yoast-meta/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-rest-yoast-meta/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-rest-yoast-meta/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-rest-yoast-meta/reviews/)

## Tags

 * [custom endpoints](https://wordpress.org/support/topic-tag/custom-endpoints/)

 * 0 replies
 * 1 participant
 * Last reply from: [dewita97](https://wordpress.org/support/users/dewita97/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/using-custom-endpoint-for-rest-api/)
 * Status: not a support question