Olery Developer Portal logo Olery Developer Portal

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

This endpoint is used to duplicate an existing question through the question ID. It returns the duplicated question with a new question ID. It is ideal for when you want to modify a global question.

Example Output

{
  "data": {
    "id": "ddeo9l3a456b568fd65fd4150",
    "question": "Example question 1 Updated",
    "type": "multiple_select",
    "descriptions": [
      {
        "_id": "en",
        "locale": "en",
        "translation": "Example description 1"
      },
      {
        "_id": "es",
        "locale": "es",
        "translation": "Ejemplo de descripción 1"
      }
    ],
    "translations": [
      {
        "_id": "en",
        "locale": "en",
        "translation": "Example question 1"
      },
      {
        "_id": "es",
        "locale": "es",
        "translation": "Ejemplo de pregunta 1"
      }
    ],
    "max": null,
    "min": null,
    "max_value": 5,
    "required": true,
    "enabled_followup": false,
    "links": [],
    "options": [
      {
        "en": "English option 1",
        "es": "Opción española 1",
        "id": "english option 1",
        "default": "English option 1"
      },
      {
        "en": "English option 2",
        "es": "Opción española 2",
        "id": "english option 2",
        "default": "English option 2"
      }
    ],
    "config": {},
    "topics": ["bar", "sanitary_safety"],
    "has_answers": false
  }
}