---
title: "Henter et gitt dokument"
method: GET
path: "/dokument/{soknadId}/{dokumentId}"
tags: ["dokument-controller"]
---

# Henter et gitt dokument

`GET /dokument/{soknadId}/{dokumentId}`

## Request

- Base URL: `http://localhost:8181/sosialhjelp/soknad-api`
- URL: `http://localhost:8181/sosialhjelp/soknad-api/dokument/{soknadId}/{dokumentId}`
- Auth: none declared

## Path parameters

- `soknadId` string, uuid, required
- `dokumentId` string, uuid, required

## Response `200`

Dokumentet ble funnet og returneres

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Filen ble ikke funnet
- `409`: Conflict
- `413`: Content Too Large
- `500`: Internal Server Error

## Changes

- **2026-06-17** `6cfc1227636d`: 2 warning
  - added the new `AntallSoknaderSendt` enum value to the `error` response property for the response status `409`
  - added the new `AntallSoknaderSendt` enum value to the `error` response property for the response status `413`
- **2026-06-15** `6091ce25560a`: 4 breaking
  - the response property `id` became nullable for the status `409`
  - the response property `id` became nullable for the status `413`
  - the response property `message` became nullable for the status `409`
  - the response property `message` became nullable for the status `413`
- **2025-12-10** `0bbf892216a9`: 2 warning
  - added the new `SokerUnder18` enum value to the `error` response property for the response status `409`
  - added the new `SokerUnder18` enum value to the `error` response property for the response status `413`
- **2025-05-28** `2a8af1b06ae5`: 2 warning
  - added the new `NoAccess` enum value to the `error` response property for the response status `409`
  - added the new `NoAccess` enum value to the `error` response property for the response status `413`
- **2025-05-22** `498fb43238cc`: 1 info
  - added the non-success response with the status `500`

[Operation history](https://skmtc.dev/navikt/apis/nav-it-soknad-new-api/changes/dokument/:soknadId/:dokumentId/get.md)

---

[API](https://skmtc.dev/navikt/apis/nav-it-soknad-new-api.md) - [All operations](https://skmtc.dev/navikt/apis/nav-it-soknad-new-api/llms.txt) - [OpenAPI document](https://skmtc.dev/navikt/apis/nav-it-soknad-new-api/revisions/6cfc1227636d?raw)
