Olery Developer Portal logo Olery Developer Portal

Method Path
POST https://agora.olery.com/v3/feedback/surveys/duplicate/:id

This endpoint is used to duplicate an existing survey through the survey ID. It returns the duplicated survey with a new survey ID. It is ideal for when you want to create a survey based on an old survey.

Example Output

{
  "data": {
    "id": "6cb0ebe5cc12111a4bf052f1b",
    "name": "test 3",
    "title": "Give us feedback",
    "published": true,
    "instructions": null,
    "languages": [
      {
        "code": "fr",
        "name": "French"
      }
    ],
    "default_locale": "fr",
    "translations": {},
    "redirect_message": null,
    "redirect_url": null,
    "positive_follow_up": null,
    "negative_follow_up": null,
    "questions": [],
    "settings": null,
    "conditions": [],
    "company_ids": [],
    "items": [],
    "question_ids": [],
    "logo_url": null,
    "bg_url": null,
    "color_hex": null
  }
}