Overview
Content blocks allow marketers to reuse the same content across multiple campaigns. Instead of recreating standard elements for every message, you can create a block once—such as a header, footer, or a designed call-to-action button—and reference it everywhere. This API enables you to programmatically fetch, create, and update these content blocks on your MoEngage dashboard.Content blocks support nested structures. You can include existing blocks within new ones to create complex, modular templates. Read more about Content blocks in MoEngage.
Content Block API Endpoints
The Content Block API consists of the following operations:Supported Content Types
| Content Type | Description |
|---|---|
| HTML | Rich text and code-based content, ideal for Email campaigns. |
| TEXT | Plain text content, ideal for SMS or Push notifications. |
Notes
Authentication:All requests must include the
MOE-APPKEY in the header. You can find your Workspace ID (App Key) in the MoEngage Dashboard under Settings -> Account -> APIs.Teams & Permissions:If your account has Teams enabled, passing team_ids is mandatory during creation to ensure the block is accessible to the correct users.