This API creates a content block in MoEngage.
Documentation Index
Fetch the complete documentation index at: https://moengage.com/docs/llms.txt
Use this file to discover all available pages before exploring further.
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.
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
Success. The response body is empty. To retrieve the ID of the newly created content block, use the Search Content Blocks API.