Last modified: Feb 25, 2026

Custom senders for email and SMS

How to use custom senders in Altinn Notifications.

It is not necessary to use custom senders to send notifications through Altinn Notifications.

If no other configuration exists, the following defaults apply:

Using a custom sender for SMS

It is possible to send SMS with a custom sender by including the sender field in the smsSettings object in the API call for ordering notifications.

See the Bruno test Fulfilling eForv. §8 - custom sender for usage examples.

Important limitations and considerations for SMS senders

  • The sender name is truncated to a maximum of 11 characters. For example, a sender value of “Digitaliseringsdirektoratet” will be shortened to “Digitaliser” as displayed on the user’s phone.
  • If the sender name is (or in the future becomes) protected by third-party products such as SenderID, you must ensure that Altinn/Digitaliseringsdirektoratet is approved as a message producer.

Using a custom domain as the email sender for Altinn Notifications

It is possible to send email with a custom sender by including the senderEmailAddress field in the emailSettings object in the API call for ordering notifications.

See the Bruno test Fulfilling eForv. §8 - custom sender for usage examples.

Before a custom domain can be used as the sender address in API calls, it must go through several steps in a domain registration and verification process:

StepActionPerformed by
1Submit a request to register the domain/senderService owner
2Register the domain and issue verification keysDigdir
3Add DNS records (TXT, SPF, DKIM, DMARC)Service owner
4Verify DNS records and connect the domainDigdir
5Use the domain in API callsService owner

Submit a request to register the domain/sender

Send a support request to tjenesteeier@altinn.no with information that you wish to use a custom sender for Altinn Notifications, and your desired sender address.

Access is granted to explicit addresses, not entire domains. You must specify the exact sender address you wish to use, for example noreply@example.com. It is possible to request multiple addresses.

Add DNS records (TXT, SPF, DKIM, DMARC)

You will receive a UUID that must be added to the DNS configuration for the domain.

RecordTypeNameValue
TXTms-domain-verification=UUIDUUID is unique per environment, so typically 2 records must be added here
SPFTXTv=spf1 include:spf.protection.outlook.com -allExample — the actual configuration may vary based on existing configuration for other email providers
DKIMCNAMEselector1-azurecomm-prod-net._domainkeyselector1-azurecomm-prod-net._domainkey.azurecomm.net
DKIM2CNAMEselector2-azurecomm-prod-net._domainkeyselector2-azurecomm-prod-net._domainkey.azurecomm.net

Consider setting up DMARC. If the domain already has a DMARC policy, verify that it is compatible with email sending from Altinn Notifications.

Notify us once the DNS records have been added. Digdir must complete a validation process before the domain is connected and ready for use.