Leanplum · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Messages API

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

What the actions change

x-apievangelist-phrasing

Targets 8

$.info
$.paths['/api?action=getMessage'].get
$.paths['/api?action=getMessages'].get
$.paths['/api?action=getUnsubscribeCategories'].get
$.paths['/api?action=sendMessage'].post
$.paths['/api?action=addAndroidNotificationChannel'].post
$.paths['/api?action=getAndroidNotificationChannels'].get
$.paths['/api?action=deleteAndroidNotificationChannel'].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 Messages API
  version: 1.0.0
extends: openapi/leanplum-messages-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 7
- target: $.paths['/api?action=getMessage'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one message's details
      effect: read
      questions:
      - How do I look up a single message by its ID?
      - Can I include drafts when fetching one message?
      instructions:
      - text: Get message {id} in app {appId}.
        slots:
          id: query.id
          appId: query.appId
      - text: 'Fetch message {id} including drafts: {includeDrafts}.'
        slots:
          id: query.id
          includeDrafts: query.includeDrafts
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api?action=getMessages'].get
  update:
    x-apievangelist-phrasing:
      intent: List all messages in an app
      effect: read
      questions:
      - What messages are set up in my app?
      - Can I see only messages that are active or recently finished?
      instructions:
      - text: List all messages in app {appId}.
        slots:
          appId: query.appId
      - text: 'Show messages in {appId} with drafts included: {includeDrafts}.'
        slots:
          appId: query.appId
          includeDrafts: query.includeDrafts
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api?action=getUnsubscribeCategories'].get
  update:
    x-apievangelist-phrasing:
      intent: List email unsubscribe categories
      effect: read
      questions:
      - Which email subscription categories exist for my app?
      - How do I get the unsubscribe categories for a given app?
      instructions:
      - text: List unsubscribe categories for app {appId}.
        slots:
          appId: query.appId
      - text: Show the email subscription categories in {appId}.
        slots:
          appId: query.appId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api?action=sendMessage'].post
  update:
    x-apievangelist-phrasing:
      intent: Send a message to a user or device
      effect: write
      questions:
      - How do I send a push notification to a specific user?
      - Can I send a message to a device without knowing its user ID?
      instructions:
      - text: Send message {messageId} to user {userId} in app {appId}.
        slots:
          messageId: requestBody.messageId
          userId: requestBody.userId
          appId: requestBody.appId
      - text: Push message {messageId} to device {deviceId} for {userId}.
        slots:
          messageId: requestBody.messageId
          deviceId: requestBody.deviceId
          userId: requestBody.userId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api?action=addAndroidNotificationChannel'].post
  update:
    x-apievangelist-phrasing:
      intent: Create or update Android notification channels
      effect: write
      questions:
      - How do I define a new Android notification channel for my app?
      - Can I set the sound and vibration pattern on a notification channel?
      instructions:
      - text: Create Android channel {id} named {name} with importance {importance} in app {appId}.
        slots:
          id: requestBody.id
          name: requestBody.name
          importance: requestBody.importance
          appId: requestBody.appId
      - text: Add channel {id} ({name}, importance {importance}) with sound {sound} to {appId}.
        slots:
          id: requestBody.id
          name: requestBody.name
          importance: requestBody.importance
          sound: requestBody.sound
          appId: requestBody.appId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api?action=getAndroidNotificationChannels'].get
  update:
    x-apievangelist-phrasing:
      intent: List Android notification channels
      effect: read
      questions:
      - What Android notification channels are defined in my app?
      - How do I see the settings of each notification channel?
      instructions:
      - text: List Android notification channels in app {appId}.
        slots:
          appId: query.appId
      - text: Show the channel settings for {appId}.
        slots:
          appId: query.appId
      method: generated
      generated: '2026-11-22'
- target: $.paths['/api?action=deleteAndroidNotificationChannel'].post
  update:
    x-apievangelist-phrasing:
      intent: Delete an Android notification channel
      effect: destructive
      questions:
      - How do I permanently remove an Android notification channel?
      - Can I delete the default channel?
      instructions:
      - text: Delete Android notification channel {channelId} in app {appId}.
        slots:
          channelId: requestBody.channelId
          appId: requestBody.appId
      - text: Permanently remove channel {channelId} from {appId}.
        slots:
          channelId: requestBody.channelId
          appId: requestBody.appId
      method: generated
      generated: '2026-11-22'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/leanplum-messages-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.