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

# MoEngage

> How to set up the MoEngage connector, plus the actions that are available.

<div className="connector-page-header">
  <img src="https://stackone-logos.com/api/moengage/filled/svg" alt="MoEngage" className="connector-page-icon" />

  <div className="connector-page-changelog">
    <div className="connector-page-version"><span className="connector-page-tag-preview connector-page-stage-tag">Preview</span><span>v1.2.0</span></div>
    <div><a href="/connectors/moengage/changelog">See changelog</a></div>
  </div>

  <div className="connector-page-header-meta">
    <div className="connector-page-subtitle"><a href="#actions">41 actions</a> · 1 auth method</div>

    <div className="connector-page-category-tags">
      <span className="connector-page-category-tag">Marketing</span>
    </div>
  </div>
</div>

## Getting Started

<Steps>
  <Step title="Create or Select a Project">
    Set up a new project or select an existing one. See [Organizations & Projects](/gateway/concepts/organizations-and-projects).
  </Step>

  <Step title="Configure the Connector">
    Enable the connector and set up a Connector Profile in your project. See [Setup Connector Profile](/gateway/quickstart#setup-connector-profile).

    <Columns cols={2}>
      <Card title="Connector Profile · Basic Auth (Workspace ID + API Key)" href="/connectors/moengage/guides/connector-profile/basic-auth-workspace-id-api-key" icon="https://stackone-logos.com/api/moengage/filled/svg" horizontal>
        You need a MoEngage workspace with admin access to the API Key Dashboard. Generate a multi-permission API key with acces...
      </Card>
    </Columns>
  </Step>

  <Step title="Link an Account">
    Link an account [from the dashboard](/connect/managing-connectors/linking-accounts#link-from-the-dashboard) (or via [StackOne Hub](/embed/account-linking/overview)).

    See the guide for the authentication type chosen in the Connector Profile:

    <Columns cols={2}>
      <Card title="Link Account · Basic Auth (Workspace ID + API Key)" href="/connectors/moengage/guides/link-account/basic-auth-workspace-id-api-key" icon="https://stackone-logos.com/api/moengage/filled/svg" horizontal />
    </Columns>
  </Step>

  <Step title="Use Actions">
    Connect an AI platform to the linked account's actions. See [AI Platforms](/connect/ai-platforms/overview).

    Other ways to call actions are listed in [Protocols & SDKs](/connect/protocols-and-sdks).
  </Step>
</Steps>

## Actions

<div className="connector-meta-library-section">
  <div className="connector-actions-controls not-prose" data-connector-actions-controls>
    <div className="connector-actions-controls__row">
      <input type="search" className="connector-actions-search" data-connector-actions-search placeholder="Search actions" aria-label="Search actions" />
    </div>
  </div>

  <div className="meta-library-count" data-connector-actions-count>41 actions</div>

  <div className="not-prose meta-library-table-container" data-connector-actions-table>
    <div className="connector-meta-library-grid">
      <div className="connector-meta-library-row">
        <div className="meta-library-grid-header-cell">Action</div>
        <div className="meta-library-grid-header-cell">Description</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_track_user" data-action-label="Track User" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Track User</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_track_user" aria-label="Copy moengage_track_user"><code className="connector-page-code">moengage\_track\_user</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Track user</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_merge_user" data-action-label="Merge User" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Merge User</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_merge_user" aria-label="Copy moengage_merge_user"><code className="connector-page-code">moengage\_merge\_user</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Merge user</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_delete_user_s2s" data-action-label="Delete User (S2S)" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Delete User (S2S)</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_delete_user_s2s" aria-label="Copy moengage_delete_user_s2s"><code className="connector-page-code">moengage\_delete\_user\_s2s</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Delete user (S2S)</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_export_user_s2s" data-action-label="Export User (S2S)" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Export User (S2S)</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_export_user_s2s" aria-label="Copy moengage_export_user_s2s"><code className="connector-page-code">moengage\_export\_user\_s2s</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Export user (S2S)</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_create_event" data-action-label="Create Event" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Create Event</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_create_event" aria-label="Copy moengage_create_event"><code className="connector-page-code">moengage\_create\_event</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create event</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_bulk_import" data-action-label="Bulk / Batch Import Users + Events" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Bulk / Batch Import Users + Events</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_bulk_import" aria-label="Copy moengage_bulk_import"><code className="connector-page-code">moengage\_bulk\_import</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Bulk import</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_create_business_event" data-action-label="Create Business Event" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Create Business Event</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_create_business_event" aria-label="Copy moengage_create_business_event"><code className="connector-page-code">moengage\_create\_business\_event</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create business event</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_trigger_business_event" data-action-label="Trigger Business Event" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Trigger Business Event</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_trigger_business_event" aria-label="Copy moengage_trigger_business_event"><code className="connector-page-code">moengage\_trigger\_business\_event</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Trigger business event</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_create_campaign" data-action-label="Create / Send Campaign (asap, Scheduled, Weekly, Event-triggered, Business-event, Geofence, Device, Push-personalised)" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Create / Send Campaign (asap, Scheduled, Weekly, Event-triggered, Business-event, Geofence, Device, Push-personalised)</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_create_campaign" aria-label="Copy moengage_create_campaign"><code className="connector-page-code">moengage\_create\_campaign</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create or send any MoEngage campaign — push, email, SMS, in-app, web-push — at any delivery mode</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_search_campaigns" data-action-label="Search Campaigns" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Search Campaigns</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_search_campaigns" aria-label="Copy moengage_search_campaigns"><code className="connector-page-code">moengage\_search\_campaigns</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Search campaigns</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_update_campaign" data-action-label="Update Campaign" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Update Campaign</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_update_campaign" aria-label="Copy moengage_update_campaign"><code className="connector-page-code">moengage\_update\_campaign</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Update a campaign</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_get_campaign_meta" data-action-label="Get Campaign Meta" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Campaign Meta</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_get_campaign_meta" aria-label="Copy moengage_get_campaign_meta"><code className="connector-page-code">moengage\_get\_campaign\_meta</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Get paginated campaign metadata. Filter by id, channel, status, name, tags or date ranges via campaign\_fields.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_create_catalog" data-action-label="Create Catalog" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Create Catalog</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_create_catalog" aria-label="Copy moengage_create_catalog"><code className="connector-page-code">moengage\_create\_catalog</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create a new catalog in MoEngage</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_add_catalog_attributes" data-action-label="Add Catalog Attributes" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Add Catalog Attributes</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_add_catalog_attributes" aria-label="Copy moengage_add_catalog_attributes"><code className="connector-page-code">moengage\_add\_catalog\_attributes</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Add new attribute definitions to an existing catalog's schema.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_ingest_catalog_items" data-action-label="Ingest Catalog Items" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Ingest Catalog Items</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_ingest_catalog_items" aria-label="Copy moengage_ingest_catalog_items"><code className="connector-page-code">moengage\_ingest\_catalog\_items</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Bulk-ingest items into a catalog.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_update_catalog_items" data-action-label="Update Catalog Items" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Update Catalog Items</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_update_catalog_items" aria-label="Copy moengage_update_catalog_items"><code className="connector-page-code">moengage\_update\_catalog\_items</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Update attributes of existing catalog items.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_delete_catalog_items" data-action-label="Delete Catalog Items (bulk)" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Delete Catalog Items (bulk)</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_delete_catalog_items" aria-label="Copy moengage_delete_catalog_items"><code className="connector-page-code">moengage\_delete\_catalog\_items</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Delete items from a catalog in bulk.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_search_catalog_items" data-action-label="Search Catalog Items" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Search Catalog Items</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_search_catalog_items" aria-label="Copy moengage_search_catalog_items"><code className="connector-page-code">moengage\_search\_catalog\_items</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Fetch catalog items by id.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_create_content_block" data-action-label="Create Content Block" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Create Content Block</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_create_content_block" aria-label="Copy moengage_create_content_block"><code className="connector-page-code">moengage\_create\_content\_block</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create a new content block in MoEngage</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_update_content_block" data-action-label="Update Content Block" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Update Content Block</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_update_content_block" aria-label="Copy moengage_update_content_block"><code className="connector-page-code">moengage\_update\_content\_block</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Update an existing content block in MoEngage</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_search_content_blocks" data-action-label="Search / List Content Blocks" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Search / List Content Blocks</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_search_content_blocks" aria-label="Copy moengage_search_content_blocks"><code className="connector-page-code">moengage\_search\_content\_blocks</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Search content blocks in the workspace; returns content block IDs needed for update\_content\_block.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_get_content_blocks_by_ids" data-action-label="Get Specific Content Blocks By ID" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Specific Content Blocks By ID</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_get_content_blocks_by_ids" aria-label="Copy moengage_get_content_blocks_by_ids"><code className="connector-page-code">moengage\_get\_content\_blocks\_by\_ids</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Fetch one or more content blocks by their IDs, including raw content.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_create_file_segment" data-action-label="Create File / CSV-Upload Segment" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Create File / CSV-Upload Segment</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_create_file_segment" aria-label="Copy moengage_create_file_segment"><code className="connector-page-code">moengage\_create\_file\_segment</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create a file-based custom segment from a public CSV URL</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_create_filter_segment" data-action-label="Create Filter Segment" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Create Filter Segment</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_create_filter_segment" aria-label="Copy moengage_create_filter_segment"><code className="connector-page-code">moengage\_create\_filter\_segment</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create a filter/rule-based custom segment</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_update_filter_segment" data-action-label="Update / Modify Filter Segment (Mutates)" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Update / Modify Filter Segment (Mutates)</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_update_filter_segment" aria-label="Copy moengage_update_filter_segment"><code className="connector-page-code">moengage\_update\_filter\_segment</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Update an existing filter-based custom segment</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_get_custom_segment_by_id" data-action-label="Get Custom Segment By ID" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Custom Segment By ID</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_get_custom_segment_by_id" aria-label="Copy moengage_get_custom_segment_by_id"><code className="connector-page-code">moengage\_get\_custom\_segment\_by\_id</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve a custom segment by its ID</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_add_users_to_file_segment" data-action-label="Add Users To File Segment (CSV)" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Add Users To File Segment (CSV)</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_add_users_to_file_segment" aria-label="Copy moengage_add_users_to_file_segment"><code className="connector-page-code">moengage\_add\_users\_to\_file\_segment</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Add users from a CSV file to an existing file/CSV-uploaded segment.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_remove_users_from_file_segment" data-action-label="Remove Users From File Segment (CSV)" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Remove Users From File Segment (CSV)</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_remove_users_from_file_segment" aria-label="Copy moengage_remove_users_from_file_segment"><code className="connector-page-code">moengage\_remove\_users\_from\_file\_segment</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Remove users (listed in a CSV) from an existing file/CSV-uploaded segment.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_list_custom_segments" data-action-label="List Custom Segments" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>List Custom Segments</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_list_custom_segments" aria-label="Copy moengage_list_custom_segments"><code className="connector-page-code">moengage\_list\_custom\_segments</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">List all custom segments in the workspace</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_create_custom_push_template" data-action-label="Create Custom Push Template" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Create Custom Push Template</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_create_custom_push_template" aria-label="Copy moengage_create_custom_push_template"><code className="connector-page-code">moengage\_create\_custom\_push\_template</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create a new custom push notification template in MoEngage.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_update_custom_push_template" data-action-label="Update Custom Push Template" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Update Custom Push Template</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_update_custom_push_template" aria-label="Copy moengage_update_custom_push_template"><code className="connector-page-code">moengage\_update\_custom\_push\_template</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Update an existing custom push notification template in MoEngage.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_create_custom_sms_template" data-action-label="Create Custom SMS Template" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Create Custom SMS Template</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_create_custom_sms_template" aria-label="Copy moengage_create_custom_sms_template"><code className="connector-page-code">moengage\_create\_custom\_sms\_template</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create a new custom SMS template in MoEngage.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_update_custom_sms_template" data-action-label="Update Custom SMS Template" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Update Custom SMS Template</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_update_custom_sms_template" aria-label="Copy moengage_update_custom_sms_template"><code className="connector-page-code">moengage\_update\_custom\_sms\_template</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Update an existing custom SMS template in MoEngage.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_create_custom_in_app_template" data-action-label="Create Custom In-App Template" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Create Custom In-App Template</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_create_custom_in_app_template" aria-label="Copy moengage_create_custom_in_app_template"><code className="connector-page-code">moengage\_create\_custom\_in\_app\_template</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create a new custom in-app template in MoEngage.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_update_custom_in_app_template" data-action-label="Update Custom In-App Template" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Update Custom In-App Template</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_update_custom_in_app_template" aria-label="Copy moengage_update_custom_in_app_template"><code className="connector-page-code">moengage\_update\_custom\_in\_app\_template</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Update an existing custom in-app template in MoEngage.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_create_email_template" data-action-label="Create Email Template" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Create Email Template</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_create_email_template" aria-label="Copy moengage_create_email_template"><code className="connector-page-code">moengage\_create\_email\_template</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Create a new email template via the V2 email templates API in MoEngage.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_list_email_templates" data-action-label="Get All Email Templates" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get All Email Templates</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_list_email_templates" aria-label="Copy moengage_list_email_templates"><code className="connector-page-code">moengage\_list\_email\_templates</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve all email templates in the MoEngage workspace.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_get_email_template_by_id" data-action-label="Get Specific Email Template" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get Specific Email Template</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_get_email_template_by_id" aria-label="Copy moengage_get_email_template_by_id"><code className="connector-page-code">moengage\_get\_email\_template\_by\_id</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Retrieve a single email template by its ID.</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_get_user_subscription_preferences" data-action-label="Get User Subscription Preferences (READ)" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Get User Subscription Preferences (READ)</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_get_user_subscription_preferences" aria-label="Copy moengage_get_user_subscription_preferences"><code className="connector-page-code">moengage\_get\_user\_subscription\_preferences</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Get user subscription preferences</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_update_user_subscription_preferences" data-action-label="Update User Subscription Preferences (per-category, MUTATES)" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Update User Subscription Preferences (per-category, MUTATES)</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_update_user_subscription_preferences" aria-label="Copy moengage_update_user_subscription_preferences"><code className="connector-page-code">moengage\_update\_user\_subscription\_preferences</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Update user subscription preferences</div>
      </div>

      <div className="connector-meta-library-row" data-action-id="moengage_bulk_update_subscription_preferences" data-action-label="Bulk Update Subscription Preferences (by Customer ID, MUTATES)" data-action-scopes="" data-action-auth="Basic Auth (Workspace ID + API Key)" data-action-auth-scopes="{&#x22;Basic Auth (Workspace ID + API Key)&#x22;:[]}">
        <div className="meta-library-grid-cell connector-meta-library-item-cell">
          <div>Bulk Update Subscription Preferences (by Customer ID, MUTATES)</div>
          <div className="connector-meta-library-item-sub"><button type="button" className="connector-page-code-button" data-copy="moengage_bulk_update_subscription_preferences" aria-label="Copy moengage_bulk_update_subscription_preferences"><code className="connector-page-code">moengage\_bulk\_update\_subscription\_preferences</code></button></div>
        </div>

        <div className="meta-library-grid-cell meta-library-grid-cell--description">Update subscription category preferences for up to 50 users by customer ID</div>
      </div>
    </div>
  </div>
</div>


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.