Last modified: May 7, 2026

Events in Altinn 3 Correspondence

How to get started subscribing to Events from Altinn 3 Correspondence, for developers

    In order to use events/webhooks for a Correspondence resource, you need to setup a subscription for the given resource. This subscription is used to configure the endpoint where the events published by correspondence end up.

    All Events published by Altinn Correspondence follow the same pattern:

    {
     "id": "1faa107f-3c0a-4fa6-9fce-7cee8838e258",
     "resource": "urn:altinn:resource:altinn-correspondence-test-resource-1",
     "resourceinstance": "da4ceacc-ad44-4e54-99b6-b58e3c13c785",
     "source": "https://platform.tt02.altinn.no/correspondence/api/v1/correspondence",
     "specversion": "1.0",
     "type": "no.altinn.correspondence.correspondencepublished",
     "subject": "urn:altinn:organization:identifier-no:123456789",
     "alternativesubject": "/organisation/123456789",
     "time": "2024-04-19T07:22:19.438039Z"
    }
    

    Event Subscription

    This subscription is used to configure the endpoint where the events published by correspondence end up. You can read more about how to setup an Events subscription in Altinn Events here.

    For service owners, you are required to set up the following filter:

    • resourceFilter
      • “urn:altinn:resource:” + The Resource Id for the Correspondence Resource

    For recipients, you are required to set up the following filters:

    • resourceFilter
      • “urn:altinn:resource:” + The Resource Id for the Correspondence Resource
    • subjectFilter
      • “urn:altinn:organization:identifier-no:{{recipient_orgnumber}}”

    SubjectFilter is used to restrict the event to only the authorized recipient for that particular event, this ensures security and reduces visibility.

    Resourceinstance will always be the same as the CorrespondenceId of the Correspondence.

    The source for events produced by Correspondence is:

    In addition you may wish to use filters for Type, so that you receive the event types you are interested in/can perform actions on. If you do not specify a Type Filter you will receive all the different types of events if you have access to them.

    For service owners:

    EventWhenUsage
    no.altinn.correspondence.attachmentinitializedAttachment has been created and is awaiting uploadConfirmation that attachment has been initialized
    no.altinn.correspondence.attachmentpublishedAttachment has passed malware scanning and is ready for useConfirmation that attachment is available and can be used in new correspondences
    no.altinn.correspondence.attachmentuploadfailedAttachment failed malware scanningNotification that the attachment has been rejected
    no.altinn.correspondence.attachmentexpiredAttachment expiration time has passed, it is no longer available to the recipient and cannot be used in new correspondencesConfirmation that attachment has expired
    no.altinn.correspondence.correspondenceinitializedCorrespondence has been initializedConfirmation that correspondence has been initialized
    no.altinn.correspondence.correspondencepublishedCorrespondence has been published and is available to the recipientConfirmation and notification that correspondence has been successfully published
    no.altinn.correspondence.correspondencepurgedCorrespondence has either been purged by the recipient after publishing, or by the service owner before publishingNotification that correspondence has been purged
    no.altinn.correspondence.correspondencepublishfailedCorrespondence publish failedNotification that correspondence failed before publish and will not be made available to the recipient
    no.altinn.correspondence.notificationcreatedNotification order has been created in Altinn NotificationConfirmation that notification has been ordered
    no.altinn.correspondence.correspondencenotificationcreationfailedCreation of notification order failed, for example because recipient was missing contact informationNotification that the notification order was not successfully placed. Consider follow-up
    no.altinn.correspondence.correspondencenotificationfailedDelivery to one or more notification addresses failed (partial failure)At least one address was successfully notified, but not all. Consider follow-up
    no.altinn.correspondence.correspondencenotificationallfailedDelivery to all notification addresses failed — recipient was not notifiedNotification that the recipient was not successfully notified. Consider follow-up
    no.altinn.correspondence.correspondencenotificationdeliveredThe initial notification has been confirmed deliveredConfirmation that recipient has been notified
    no.altinn.correspondence.correspondencenotificationreminderdeliveredThe reminder notification has been confirmed deliveredConfirmation that reminder has been sent

    For each recipient:

    EventWhenUsage
    no.altinn.correspondence.correspondencepublishedCorrespondence has been published and is availableRecipient can fetch the content
    no.altinn.correspondence.correspondencereceiverreadRecipient has read the correspondenceTrack read status
    no.altinn.correspondence.correspondencereceiverconfirmedRecipient has confirmed the correspondenceTrack confirmation of correspondence
    no.altinn.correspondence.correspondencereceiverneverreadDue date passed without the recipient reading the correspondenceTrigger reminders or escalation flow
    no.altinn.correspondence.correspondencereceiverneverconfirmedDue date passed without the recipient confirming the correspondenceTrigger reminders or escalation flow