---
title: "GET /documents/{id}"
method: GET
path: "/documents/{id}"
tags: ["documents"]
---

# GET /documents/{id}

`GET /documents/{id}`

Returns details of a document

## Path parameters

- `id` string, required

## Response `200`

Success

- Document
  - `id` string, required — ID of the document
  - `name` string, required
  - `url` string, required — OpenTrials API URL of the document
  - `document_category` DocumentCategory, required
    - `id` integer, required
    - `group` string — Name of document category
    - `name` string, required — Name of document sub-category
  - `source_url` string — URL of origin for this document
  - `trials` TrialSummary[]
    - `id` string, required — ID of the trial
    - `url` string, required — OpenTrials API URL for this trial
    - `public_title` string, required — Title of the record
  - `file` File
    - `id` string — ID of the file
    - `sha1` string
    - `source_url` string — URL of origin for this file
    - `documentcloud_id` string
    - `pages` object[] — Array with text of each of the file's pages
      - `num` integer, required — Page number
      - `text` string, required
  - `fda_application` FDAApplication
    - `id` string, required — FDA application ID
    - `drug_name` string — Name of the drug
    - `active_ingredients` string — Active ingredients contained in the drug
    - `fda_approvals` FDAApproval[] — Associated FDA approvals
      - `id` string, required — FDA approval ID
      - `supplement_number` integer, required
      - `type` string, required — Type of FDA approval
      - `action_date` string, date-time, required
      - `notes` string — Additional information about the FDA approval
      - `fda_application` FDAApplication — recursive
    - `organisation` Organisation
      - `id` string, required — ID of the organisation
      - `name` string, required — Name of the organisation
      - `url` string, required — OpenTrials API URL of the organisation
    - `type` string — The FDA application type (e.g. "NDA", "ANDA", etc.)
    - `url` string, required — OpenTrials API URL for this FDA application
  - `source` Source
    - `id` string, required
    - `name` string, required
    - `source_url` string — URL to source's website
    - `terms_and_conditions_url` string
    - `type` 'register' | 'journal' | 'other'

## Other responses

- `404` — Document not found
- `default` — Error

---

[API](https://skmtc.net/opentrials/apis/opentrials-api.md) · [All operations](https://skmtc.net/opentrials/apis/opentrials-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/opentrials/opentrials-api/revisions/d5e3f69976ed/schema)
