Publisert - 23.11.2026

Status of a birth message

When a birth is registered, the system forwards the message asynchronously to the National Population Register (Folkeregisteret). The status of the message can be fetched from two endpoints:

  • GET /v1/birth/{messageId} – status of a single message by message ID
  • POST /v1/birth/get-by-hospital-child-identification-number – status of all messages with a given hospital identification number

Both endpoints require read access: scope nhn:birthsystem/read (see Authentication).

Lifecycle

stateDiagram-v2
    [*] --> Received: birth registered
    Received --> SentToTaxOffice: message sent to the Population Register
    SentToTaxOffice --> Approved: approved by the Population Register
    SentToTaxOffice --> Denied: denied by the Population Register
    SentToTaxOffice --> Rejected: rejected by the Population Register
    SentToTaxOffice --> Cancelled: cancelled by the Population Register
    SentToTaxOffice --> ManualReview: sent for manual processing

Status values

Status (JSON value) Meaning
Received The message has been received and stored, but has not yet been sent to the Population Register.
SentToTaxOffice The message has been sent to the Population Register and is awaiting a response.
Approved The Population Register has approved the message. The child's NIN is available in childNin.
Denied The Population Register has denied the message.
Rejected The Population Register has rejected the message.
Cancelled The case has been cancelled at the Population Register.
ManualReview The case has been sent for manual processing at the Population Register. A decision may follow later.

Note

The child's NIN (childNin) is set when the Population Register has approved the message and registered the person. For all other status values, childNin is null.

Get status by message ID

GET /v1/birth/{messageId}

GET /v1/birth/6d0a3f2e-1b4c-4d5e-8f90-a1b2c3d4e5f6
Authorization: DPoP <access_token>
DPoP: <dpop_proof>

200 OK

Field Type Description
messageId GUID The ID of the message.
hospitalChildIdentificationNumber string The hospital's identifier for the child.
messageStatus string The current status. See Status values.
childNin string/null The child's NIN, available when the status is Approved.
{
    "messageId": "6d0a3f2e-1b4c-4d5e-8f90-a1b2c3d4e5f6",
    "hospitalChildIdentificationNumber": "12345678910",
    "messageStatus": "Approved",
    "childNin": "15102623220"
}

400 Bad Request

messageId is not a valid GUID, or is an empty GUID. The response has the same format as for registration.

404 Not Found

No birth message exists with the given message ID.

Get status by the hospital's identification number

POST /v1/birth/get-by-hospital-child-identification-number

Request:

{
    "hospitalChildIdentificationNumber": "12345678910"
}

200 OK

A list of the matching messages (the list can be empty). Each element has the same structure as the response by message ID:

[
    {
        "messageId": "6d0a3f2e-1b4c-4d5e-8f90-a1b2c3d4e5f6",
        "hospitalChildIdentificationNumber": "12345678910",
        "messageStatus": "Approved",
        "childNin": "15102623220"
    }
]

400 Bad Request

hospitalChildIdentificationNumber is missing or empty, or the request is not valid JSON. The response has the same format as for registration.

Note

A correction is a new message with its own messageId (see Registering a birth). If you use the same hospitalChildIdentificationNumber as in the original message, this endpoint will return both the original message and the correction.

Under development.

Forwarding to and processing in the Population Register is asynchronous, so it can take time before the message reaches a final status (Approved, Denied, Rejected or Cancelled). The status ManualReview means the case is being processed manually at the Population Register and may change.

Søk i Utviklerportalen

Søket er fullført!