This API creates a content block in MoEngage.
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
For more information on authentication and getting your credentials, refer here.
This is the Workspace ID of your MoEngage account that must be passed with the request. You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app 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