Last modified: Dec 11, 2025

Create a new system in system register

API for the vendor to create a system in the system register

Create a new system

Endpoint

POST authentication/api/v1/systemregister/vendor

Scopes

Maskinporten token with scope altinn:authentication/systemregister.write

Content types

application/json

Request Body

For detailed description about each entity in the body, please refer the description here

Important: clientId must be a relevant client ID that is defined on the Maskinporten client of the system vendor or those who will retrieve the system user token. clientId is required for you to be able to create a System User that you can retrieve a system user token for.

{
  "id": "",
  "vendor": {
    "authority": "iso6523-actorid-upis",
    "ID": ""
  },
  "name": {
    "nb": "",
    "en": "",
    "nn": ""
  },
  "description": {
    "nb": "",
    "en": "",
    "nn": ""
  },
  "rights": [
    {
      "resource": [
        {
          "id": "urn:altinn:resource",
          "value": ""
        }
      ]
    },
    {
      "resource": [
        {
          "id": "urn:altinn:resource",
          "value": ""
        }
      ]
    }
  ],
  "clientId": [
    ""
  ],
  "allowedredirecturls": [
    "",
  ],
  "isVisible": ""
}

Error Codes

Error CodeStatus CodeError MessageDetailed Description
AUTH.VLD-00000400the org number identifier is not valid ISO6523 identifierThe organization identifier must be 0192, f.ex 0192:991825827
AUTH.VLD-00001400The system id does not match the format orgnumber_xxxx…The systemid is expected to be in the format vendororgnumber_xxxxxx
AUTH.VLD-00002400The system id already existsThe system id is already taken
AUTH.VLD-00003400One or all the resources in rights is not found in altinn’s resource registerAny service outside altinn must be registered as a resource in altinn’s resource register. Either the service provider has failed to register the resource or is specified wrong in the system register request.
AUTH.VLD-00004400One of the client id is already tagged with an existing systemThe ClientId can be tied to only one organisation. The vendor must use a different client id for the new system.
AUTH.VLD-00005400One or more of the redirect urls format is not valid. The valid format is https://xxx.xx-
AUTH.VLD-00006400One or more duplicate rights foundCehck your rights section and eliminate any duplicate app/resource
AUTH.VLD-00007400One or more duplicate access package(s) foundThe system id is already taken
AUTH.VLD-00008400One or all the accesspackage(s) is not found in altinn’s access packages or is not a part of REGN/REVI/Forretningsfører rollerThe system id is already taken
AUTH.VLD-00009400One or more resource id is in wrong format. The vlaid format is urn:altinn:resource-

Examples

System with app and resource defined

{
  "id": "991825827_systemwithappandresource",
  "vendor": {
    "authority": "iso6523-actorid-upis",
    "ID": "0192:991825827"
  },
  "name": {
    "nb": "System med app og ressurs",
    "en": "System With App and Resource",
    "nn": "System med app og ressurs"
  },
  "description": {
    "nb": "Test system with app and resource",
    "en": "Test system with app and resource",
    "nn": "Test system with app and resource"
  },
  "rights": [
    {
      "resource": [
        {
          "id": "urn:altinn:resource",
          "value": "app_ttd_endring-av-navn-v2"
        }
      ]
    },
    {
      "resource": [
        {
          "id": "urn:altinn:resource",
          "value": "ske-krav-og-betalinger"
        }
      ]
    }
  ],
  "clientId": [
    "087fc0e3-674f-4eaa-aea2-75e3369463e5"
  ],
  "allowedredirecturls": [
    "https://vg.no",
    "https://nrk.no",
    "https://altinn.no"
  ],
  "isVisible": true
}

System with access package

{
  "id": "991825827_systemwithaccesspackageandresource",
  "vendor": {
    "authority": "iso6523-actorid-upis",
    "ID": "0192:991825827"
  },
  "name": {
    "nb": "The Matrix",
    "en": "The Matrix",
    "nn": "The Matrix"
  },
  "description": {
    "nb": "Test system",
    "en": "Test system",
    "nn": "Test system"
  },
  "accessPackages": [
    {
      "urn": "urn:altinn:accesspackage:skattnaering"
    }
  ],
  "rights": [
    {
      "resource": [
        {
          "id": "urn:altinn:resource",
          "value": "ske-krav-og-betalinger"
        }
      ]
    },
    {
      "resource": [
        {
          "id": "urn:altinn:resource",
          "value": "app_ttd_endring-av-navn-v2"
        }
      ]
    }
  ],
  "clientId": [
    "32ef65ac-6e62-498d-880f-76c85c2052ae"
  ],
  "allowedredirecturls": [
    "https://vg.no",
    "https://nrk.no",
    "https://altinn.no"
  ],
  "isVisible": true
}