MoEngage · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for MoEngage Content Block Content Blocks API

5 actions 5 updates phrasing extends openapi/moengage-content-blocks-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for MoEngage's API. It is a proposal applied on top of the contract, not a document MoEngage publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 5

$.info
$.paths['/content-blocks'].put
$.paths['/content-blocks'].post
$.paths['/content-blocks/get-by-ids'].post
$.paths['/content-blocks/search'].post

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for MoEngage Content Block Content Blocks API
  version: 1.0.0
extends: openapi/moengage-content-blocks-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-10-01'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 4
- target: $.paths['/content-blocks'].put
  update:
    x-apievangelist-phrasing:
      intent: Update an existing content block
      effect: write
      questions:
      - How do I edit the HTML of a content block that already exists?
      - Can I change a saved content block's status or rename it?
      - What fields must I resend when updating a content block?
      instructions:
      - text: Update content block {id} with new content {raw_content}.
        slots:
          id: requestBody.id
          raw_content: requestBody.raw_content
      - text: Rename existing content block {id} to {name} and set its status to {status}.
        slots:
          id: requestBody.id
          name: requestBody.name
          status: requestBody.status
      method: generated
      generated: '2026-10-01'
- target: $.paths['/content-blocks'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a new content block
      effect: write
      questions:
      - How do I create a reusable content block for campaigns?
      - Can a new content block be made for Inform alerts instead of Engage campaigns?
      - What content types can a newly created content block have?
      instructions:
      - text: Create a new content block named {name} labelled {label} with content {raw_content}.
        slots:
          name: requestBody.name
          label: requestBody.label
          raw_content: requestBody.raw_content
      - text: Create a {content_type} content block {name} for source {source}.
        slots:
          content_type: requestBody.content_type
          name: requestBody.name
          source: requestBody.source
      method: generated
      generated: '2026-10-01'
- target: $.paths['/content-blocks/get-by-ids'].post
  update:
    x-apievangelist-phrasing:
      intent: Fetch specific content blocks by ID
      effect: read
      questions:
      - How do I fetch several content blocks when I already know their IDs?
      - Can I get the raw content of particular content blocks by ID?
      instructions:
      - text: Get the content blocks with IDs {ids}.
        slots:
          ids: requestBody.ids
      - text: Fetch content blocks {ids} including their raw content.
        slots:
          ids: requestBody.ids
      method: generated
      generated: '2026-10-01'
- target: $.paths['/content-blocks/search'].post
  update:
    x-apievangelist-phrasing:
      intent: Search content blocks
      effect: read
      questions:
      - Which content blocks exist in my MoEngage account?
      - Can I filter my content blocks to find the ones I need?
      instructions:
      - text: Search my content blocks using filters {filters}.
        slots:
          filters: requestBody.filters
      - text: List all the content blocks in my account.
      method: generated
      generated: '2026-10-01'