Add Points
POST https://api.kickofflabs.com/v2/CAMPAIGN_ID/points
Adds custom points to one lead or to a group of leads matched by email.
Required parameters
Section titled “Required parameters”api_key: Your account API key.points: Number of points to add or subtract. Maximum accepted value is99999.- One identifier:
email: A single email address.emails: An array of email addresses.kidorsocial_id: The id of a single lead.
For email-based requests, KickoffLabs matches up to 100 leads.
Optional parameters
Section titled “Optional parameters”message: A description of why the points were added to the lead.
JSON response
Section titled “JSON response”Successful response:
{ "message": "Custom Points added" }Errors
Section titled “Errors”- Missing
pointsreturns409withNo points value found. - Points greater than
99999return409withMax Points Exceeded. - Missing lead identifier returns
409withPlease include a lead id or email. - No matching leads returns
404withNo leads found.
Additional information
Section titled “Additional information”- You can remove points by sending a negative point value.
- Points cannot go below zero.