Leanplum User Information API

The User Information API from Leanplum — 7 operation(s) for user information.

GitHub OpenAPI
Business capability
Customer Data Management BC-420.10

Operations 7

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api?action=setUserAttributes Set user attributes · setUserAttributes #
Ask an LLM
“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?”
Tell an agent
Set user attributes {userAttributes} for user {userId}.
Increment {userAttributeValuesToIncrement} for user {userId}.
POST /api?action=setDeviceAttributes Set device attributes · setDeviceAttributes #
Ask an LLM
“How do I register a device push token with Leanplum?”
“Does setting device attributes create a user if none exists?”
Tell an agent
Set device {deviceId} to push token {iosPushToken} for app {appId}.
Register web device {deviceId} with model {deviceModel} and app {appId}.
POST /api?action=setTrafficSourceInfo Record a user's traffic source · setTrafficSourceInfo #
Ask an LLM
“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?”
Tell an agent
Set traffic source {trafficSource} for user {userId}.
Record campaign source {trafficSource} for device {deviceId} at {time}.
POST /api?action=registerDevice Register a device for development · registerDevice #
Ask an LLM
“How do I register a device so I can send it test notifications?”
“What key do I need to register a development device?”
Tell an agent
Register device {deviceId} for development under email {email}.
Add development device {deviceId} to user {email}.
POST /api?action=deleteUser Permanently delete a user's data · deleteUser #
Ask an LLM
“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?”
Tell an agent destructive · confirm first
Delete user {userId} from the database.
Erase all data for user {userId} with full erasure {fullErasure}.
POST /api?action=block Block data collection for a user · block #
Ask an LLM
“How do I stop collecting data for a user?”
“Does blocking a user erase their past data?”
Tell an agent destructive · confirm first
Block data collection for user {userId} in app {appId}.
Block data for device {deviceId} across app {appId} with client key {clientKey}, dev mode {devMode}.
POST /api?action=unblock Unblock data collection for a user · unblock #
Ask an LLM
“How do I resume data collection for a blocked user?”
“Does unblocking a user restore the data deleted by block?”
Tell an agent
Unblock user {userId} in app {appId}.
Resume data collection for device {deviceId} in app {appId}, key {clientKey}.

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/leanplum:leanplum-user-information-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

leanplum-user-information-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: '1.0'
  title: User Information API
  description: An API to perform actions from a server or remote device.
servers:
- url: https://api.leanplum.com
- url: http://api.leanplum.com
security:
- appIdQuery: []
- clientKeyQuery: []
tags:


# --- truncated at 32 KB (38 KB total) ---
# Full source: https://artifacts.apis.io/leanplum/openapi/leanplum-user-information-api-openapi.yml