Create Content Block
You can use this API to create a content block in MoEngage.
Authorizations
Your MoEngage Workspace ID (App Key). You can find this at Settings -> Account -> APIs -> Workspace ID.
Body
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.
If you are not using nested content blocks, you can pass this as an empty array: 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
Response
Success