---
updatedAt: 2026-06-09T19:40:28.000Z
agentTools:
  projectIndex: https://apidocs.zigpoll.com/llms.txt
---

# Update slide

Update an existing slide (question). Only the fields you include in the request body will be changed — all other fields remain untouched. System-managed fields (counts, insights, timestamps) are ignored if sent. The `handle` field is automatically generated from the title. Set a field to -1 to remove it from the slide. You can also use `/question/update` as an alias.


# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Zigpoll API",
    "version": "1.0.0",
    "description": "API for interacting with your Zigpoll surveys and responses.\n\nCounter fields use distinct units. `surveyResponseCount` holds **responses** -- one is counted each time a participant takes a survey, however many questions they answer. This is the unit plan limits apply to (`plan.submissionLimit`), and on an account it resets on the 1st of each month; `totalSurveyResponseCount` is the lifetime figure. `submissionCount` holds **answers** -- one is counted each time a participant answers one question, so a 5 question survey can produce up to 5 per response. `responseCount` holds the count of **write-ins** specifically -- the free-text answers participants typed. On a poll, `emailCount` holds email addresses **collected** by the survey and `outboundEmailCount` holds survey emails **sent** for it (automatic sends, campaigns and test sends, lifetime)."
  },
  "servers": [
    {
      "url": "https://v1.zigpoll.com",
      "description": "Production server for v1 API"
    }
  ],
  "components": {
    "securitySchemes": {
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "Authorization"
      }
    }
  },
  "security": [
    {
      "ApiKeyAuth": []
    }
  ],
  "paths": {
    "/slide/update": {
      "post": {
        "summary": "Update slide",
        "description": "Update an existing slide (question). Only the fields you include in the request body will be changed — all other fields remain untouched. System-managed fields (counts, insights, timestamps) are ignored if sent. The `handle` field is automatically generated from the title. Set a field to -1 to remove it from the slide. You can also use `/question/update` as an alias.\n",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "slideId"
                ],
                "properties": {
                  "slideId": {
                    "type": "string",
                    "description": "The ID of the slide to update."
                  },
                  "pollId": {
                    "type": "string",
                    "description": "Optional. Defaults to the slide's current pollId."
                  },
                  "type": {
                    "type": "string",
                    "description": "Change the slide type. Must be a valid type if provided.",
                    "enum": [
                      "question",
                      "checkbox",
                      "dropdown",
                      "autocomplete",
                      "image-choice",
                      "binary",
                      "legal-consent",
                      "inline-multiple-choice",
                      "star-rating",
                      "range",
                      "satisfaction",
                      "slider",
                      "short-answer",
                      "long-answer",
                      "email-capture",
                      "phone-capture",
                      "date",
                      "file-upload",
                      "country",
                      "rank",
                      "form",
                      "copy",
                      "thank-you",
                      "reward",
                      "action",
                      "matrix"
                    ]
                  },
                  "title": {
                    "type": "string"
                  },
                  "subtitle": {
                    "type": "string"
                  },
                  "copy": {
                    "type": "string",
                    "description": "Body copy (HTML supported)."
                  },
                  "placeholder": {
                    "type": "string"
                  },
                  "answers": {
                    "type": "array",
                    "description": "Answer options. For the matrix type these are the shared columns (answer options). For the legal-consent type, pass a single answer whose title is the checkbox label shown next to the tick box (the slide's `title` is the statement above it); if omitted, a default label is applied. For the country type, omit this — the full ISO country list is filled in server-side; pass it only to restrict the selector to a subset. For the slider type, omit this — answers are generated from `settings.range` and `settings.unit`. The `handle` is auto-generated from the title.\n",
                    "items": {
                      "type": "object",
                      "properties": {
                        "title": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "rows": {
                    "type": "array",
                    "description": "Question rows for the matrix slide type. Each row is a question answered from the shared `answers` (columns) -- one choice per row by default, or several when `settings.matrixType` is `multiple`. The `handle` is auto-generated from the title.",
                    "items": {
                      "type": "object",
                      "properties": {
                        "title": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "actions": {
                    "type": "array",
                    "description": "Action buttons. The `handle` is auto-generated from the title.",
                    "items": {
                      "type": "object",
                      "properties": {
                        "title": {
                          "type": "string"
                        },
                        "color": {
                          "type": "string"
                        },
                        "icon": {
                          "type": "string"
                        },
                        "link": {
                          "type": "string"
                        }
                      }
                    }
                  },
                  "formInputs": {
                    "type": "array",
                    "description": "Form fields (for form slide type).",
                    "items": {
                      "type": "object",
                      "properties": {
                        "label": {
                          "type": "string"
                        },
                        "type": {
                          "type": "string"
                        },
                        "optional": {
                          "type": "boolean"
                        },
                        "attached": {
                          "type": "boolean",
                          "description": "Only on a `file-upload` field placed directly after a `long-answer` field: the two are shown as one box, a text area with a bar to attach files, and the `file-upload` field is hidden in the editor. Answers are still stored per field. Send it with `optional: true`.\n"
                        },
                        "options": {
                          "type": "array",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  },
                  "settings": {
                    "type": "object",
                    "description": "Slide settings (replaces the entire settings object, so send the current settings with your change). `hidden: true` is the editor's Hide Question: the question is skipped when the survey runs but is not deleted. `hidden: false` shows it again.\n"
                  },
                  "logic": {
                    "type": "array",
                    "description": "Conditional logic rules.",
                    "items": {
                      "type": "object"
                    }
                  },
                  "displayLogic": {
                    "type": "array",
                    "description": "Display logic rules.",
                    "items": {
                      "type": "object"
                    }
                  },
                  "leftLabel": {
                    "type": "string"
                  },
                  "rightLabel": {
                    "type": "string"
                  },
                  "multi": {
                    "type": "boolean"
                  },
                  "rewardCode": {
                    "type": "string"
                  },
                  "rewardCodeType": {
                    "type": "string",
                    "enum": [
                      "static",
                      "dynamic",
                      "free-shipping"
                    ]
                  },
                  "rewardBanner": {
                    "type": "string"
                  },
                  "customCTA": {
                    "description": "Custom call-to-action (string or object)."
                  },
                  "nextSlide": {
                    "type": "string",
                    "description": "ID of the next slide, or \"-1\" to end the survey."
                  }
                }
              },
              "example": {
                "slideId": "abcdef0123456789",
                "title": "What is your favorite color? (updated)",
                "answers": [
                  {
                    "title": "Red"
                  },
                  {
                    "title": "Blue"
                  },
                  {
                    "title": "Green"
                  },
                  {
                    "title": "Yellow"
                  }
                ]
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "The updated slide object",
            "content": {
              "application/json": {
                "example": {
                  "_id": "abcdef0123456789",
                  "createdAt": "2026-02-18T12:00:00.000Z",
                  "title": "What is your favorite color? (updated)",
                  "handle": "what-is-your-favorite-color",
                  "answers": [
                    {
                      "title": "Red",
                      "handle": "red",
                      "votes": 42
                    },
                    {
                      "title": "Blue",
                      "handle": "blue",
                      "votes": 31
                    },
                    {
                      "title": "Green",
                      "handle": "green",
                      "votes": 17
                    },
                    {
                      "title": "Yellow",
                      "handle": "yellow",
                      "votes": 0
                    }
                  ],
                  "copy": null,
                  "type": "question",
                  "optional": false,
                  "pollId": "6789abcdef012345",
                  "lastModified": "2026-02-18T13:00:00.000Z",
                  "viewCount": 150,
                  "presentationCount": 90,
                  "engagementCount": 80,
                  "responseCount": 90
                }
              }
            }
          },
          "404": {
            "description": "Slide or poll not found, or you do not own the account"
          },
          "422": {
            "description": "Missing required field or invalid slide type",
            "content": {
              "application/json": {
                "example": {
                  "error": "slideId is required"
                }
              }
            }
          }
        },
        "security": [
          {
            "ApiKeyAuth": []
          }
        ]
      }
    }
  }
}
```