You can use this API to create a content block in MoEngage.
Your MoEngage Workspace ID (App Key). You can find this at Settings -> Account -> APIs -> Workspace ID.
The details of the content block to be created.
Name of the content block
Label to uniquely identify your content block
Content of the content block
Type of the content block - HTML/ Plain Text
HTML, TEXT Email id of the user who is creating the content block
In case, you are using nested content blocks, provide the names of the other content blocks used in this content block.
content_block_used : []
Shows the status of the content block
ACTIVE, DRAFT Description of the content block
Tags associated with the content block
Images used in content block
Success