---
updatedAt: 2025-09-24T20:45:09.000Z
agentTools:
  projectIndex: https://docs.smartsurvey.io/v1/llms.txt
---

# surveys/:survey_id

Copy A Survey

## Example Usage

To copy an existing survey, enter the "id" of the survey you wish to copy and provide a title of the new survey using the "title" parameter.

```toml URL
https://api.smartsurvey.io/v1/surveys/123/?title=New Survey Title
```

The new survey object will be returned.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "1"
  },
  "servers": [
    {
      "url": "https://api.smartsurvey.io/v1"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/surveys/{survey_id}": {
      "put": {
        "summary": "surveys/:survey_id",
        "description": "Copy A Survey",
        "operationId": "copy-a-survey",
        "parameters": [
          {
            "name": "survey_id",
            "in": "path",
            "description": "Survey id to copy from.",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "properties": {
                  "title": {
                    "type": "string",
                    "description": "Survey title",
                    "default": "New Survey"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"id\": 123,\n  \"type\": \"survey\",\n  \"title\": \"Customer Satisfaction\",\n  \"nickname\": \"First Company Customer Satisfaction\",\n  \"date_created\": \"2016-03-07T13:51:07Z\",\n  \"date_modified\": \"2016-03-10T15:11:10Z\",\n  \"responses\": 999,\n  \"status\": \"open\",\n  \"survey_url\": \"http://www.smartsurvey.co.uk/s/123ABCDE/\",\n  \"theme_id\": 3467,\n  \"question_count\": 8,\n  \"page_count\": 4,\n  \"href\": \"https://api.smartsurvey.io/v1/surveys/550\",\n  \"href_responses\": \"https://api.smartsurvey.io/v1/surveys/550/responses\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "example": 123,
                      "default": 0
                    },
                    "type": {
                      "type": "string",
                      "example": "survey"
                    },
                    "title": {
                      "type": "string",
                      "example": "Customer Satisfaction"
                    },
                    "nickname": {
                      "type": "string",
                      "example": "First Company Customer Satisfaction"
                    },
                    "date_created": {
                      "type": "string",
                      "example": "2016-03-07T13:51:07Z"
                    },
                    "date_modified": {
                      "type": "string",
                      "example": "2016-03-10T15:11:10Z"
                    },
                    "responses": {
                      "type": "integer",
                      "example": 999,
                      "default": 0
                    },
                    "status": {
                      "type": "string",
                      "example": "open"
                    },
                    "survey_url": {
                      "type": "string",
                      "example": "http://www.smartsurvey.co.uk/s/123ABCDE/"
                    },
                    "theme_id": {
                      "type": "integer",
                      "example": 3467,
                      "default": 0
                    },
                    "question_count": {
                      "type": "integer",
                      "example": 8,
                      "default": 0
                    },
                    "page_count": {
                      "type": "integer",
                      "example": 4,
                      "default": 0
                    },
                    "href": {
                      "type": "string",
                      "example": "https://api.smartsurvey.io/v1/surveys/550"
                    },
                    "href_responses": {
                      "type": "string",
                      "example": "https://api.smartsurvey.io/v1/surveys/550/responses"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```