Update Content Block
This API updates the content blocks in MoEngage.
Authorizations
Authentication is done via Basic Auth. This requires a base64-encoded string of your credentials in the format 'username:password'.
- Username: Use your MoEngage workspace ID (also known as the App ID). You can find it in the MoEngage dashboard at Settings > Account > APIs > Workspace ID (earlier app id).
- Password: Use your API Key, which you can find within the Campaign report/Business events/Custom templates/Catalog API/Inform Report tile.
For more information on authentication and getting your credentials, refer here.
Headers
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).
Body
The updated details for the content block.
ID of the content block that you want to update
Name of the content block
Status of the content block - DRAFT/ACTIVE
ACTIVE, DRAFT 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 : []
Description of the content block
Tags associated to the content block
Images used in content block
Response
Success