# Retrieve a Document

Returns an existing Document with the input ID.
Report Document IDs can be retrieved from the [Retrieve an existing Report](/apis/openapi/reports/getreport)
endpoint. Candidate Document IDs can be retrieved using the
[List a Candidate's Documents](/apis/openapi/documents/getcandidatedocuments) endpoint.

Endpoint: GET /documents/{id}
Version: v1
Security: basic_auth

## Path parameters:

  - `id` (string, required)
    ID of the Document to retrieve.

## Response 200 fields (application/json):

  - `id` (string)
    ID of the resource.
    Example: e44aa283528e6fde7d542194

  - `object` (string)
    Enum: "document"

  - `type` (string)
    The type of Document.
    Enum: "cdlis_report", "consent", "credit_report_consent_form", "degree", "diploma", "driver_abstract", "driver_license", "driver_license_back", "driver_license_history", "drug_alcohol_clearinghouse_query_details_document", "drug_screen_donor_pass", "education_certificate", "education_proof", "employment_proof", "government_id", "government_id_back", "health_screening_occupational_health_document", "health_screening_result_certificate", "international_consent_form", "mvr_report", "order_summary_pdf", "passport", "paystub", "pdf_credit_report", "pdf_health_report", "pdf_individualized_assessment", "pdf_professional_license_verification_report", "pdf_report", "pdf_self_disclosure", "pdf_wisconsin_doj", "previous_driver_license", "professional_license_certification_image", "screening_pass", "selfie", "social_media_screening_pdf", "ssn_card", "state_id_card", "state_id_card_back", "tax_form1099", "tax_form_schedule_c", "tax_form_w2", "transcript"

  - `created_at` (string)
    Time at which the Document was created.
    Example: 2015-02-11T20:01:50Z

  - `download_uri` (string)
    JSON encoded URL of the document. This URL is valid for 15 minutes.
    Example: https://checkr-documents.checkr.com/download_path

  - `filesize` (integer)
    File’s size in bytes.
    Example: 8576

  - `filename` (string)
    File’s name.
    Example: 1423684910_candidate_driver_license.jpg

  - `content_type` (string)
    File’s content type.
    Example: image/jpeg

  - `locale` (string)
    Locale of the Document.
    Example: en

## Response 401 fields (application/json):

  - `error` (string)
    Example: Bad authentication error

## Response 403 fields (application/json):

  - `error` (string)
    Example: You do not have permission to access the requested resource

