Title: REST API Support
Last modified: March 23, 2017

---

# REST API Support

 *  [shshaw](https://wordpress.org/support/users/shshaw/)
 * (@shshaw)
 * [9 years, 1 month ago](https://wordpress.org/support/topic/rest-api-support-2/)
 * An option to have the CPT-onomy show up in the REST API would be superb. Just
   need to add `'show_in_rest' => true` to the $cpt_onomy_args.
    Documentation here:
   [https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-rest-api-support-for-custom-content-types/#registering-a-custom-taxonomy-with-rest-api-support](https://developer.wordpress.org/rest-api/extending-the-rest-api/adding-rest-api-support-for-custom-content-types/#registering-a-custom-taxonomy-with-rest-api-support)
 * I manually added that, but I’m only getting `null` values in the REST API. This
   is potentially related to [https://wordpress.org/support/topic/php-warning-no-property-of-non-object/](https://wordpress.org/support/topic/php-warning-no-property-of-non-object/)

The topic ‘REST API Support’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/cpt-onomies_f2f2f2.svg)
 * [CPT-onomies: Using Custom Post Types as Taxonomies](https://wordpress.org/plugins/cpt-onomies/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cpt-onomies/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cpt-onomies/)
 * [Active Topics](https://wordpress.org/support/plugin/cpt-onomies/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cpt-onomies/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cpt-onomies/reviews/)

## Tags

 * [feature](https://wordpress.org/support/topic-tag/feature/)
 * [json](https://wordpress.org/support/topic-tag/json/)
 * [rest](https://wordpress.org/support/topic-tag/rest/)

 * 0 replies
 * 1 participant
 * Last reply from: [shshaw](https://wordpress.org/support/users/shshaw/)
 * Last activity: [9 years, 1 month ago](https://wordpress.org/support/topic/rest-api-support-2/)
 * Status: not resolved