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

# links/:link_id

Copy an existing tracking link. The result will return the new tracking link data.

# 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}/links/{link_id}": {
      "put": {
        "summary": "links/:link_id",
        "description": "Copy an existing tracking link. The result will return the new tracking link data.",
        "operationId": "copy-a-link",
        "parameters": [
          {
            "name": "survey_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "link_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          },
          {
            "name": "title",
            "in": "query",
            "description": "If left blank, a title based on the type of link will be generated.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"id\": 123,\n  \"type\": \"web_link\",\n  \"title\": \"Web Link 2\",\n  \"status\": \"open\",\n  \"responses\": 999,\n  \"date_created\": \"2016-03-07T13:51:07Z\",\n  \"date_modified\": \"2016-03-07T13:51:07Z\",\n  \"survey_url\": \"http://www.smartsurvey.co.uk/s/sample_survey/\",\n  \"href\": \"https://api.smartsurvey.io/v1/surveys/550/links/123\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "id": {
                      "type": "integer",
                      "example": 123,
                      "default": 0
                    },
                    "type": {
                      "type": "string",
                      "example": "web_link"
                    },
                    "title": {
                      "type": "string",
                      "example": "Web Link 2"
                    },
                    "status": {
                      "type": "string",
                      "example": "open"
                    },
                    "responses": {
                      "type": "integer",
                      "example": 999,
                      "default": 0
                    },
                    "date_created": {
                      "type": "string",
                      "example": "2016-03-07T13:51:07Z"
                    },
                    "date_modified": {
                      "type": "string",
                      "example": "2016-03-07T13:51:07Z"
                    },
                    "survey_url": {
                      "type": "string",
                      "example": "http://www.smartsurvey.co.uk/s/sample_survey/"
                    },
                    "href": {
                      "type": "string",
                      "example": "https://api.smartsurvey.io/v1/surveys/550/links/123"
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```