---
title: "Returns the URL to the original file of the SourceDocument with the given ID if it exists."
method: GET
path: "/sdoc/{sdoc_id}/url"
tags: ["sourceDocument"]
---

# Returns the URL to the original file of the SourceDocument with the given ID if it exists.

`GET /sdoc/{sdoc_id}/url`

## Path parameters

- `sdoc_id` integer, required

## Query parameters

- `relative` boolean
- `webp` boolean
- `thumbnail` boolean

## Response `200`

Successful Response

- string

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api.md) · [All operations](https://skmtc.net/uhh-lt/apis/discourse-analysis-tool-suite-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/uhh-lt/discourse-analysis-tool-suite-api/versions/6b22366ce2d1/schema)
