Title: How to post meta fields data while creating a post using rest api ?
Last modified: December 26, 2017

---

# How to post meta fields data while creating a post using rest api ?

 *  [bhargavg2009](https://wordpress.org/support/users/bhargavg2009/)
 * (@bhargavg2009)
 * [8 years, 5 months ago](https://wordpress.org/support/topic/how-to-post-meta-fields-data-while-creating-a-post-using-rest-api/)
 * I am using WP rest api code to create a post. In this request i need to also 
   pass CFS meta fields data, How can i send this ?
 * Currently i am using create post JSON Array will be like below.
 * Array
    ( [title] => Pooja Kumar [status] => publish [cfs_fields] => Array ( [
   display_in_todays_pic] => 1 [default_image] => 1616 ) )
 * But it is not working.

The topic ‘How to post meta fields data while creating a post using rest api ?’ 
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-field-suite.svg)
 * [Custom Field Suite](https://wordpress.org/plugins/custom-field-suite/)
 * [Support Threads](https://wordpress.org/support/plugin/custom-field-suite/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-field-suite/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-field-suite/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-field-suite/reviews/)

## Tags

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

 * 0 replies
 * 1 participant
 * Last reply from: [bhargavg2009](https://wordpress.org/support/users/bhargavg2009/)
 * Last activity: [8 years, 5 months ago](https://wordpress.org/support/topic/how-to-post-meta-fields-data-while-creating-a-post-using-rest-api/)
 * Status: not resolved