Authorisation snapshot
check_authorizationCheck the calling consumer's delegation on a Norwegian organization, returning status (full, partial, none) and listing granted or missing scopes.
Instructions
Return the authorisation snapshot for the calling consumer's delegation on a Norwegian organisation: the status enum (full / partial / none), missing_scopes (empty on full), granted_scopes, and the delegation_chain breadcrumbs. To check whether a SPECIFIC action is permitted, compare granted_scopes to the scopes it requires. Always runs against the calling consumer — no per-action or per-actor input at v1. Always a 200: with no delegation the verdict is status: "none", never a 404. Input: { org_number } (9 digits, MOD-11). Failure modes: SCOPE_INSUFFICIENT (needs read:altinn), VALIDATION_FAILED. For a SPECIFIC person's actions, use list_acting_capacity instead. Before a live execute, use validate_action to preflight the same delegation rule at zero upstream cost. For the per-agent-principal breakdown, use check_fullmakt; for statutory signing authority, use get_company_authority. No sandbox mirror. Docs: https://www.apier.no/docs/fullmakt
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| org_number | Yes | 9-digit Norwegian organisasjonsnummer (passing MOD-11) the calling consumer's delegation is checked against. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| _meta | No | ||
| result | Yes | The authorisation snapshot for the calling consumer's delegation on the organisation: status enum, missing_scopes, granted_scopes, and the delegation_chain breadcrumbs. | |
| metadata | Yes | ||
| justification | Yes |