Run history & re-run
See what each automation did with each lead, and run it again once a failure is fixed.
Authenticated with ?privateKey=YOUR_KEY (see Authentication).
| POST | /admin/automations/re-trigger | Retrigger automations for specific leads |
| POST | /admin/automations/rerun-single | Rerun a specific automation type for a lead |
| GET | /v3/leads/{leadId}/automation-history | Lead automation history |
| GET | /v3/automations/{automationId}/runs | Get an automation's runs |
GET
Try:
Parameters
Lead IdLead id (the _id of a row returned by get_leads).
Lead Id is required
curl -X GET "https://rest-admin.happierleads.com/v3/leads//automation-history?privateKey=YOUR_KEY"Response
Press Send request to try it with sample data.
Use case: Retry after a fix
POST /admin/automations/re-trigger with the leadIds and automationIds to run again.