> ## Documentation Index
> Fetch the complete documentation index at: https://moengage-sdk-docs.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Content Blocks Overview

> Fetch, create, and manage reusable content blocks programmatically using the MoEngage Content Block API.

## 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.

<Info>
  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](https://help.moengage.com/hc/en-us/articles/4414768369172-Content-blocks-).
</Info>

## Content Block API Endpoints

The Content Block API consists of the following operations:

* [Create Content Block](https://moengage.mintlify.app/api/content-blocks/create-content-block)
* [Update Content Block](https://moengage.mintlify.app/api/content-blocks/update-content-block)
* [Get Specific Content Blocks](https://moengage.mintlify.app/api/content-blocks/get-specific-content-blocks)
* [Search Content Blocks](https://moengage.mintlify.app/api/content-blocks/search-content-blocks)

## 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

<Note>
  **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.
</Note>

## Postman Collections

We have made it easy for you to test the APIs. Click [here](https://www.postman.com/moengage-dev/workspace/api-docs/folder/3182294-c560e43e-4e5e-4d1c-a100-f5f5070780b1) to view our official Postman collections.
