How do I describe the parameters when creating the Marketing Email with the Marketing Email API

I understand the the parameters needed to create a marketing email has been defined in this overview.

However, I don’t know how to define certain parameters such as “widgets” and “styles”.
Furthermore, is there a way to use the API to create add images and charts to the email body?
I basically want to use the API to automate the current features hubspot provides in the content and design tab within their console. i.e. this

Thank you.

Hi, @MoonLearns :waving_hand: Is your question about something you found in the documentation, and you cannot make it work as expected? Or is it that you cannot find it documented, and you are looking for a workaround? Hey, @Anton, do you have any thoughts here?

Best,

Jaycee

My question is related towards the vagueness within the documentation. For example, if I want to include widgets within my marketing email, the Marketing Email API’s documentation does not specify how or what values within the dictionary the “widgets” can accept.

And this goes for all of the other parameters as well. The only workaround I’ve found to understanding these values is to manually create an Email with the necessary layout/widgets/components on Hubspot’s Marketing Email console and retrieve its information via the GET HTTP Method in order to understand how each parameter in the JSON is defined.