TestLeadSending

/api/v1/lead_ads/lead_forms/<lead_form_id>/send_test_lead

A resource that allows you to send a test lead for the specified form.

POST

Send a test lead.

Request example

POST /api/v1/lead_ads/lead_forms/10/send_test_lead

Response example

{
  "is_operation_processed": true,
  "message": "test lead was successfully sent",
  "seconds_before_next_sending": 5
}

In the response, the is_operation_processed field indicates whether the lead was sent. The message field duplicates this information in text form.

Regardless of the other fields, seconds_before_next_sending contains the number of seconds until the next allowed sending.