LeadFormCopy

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

A resource that allows you to create a full copy of a lead form.

POST

Request example:

POST /api/v1/lead_ads/lead_forms/17/copy
{
  "name": "Copy of lead form 17" // This field is optional. If omitted, the source lead form name will be used.
}

Response example:

HTTP 200
{
  "id": 18,
  "status": 1
  ...
}

The response contains all fields of LeadForm.

Possible response codes

  • 200 — ad saved
  • 404 — lead form not found