---
title: "Konverterer vedlegg til PDF"
method: POST
path: "/vedlegg/konverter"
tags: ["file-converter-controller"]
---

# Konverterer vedlegg til PDF

`POST /vedlegg/konverter`

## Request

- Base URL: `http://localhost:8181/sosialhjelp/soknad-api`
- URL: `http://localhost:8181/sosialhjelp/soknad-api/vedlegg/konverter`
- Auth: none declared

## Request body `multipart/form-data`

- object
  - `file` string, binary, required

## Response `200`

Vedlegg konvertert til PDF

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `404`: Not Found
- `409`: Conflict
- `413`: Content Too Large
- `500`: Internal Server Error

## Changes

- **2026-06-17** `ffdc5a00cb3c`: 3 warning
  - added the new `AntallSoknaderSendt` enum value to the `error` response property for the response status `404`
  - 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** `86aac09dc873`: 6 breaking
  - the response property `id` became nullable for the status `404`
  - 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 `404`
  - …2 more
- **2025-12-10** `b987aa39fc83`: 3 warning
  - added the new `SokerUnder18` enum value to the `error` response property for the response status `404`
  - 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** `addcb6a06de9`: 3 warning
  - added the new `NoAccess` enum value to the `error` response property for the response status `404`
  - 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`
- …earlier changes not shown

[Operation history](https://skmtc.dev/navikt/apis/nav-it-soknad-old-api/changes/vedlegg/konverter/post.md)

---

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