Title: Get navigation menu as post type
Last modified: August 30, 2016

---

# Get navigation menu as post type

 *  Resolved [Murhaf Sousli](https://wordpress.org/support/users/markor91/)
 * (@markor91)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/get-navigation-menu-as-post-type/)
 * I’m trying to get the navigation menu as JSON data.
 * From WordPress codex: navigation menu is treated as a post type.
 * From **Rest API Doc**, this is how we get posts of a type:
 *  `GET http://demo.wp-api.org/wp-json/wp/v2/types/<type>`
 * I tried to get it like so:
 * `URL : http://localhost/wptest/wp-json/wp/v2/types/nav_menu_item`
 * I received 403 error.
 * `{"code":"rest_cannot_read_type","message":"Cannot view type.","data":{"status":
   403}}`
 * the server understood my request but it refused to give the data.
 * **Q: How can I fix this?**
 * [https://wordpress.org/plugins/rest-api/](https://wordpress.org/plugins/rest-api/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * (@danielbachhuber)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/get-navigation-menu-as-post-type/#post-6772460)
 * Nav menus aren’t yet supported in the REST API

Viewing 1 replies (of 1 total)

The topic ‘Get navigation menu as post type’ is closed to new replies.

 * ![](https://ps.w.org/rest-api/assets/icon-256x256.png?rev=1346297)
 * [WordPress REST API (Version 2)](https://wordpress.org/plugins/rest-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/rest-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/rest-api/)
 * [Active Topics](https://wordpress.org/support/plugin/rest-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/rest-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/rest-api/reviews/)

## Tags

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

 * 1 reply
 * 2 participants
 * Last reply from: [Daniel Bachhuber](https://wordpress.org/support/users/danielbachhuber/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/get-navigation-menu-as-post-type/#post-6772460)
 * Status: resolved