---
title: "Get all file download URL by PGP-UK hex id"
method: GET
path: "/download_url/{pgp_hex_id}"
tags: ["Data Direct Urls"]
---

# Get all file download URL by PGP-UK hex id

`GET /download_url/{pgp_hex_id}`

## Request

- Base URL: `https://www.personalgenomes.org.uk/api/v1.3`
- URL: `https://www.personalgenomes.org.uk/api/v1.3/download_url/{pgp_hex_id}`
- Auth: none declared
- TypeScript: <https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/docs/download_url/:pgp_hex_id/get.ts> (a function with typed inputs; its response is checked against the schema)

This will return an object containing all the data associated with this PGP-UK participant

## Path parameters

- `pgp_hex_id` string, required: PGP-UK unique participant id

## Response `200`

Success

- object[]: Data containing direct URLs for all data associated with the PGP-UK participant
  - `type` string
  - `download_url` string

## Other responses

- `404`: Participant not found

## Changes

- **2018-12-11** `6135620adae7`: 1 warning, 2 info
  - removed the optional property `items/test` from the response with the `200` status
  - added the optional property `items/download_url` to the response with the `200` status
  - added the optional property `items/type` to the response with the `200` status
- **2018-12-11** `b25b9654e3d4`: 2 warning, 1 info
  - removed the optional property `items/download_url` from the response with the `200` status
  - removed the optional property `items/type` from the response with the `200` status
  - added the optional property `items/test` to the response with the `200` status

[Operation history](https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/changes/download_url/:pgp_hex_id/get.md)

---

[API](https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk.md) - [All operations](https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/llms.txt) - [OpenAPI document](https://skmtc.dev/pgp-uk/apis/personal-genome-project-uk/revisions/26f2eb33c4d8?raw)
