Title: [Plugin: JSON API] Add custom fields to get_page
Last modified: August 19, 2016

---

# [Plugin: JSON API] Add custom fields to get_page

 *  [davidmh](https://wordpress.org/support/users/davidmh/)
 * (@davidmh)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-json-api-add-custom-fields-to-get_page/)
 * Hi everyone, I’ve noticed that there’s the possibility to retrieve the custom
   fields with this plugin, but I’m completely in the dark when it comes to include
   that feature.
 * Can some one help me out?
 * [http://wordpress.org/extend/plugins/json-api/](http://wordpress.org/extend/plugins/json-api/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [mlcy44](https://wordpress.org/support/users/mlcy44/)
 * (@mlcy44)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/plugin-json-api-add-custom-fields-to-get_page/#post-1738137)
 * i am trying to get that method to work, but it didn’t take the page slug that
   i passed in. does it work for you?
 *  Plugin Author [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * (@dphiffer)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-json-api-add-custom-fields-to-get_page/#post-1738164)
 * Hi davidmh,
 * Sorry for the slow reply. Did you look at the [API documentation](http://wordpress.org/extend/plugins/json-api/other_notes)?
 * The query parameter to include in your request is `custom_fields` which should
   be set to a comma-separated list of the fields you want to include.
 * Like this:
    [http://example.org/?json=get_page&slug=foo&custom_fields=custom1,custom2](http://example.org/?json=get_page&slug=foo&custom_fields=custom1,custom2)
 * Best,
    -Dan

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘[Plugin: JSON API] Add custom fields to get_page’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/json-api.svg)
 * [JSON API](https://wordpress.org/plugins/json-api/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/json-api/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/json-api/)
 * [Active Topics](https://wordpress.org/support/plugin/json-api/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/json-api/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/json-api/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [dphiffer](https://wordpress.org/support/users/dphiffer/)
 * Last activity: [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-json-api-add-custom-fields-to-get_page/#post-1738164)
 * Status: not resolved