Create Bricks Pages Programmatically via REST API

Hi All,

I’ve used an approach in the past where I build out a wordpress page (acting as a template) and then will insert content into various sections of the page via the WordPress API. Has anyone done something similar with Bricks? I’ve built out the page contents and what not, but am struggling to figure out a way to pass that into a new bricks page that is created via the API as the rendered content / bricks content doesn’t get passed back when using the WordPress API.

Any help would be greatly appreciated as the documentation seems to be mostly around internal WP PHP functions rather than the WP API / Bricks API.

2 Likes