---
title: "POST /informasjon/actions/logg"
method: POST
path: "/informasjon/actions/logg"
tags: ["informasjon-ressurs"]
---

# POST /informasjon/actions/logg

`POST /informasjon/actions/logg`

## Request

- Base URL: `http://localhost:8181/sosialhjelp/soknad-api`
- URL: `http://localhost:8181/sosialhjelp/soknad-api/informasjon/actions/logg`
- Auth: none declared

## Request body

- Logg
  - `level` 'ERROR' | 'WARN' | 'INFO', required
  - `message` string, nullable
  - `jsFileUrl` string, nullable
  - `lineNumber` string, nullable
  - `columnNumber` string, nullable
  - `url` string, nullable
  - `userAgent` string, nullable

## Response `200`

OK

## 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, 6 info
  - 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`
  - …8 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/informasjon/actions/logg/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)
