SurveyCopy

/api/v1/lead_ads/survey_forms/<survey_id>/copy

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

POST

Request example:

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

Response example:

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

The response contains all fields of Survey.

Possible response codes

  • 200 — ad saved
  • 404 — survey not found