Get Lead Metrics

Returns the metrics belonging to a given Lead ID.

Example

To fetch the metrics belonging to a lead with the ID "jPlz8TM628rzyCRPqrtcvm", send an authenticated GET request to the following URL:

https://api.yelp.com/v3/leads/jPlz8TM628rzyCRPqrtcvm/metrics

For the above request, a successful GET call would return the lead metrics if they exist in our system.
A sample response is shown in the example response box on the right under "200 - Metrics"

API Responses

{ "metrics": { "cost_per_lead": { "value": 0, "currency_code": "USD" } } }
Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The Yelp Lead ID

Responses

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