Leanplum · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for User Information API
8 actions
8 updates
phrasing
extends
openapi/leanplum-user-information-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 8
$.info
$.paths['/api?action=setUserAttributes'].post
$.paths['/api?action=setDeviceAttributes'].post
$.paths['/api?action=setTrafficSourceInfo'].post
$.paths['/api?action=registerDevice'].post
$.paths['/api?action=deleteUser'].post
$.paths['/api?action=block'].post
$.paths['/api?action=unblock'].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 Information API
version: 1.0.0
extends: openapi/leanplum-user-information-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=setUserAttributes'].post
update:
x-apievangelist-phrasing:
intent: Set user attributes
effect: write
questions:
- How do I set attributes like age or location for a user?
- Can I increment a user's session count or add values to a set attribute?
instructions:
- text: Set user attributes {userAttributes} for user {userId}.
slots:
userAttributes: requestBody.userAttributes
userId: requestBody.userId
- text: Increment {userAttributeValuesToIncrement} for user {userId}.
slots:
userAttributeValuesToIncrement: requestBody.userAttributeValuesToIncrement
userId: requestBody.userId
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=setDeviceAttributes'].post
update:
x-apievangelist-phrasing:
intent: Set device attributes
effect: write
questions:
- How do I register a device push token with Leanplum?
- Does setting device attributes create a user if none exists?
- Can I set a web push subscription when registering a device?
instructions:
- text: Set device {deviceId} to push token {iosPushToken} for app {appId}.
slots:
deviceId: requestBody.deviceId
iosPushToken: requestBody.iosPushToken
appId: requestBody.appId
- text: Register web device {deviceId} with model {deviceModel} and app {appId}.
slots:
deviceId: requestBody.deviceId
deviceModel: requestBody.deviceModel
appId: requestBody.appId
- text: Record device {deviceId} for user {userId} as web push {webPushSubscription}.
slots:
deviceId: requestBody.deviceId
userId: requestBody.userId
webPushSubscription: requestBody.webPushSubscription
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=setTrafficSourceInfo'].post
update:
x-apievangelist-phrasing:
intent: Record a user's traffic source
effect: write
questions:
- How do I track where a user came from, like an ad campaign?
- Can I set the traffic source for a user's current session?
instructions:
- text: Set traffic source {trafficSource} for user {userId}.
slots:
trafficSource: requestBody.trafficSource
userId: requestBody.userId
- text: Record campaign source {trafficSource} for device {deviceId} at {time}.
slots:
trafficSource: requestBody.trafficSource
deviceId: requestBody.deviceId
time: requestBody.time
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=registerDevice'].post
update:
x-apievangelist-phrasing:
intent: Register a device for development
effect: write
questions:
- How do I register a device so I can send it test notifications?
- What key do I need to register a development device?
instructions:
- text: Register device {deviceId} for development under email {email}.
slots:
deviceId: requestBody.deviceId
email: requestBody.email
- text: Add development device {deviceId} to user {email}.
slots:
deviceId: requestBody.deviceId
email: requestBody.email
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=deleteUser'].post
update:
x-apievangelist-phrasing:
intent: Permanently delete a user's data
effect: destructive
questions:
- How do I permanently erase a user's attributes and analytics data?
- Can I do a full erasure of a user's data, not just block them?
instructions:
- text: Delete user {userId} from the database.
slots:
userId: requestBody.userId
- text: Erase all data for user {userId} with full erasure {fullErasure}.
slots:
userId: requestBody.userId
fullErasure: requestBody.fullErasure
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=block'].post
update:
x-apievangelist-phrasing:
intent: Block data collection for a user
effect: destructive
questions:
- How do I stop collecting data for a user?
- Does blocking a user erase their past data?
- Can I block all data from a device, not tied to a user?
instructions:
- text: Block data collection for user {userId} in app {appId}.
slots:
userId: requestBody.userId
appId: requestBody.appId
- text: Block data for device {deviceId} across app {appId} with client key {clientKey}, dev mode {devMode}.
slots:
deviceId: requestBody.deviceId
appId: requestBody.appId
clientKey: requestBody.clientKey
devMode: requestBody.devMode
method: generated
generated: '2026-11-22'
- target: $.paths['/api?action=unblock'].post
update:
x-apievangelist-phrasing:
intent: Unblock data collection for a user
effect: write
questions:
- How do I resume data collection for a blocked user?
- Does unblocking a user restore the data deleted by block?
instructions:
- text: Unblock user {userId} in app {appId}.
slots:
userId: requestBody.userId
appId: requestBody.appId
- text: Resume data collection for device {deviceId} in app {appId}, key {clientKey}.
slots:
deviceId: requestBody.deviceId
appId: requestBody.appId
clientKey: requestBody.clientKey
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-information-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.