Yelp · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Leads API
7 actions
7 updates
phrasing
extends
openapi/yelp-leads-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Yelp's API. It is a proposal applied on top of the contract, not a document Yelp publishes.
What the actions change
x-apievangelist-phrasing
Targets 7
$.info
$.paths['/businesses/{business_id}/lead_ids'].get
$.paths['/leads/{ID}'].get
$.paths['/leads/{ID}/events'].get
$.paths['/leads/{ID}/events'].post
$.paths['/leads/{ID}/events/mark_as_read'].post
$.paths['/leads/{ID}/mark_as_replied'].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 Leads API
version: 1.0.0
extends: openapi/yelp-leads-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-17'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 6
- target: $.paths['/businesses/{business_id}/lead_ids'].get
update:
x-apievangelist-phrasing:
intent: List lead IDs for a business
effect: read
questions:
- Which lead IDs have come in for my business?
- Can I page through a business's leads with a cursor?
instructions:
- text: List lead IDs for business {business_id}.
slots:
business_id: path.business_id
- text: Show {limit} lead IDs for {business_id} created after {created_after}.
slots:
limit: query.limit
business_id: path.business_id
created_after: query.created_after
method: generated
generated: '2026-11-17'
- target: $.paths['/leads/{ID}'].get
update:
x-apievangelist-phrasing:
intent: Get a lead
effect: read
questions:
- What details are stored for a lead?
- Can I look up one lead by its ID?
instructions:
- text: Get lead {ID}.
slots:
ID: path.ID
- text: Show the details of lead {ID}.
slots:
ID: path.ID
method: generated
generated: '2026-11-17'
- target: $.paths['/leads/{ID}/events'].get
update:
x-apievangelist-phrasing:
intent: List events on a lead
effect: read
questions:
- What messages have been exchanged on a lead?
- Can I page through a lead's events with a cursor?
instructions:
- text: List events for lead {ID}.
slots:
ID: path.ID
- text: Show {limit} events on lead {ID} newer than {newer_than_cursor}.
slots:
limit: query.limit
ID: path.ID
newer_than_cursor: query.newer_than_cursor
method: generated
generated: '2026-11-17'
- target: $.paths['/leads/{ID}/events'].post
update:
x-apievangelist-phrasing:
intent: Send a message to a lead
effect: write
questions:
- How do I reply to a lead with a text message?
- Can I send a message to a lead through the API?
instructions:
- text: Send {request_content} to lead {ID}.
slots:
request_content: requestBody.request_content
ID: path.ID
- text: Reply {request_content} to lead {ID} as a {request_type} event.
slots:
request_content: requestBody.request_content
ID: path.ID
request_type: requestBody.request_type
method: generated
generated: '2026-11-17'
- target: $.paths['/leads/{ID}/events/mark_as_read'].post
update:
x-apievangelist-phrasing:
intent: Mark a lead event as read
effect: write
questions:
- How do I mark an event on a lead as read?
- Can I set the time a lead event was marked read?
instructions:
- text: Mark the event {event_id} on lead {ID} as read.
slots:
event_id: requestBody.event_id
ID: path.ID
- text: Mark lead event {event_id} for lead {ID} as read at {time_read}.
slots:
event_id: requestBody.event_id
ID: path.ID
time_read: requestBody.time_read
method: generated
generated: '2026-11-17'
- target: $.paths['/leads/{ID}/mark_as_replied'].post
update:
x-apievangelist-phrasing:
intent: Mark a lead as replied
effect: write
questions:
- How do I mark a lead as replied?
- Which reply types can I set on a lead?
instructions:
- text: Mark lead {ID} as replied by {reply_type}.
slots:
ID: path.ID
reply_type: requestBody.reply_type
- text: Set reply type {reply_type} on lead {ID}.
slots:
reply_type: requestBody.reply_type
ID: path.ID
method: generated
generated: '2026-11-17'
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/yelp-leads-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.