Scoring models
Score every new lead against your ideal customer with rules for company, location, pages visited and more.
Authenticated with ?privateKey=YOUR_KEY (see Authentication).
| GET | /admin/lead-scoring | Get all scoring models for website |
| POST | /admin/lead-scoring | Create scoring model |
| GET | /admin/lead-scoring/{id} | Get single model with scoring criteria |
| PUT | /v3/lead-scoring/{modelId} | Update a lead scoring model |
| DELETE | /admin/lead-scoring/{id} | Delete scoring model |
GET
Try:
Parameters
Website IdWebsite ID to get scoring models for
PagePage number for pagination
LimitNumber of models per page
curl -X GET "https://rest-admin.happierleads.com/admin/lead-scoring?privateKey=YOUR_KEY&websiteId=64b7f0a1c2d3e4f5a6b7c8d9&page=1&limit=50"Response
Press Send request to try it with sample data.
Use case: Read a model’s rules
GET /admin/lead-scoring/{id} returns its criteria; change them with PUT /v3/lead-scoring/{modelId} — each criterion you send replaces that criterion’s rules.