The documentation says it’s possible to include a “widget” field in the body of a POST that creates a new page (http://developers.hubspot.com/docs/methods/pages/post_pages). However, it doesn’t say anything about what the structure of the widget JSON should be. As widgets are pretty complex this makes creating a new page with a widget pretty hard.
There seem to be a lot of available widgets, some of them have a lot more parameters than others. Is it necessary to provide a value for every one of the widget parameters?