Title: Create a content block from wordpress API
Last modified: August 24, 2016

---

# Create a content block from wordpress API

 *  Resolved [pagios](https://wordpress.org/support/users/pagios/)
 * (@pagios)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/create-a-content-block-from-wordpress-api/)
 * Hello,
 * I am using REST services to create my posts automatically via the WordPress API.
   The pages content contains blocks and i would like to create those content blocks
   from the API too instead of doing it from the admin graphical console, can you
   please advise if this is possible
 * Thanks
 * [https://wordpress.org/plugins/custom-post-widget/](https://wordpress.org/plugins/custom-post-widget/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Johan van der Wijk](https://wordpress.org/support/users/vanderwijk/)
 * (@vanderwijk)
 * [11 years, 1 month ago](https://wordpress.org/support/topic/create-a-content-block-from-wordpress-api/#post-5975001)
 * Hi Pagios,
 * As the content blocks are a regular custom post type it should be possible to
   do so. You will have to make the post type public though, see this post for more
   information: [https://wordpress.org/support/topic/edit-custom-post-content-via-xml-rpc-api?replies=3](https://wordpress.org/support/topic/edit-custom-post-content-via-xml-rpc-api?replies=3)

Viewing 1 replies (of 1 total)

The topic ‘Create a content block from wordpress API’ is closed to new replies.

 * ![](https://ps.w.org/custom-post-widget/assets/icon.svg?rev=2884166)
 * [Content Blocks (Custom Post Widget)](https://wordpress.org/plugins/custom-post-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-widget/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Johan van der Wijk](https://wordpress.org/support/users/vanderwijk/)
 * Last activity: [11 years, 1 month ago](https://wordpress.org/support/topic/create-a-content-block-from-wordpress-api/#post-5975001)
 * Status: resolved