You can add points to a lead’s profile, along with the expiration deadline in days. Once the expiration is reached, these exact points will be automatically deducted again. Note that the lead must have been previously added to your account.

ParametersValues
cmd*give_points_to_lead
points*integer
expiration**integer

* Required fields ** 0 or not sending the parameter at all will mean that the points have no expiration date. Here is an example:

'lead' => [
    'email' => 'example@email.com'
],
'actions' => [
    '0' => [
        'cmd' => 'give_points_to_lead',
        'points' => 1
    ]
]

Success message:

{
  "status": "Success",
  "message": "Points added to lead",
  "type": "105"
}
Error Cases:
Type NumberMessageCause
227Points is not a number
  • 'points' parameter needs to be a numeric value.
215Points cannot be empty
  • 'points' parameter it is mandatory and cannot be empty.
An example of an error message:
{
  "status": "Error",
  "message": "Points cannot be empty",
  "type": "215"
}