Leanplum · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for User Behavior API
10 actions
10 updates
phrasing
extends
openapi/leanplum-user-behavior-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.
What the actions change
x-apievangelist-phrasing
Targets 10
$.info
$.paths['/api?action=advance'].post
$.paths['/api?action=pauseState'].post
$.paths['/api?action=resumeState'].post
$.paths['/api?action=pauseSession'].post
$.paths['/api?action=resumeSession'].post
$.paths['/api?action=heartbeat'].post
$.paths['/api?action=start'].post
$.paths['/api?action=stop'].post
$.paths['/api?action=track'].post
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for User Behavior API
version: 1.0.0
extends: openapi/leanplum-user-behavior-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: 9
- target: $.paths['/api?action=advance'].post
update:
x-apievangelist-phrasing:
intent: Advance a user to the next state
effect: write
questions:
- How do I move a user to the next state in the app?
- Can I set info on a state advance?
instructions:
- text: Advance user {userId} to state {state}.
slots:
userId: requestBody.userId
state: requestBody.state
- text: Move user {userId} to state {state} with info {info}.
slots:
userId: requestBody.userId
state: requestBody.state
info: requestBody.info
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=pauseState'].post
update:
x-apievangelist-phrasing:
intent: Pause a user's current state
effect: write
questions:
- How do I pause a user's current state without ending the session?
- Can I pause a state for a device I don't have a user ID for?
instructions:
- text: Pause the current state for user {userId}.
slots:
userId: requestBody.userId
- text: Pause state for device {deviceId}.
slots:
deviceId: requestBody.deviceId
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=resumeState'].post
update:
x-apievangelist-phrasing:
intent: Resume a user's paused state
effect: write
questions:
- How do I resume a user's state after pausing it?
- Can I resume a paused state for a device?
instructions:
- text: Resume the paused state for user {userId}.
slots:
userId: requestBody.userId
- text: Resume state for device {deviceId}.
slots:
deviceId: requestBody.deviceId
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=pauseSession'].post
update:
x-apievangelist-phrasing:
intent: Pause a user's session and state
effect: write
questions:
- How do I pause a user's session so it doesn't time out automatically?
- Can I pause a session for a device without a user ID?
instructions:
- text: Pause the session and state for user {userId}.
slots:
userId: requestBody.userId
- text: Pause the session for device {deviceId}.
slots:
deviceId: requestBody.deviceId
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=resumeSession'].post
update:
x-apievangelist-phrasing:
intent: Resume a user's paused session
effect: write
questions:
- How do I resume a session that was paused?
- Can I resume a session for a device that started in the background?
instructions:
- text: Resume the paused session for user {userId}.
slots:
userId: requestBody.userId
- text: Resume the session for device {deviceId}.
slots:
deviceId: requestBody.deviceId
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=heartbeat'].post
update:
x-apievangelist-phrasing:
intent: Send a heartbeat to keep a session alive
effect: write
questions:
- How do I keep a session from timing out after inactivity?
- Can I send a heartbeat for a device without a user ID?
instructions:
- text: Send a heartbeat for user {userId}.
slots:
userId: requestBody.userId
- text: Keep the session alive for device {deviceId}.
slots:
deviceId: requestBody.deviceId
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=start'].post
update:
x-apievangelist-phrasing:
intent: Start a new session for a user
effect: write
questions:
- How do I start a new session for a user when the app launches?
- Can I include device details and user attributes when starting a session?
instructions:
- text: Start a new session for user {userId}.
slots:
userId: requestBody.userId
- text: Start a session for user {userId} on device {deviceId} with attributes {userAttributes}.
slots:
userId: requestBody.userId
deviceId: requestBody.deviceId
userAttributes: requestBody.userAttributes
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=stop'].post
update:
x-apievangelist-phrasing:
intent: End a user's session
effect: destructive
questions:
- How do I end a user's session?
- Can I end a session for a device I don't have a user ID for?
instructions:
- text: End the session for user {userId}.
slots:
userId: requestBody.userId
- text: End the session for device {deviceId}.
slots:
deviceId: requestBody.deviceId
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=track'].post
update:
x-apievangelist-phrasing:
intent: Track an event for a user
effect: write
questions:
- How do I record a purchase or other event for a user?
- Can I track an event with a value and currency code?
instructions:
- text: Track event {event} for user {userId}.
slots:
event: requestBody.event
userId: requestBody.userId
- text: Record event {event} for user {userId} with value {value} in {currencyCode}.
slots:
event: requestBody.event
userId: requestBody.userId
value: requestBody.value
currencyCode: requestBody.currencyCode
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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/leanplum-user-behavior-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.