Using the Single-lead API

The Single-lead API can be used to score a single lead using a GET. It's useful for quickly testing the integration API, but is the slowest method and not recommended for use in production.

GET https://api.infer.com/api/v1/formula/<formula id>/score

Simply encode values for the lead input field as a URL parameter in the GET, like so:

curl \

"https://api.infer.com/api/v1/formula/<formula_id>/score?company=acme&phone=6504853440" \

-u <auth_key>:X

If you are unsure what fields your model is using please contact your Infer Account Manager to confirm.



Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

Powered by Zendesk