Get Lead IDs for a Business

Returns the lead IDs for a given Business ID.

Example:
To fetch the lead IDs for a business with the ID VXi7gzRqPKp63X0u6fUtbg, send an authenticated GET request to the following URL:
https://api.yelp.com/v3/businesses/VXi7gzRqPKp63X0u6fUtbg/lead_ids

A sample response is shown in the example response box on the right under "200 - Lead IDs"

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The Yelp Business ID

Query Params
integer
1 to 20
Defaults to 20

The maximum number of items to return. Default=20 (1-20).

string

If specified, only lead IDs that come after this lead ID will be returned.

string

If specified, only leads created at or after this timestamp (inclusive) will be returned. ISO 8601 format with timezone required, e.g. 2024-06-30T23:59:59Z or 2024-06-30T23:59:59%2B00:00. Can be combined with created_before to define a time range. Time filters are applied first, then results are paginated with after_lead_id within the filtered window.

string

If specified, only leads created at or before this timestamp (inclusive) will be returned. ISO 8601 format with timezone required, e.g. 2024-06-30T23:59:59Z or 2024-06-30T23:59:59%2B00:00. Can be combined with created_after to define a time range. Time filters are applied first, then results are paginated with after_lead_id within the filtered window.

Responses

Language
Credentials
OAuth2
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json