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

# links/:link_id

Get a specific tracking link and all its 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}": {
      "get": {
        "summary": "links/:link_id",
        "description": "Get a specific tracking link and all its data.",
        "operationId": "get-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"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\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}"
                  }
                },
                "schema": {
                  "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"
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"status\": 404,\n  \"code\": \"not_found\",\n  \"message\": \"Survey with id '{surveyId}' could not be found or tracking link with id '{trackingLinkId}' could not be found.\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "status": {
                      "type": "integer",
                      "example": 404,
                      "default": 0
                    },
                    "code": {
                      "type": "string",
                      "example": "not_found"
                    },
                    "message": {
                      "type": "string",
                      "example": "Survey with id '{surveyId}' could not be found or tracking link with id '{trackingLinkId}' could not be found."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```