Generated by API Evangelist
Written by API Evangelist tooling for Lean Technologies's API. It is a proposal applied on top of the contract, not a document Lean Technologies publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Core Resources Customers API
version: 1.0.0
extends: openapi/lean-technologies-customers-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-21'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 4
- target: $.paths['/customers/v1'].get
update:
x-apievangelist-phrasing:
intent: List customers in the customer database
effect: read
questions:
- Which customers are in our customer database?
- Can I page through customers?
instructions:
- text: List customers, page {page_number} with {page_size} per page.
slots:
page_number: query.page_number
page_size: query.page_size
- text: Show all customers in the customer database.
method: generated
generated: '2026-11-21'
- target: $.paths['/customers/v1'].post
update:
x-apievangelist-phrasing:
intent: Create a customer object from an app user ID
effect: write
questions:
- How do I create a customer object in Lean from a user ID in my own database?
- Is there a one-to-one mapping between my user and a Lean customer?
instructions:
- text: Create a customer object from app user ID {app_user_id}.
slots:
app_user_id: requestBody.app_user_id
- text: Add {app_user_id} as a customer in the customer database.
slots:
app_user_id: requestBody.app_user_id
method: generated
generated: '2026-11-21'
- target: $.paths['/customers/v1/{customer_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a customer by customer ID
effect: read
questions:
- What details are stored for a customer with a given customer ID?
- Can I look up a customer by its customer ID?
instructions:
- text: Get customer {customer_id}.
slots:
customer_id: path.customer_id
- text: Show the customer record with customer ID {customer_id}.
slots:
customer_id: path.customer_id
method: generated
generated: '2026-11-21'
- target: $.paths['/customers/v1/app-user-id/{app_user_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a customer by app user ID
effect: read
questions:
- How do I find the customer object for a user ID from my own database?
- Can I look up a customer by the app user ID I use?
instructions:
- text: Get the customer for app user ID {app_user_id}.
slots:
app_user_id: path.app_user_id
- text: Look up the customer record using app user ID {app_user_id}.
slots:
app_user_id: path.app_user_id
method: generated
generated: '2026-11-21'
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.