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

# links

Get all the tracking links for a survey.

# 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": {
      "get": {
        "summary": "links",
        "description": "Get all the tracking links for a survey.",
        "operationId": "links",
        "parameters": [
          {
            "name": "survey_id",
            "in": "path",
            "required": true,
            "schema": {
              "type": "integer",
              "format": "int64"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "[\n  {\n    \"id\": 123,\n    \"type\": \"web_link\",\n    \"title\": \"Default Web Link\",\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  }\n]"
                  }
                },
                "schema": {
                  "type": "array",
                  "items": {
                    "type": "object",
                    "properties": {
                      "id": {
                        "type": "integer",
                        "example": 123,
                        "default": 0
                      },
                      "type": {
                        "type": "string",
                        "example": "web_link"
                      },
                      "title": {
                        "type": "string",
                        "example": "Default Web Link"
                      },
                      "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
}
```