{"id":21365176,"url":"https://github.com/altinn/postman-examples","last_synced_at":"2026-01-02T18:05:11.882Z","repository":{"id":48194015,"uuid":"232742206","full_name":"Altinn/postman-examples","owner":"Altinn","description":null,"archived":false,"fork":false,"pushed_at":"2022-07-25T16:02:16.000Z","size":45,"stargazers_count":3,"open_issues_count":0,"forks_count":9,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-01-22T20:08:54.878Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Altinn.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2020-01-09T06:49:52.000Z","updated_at":"2022-07-22T13:48:08.000Z","dependencies_parsed_at":"2022-08-30T01:52:08.449Z","dependency_job_id":null,"html_url":"https://github.com/Altinn/postman-examples","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2Fpostman-examples","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2Fpostman-examples/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2Fpostman-examples/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Altinn%2Fpostman-examples/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Altinn","download_url":"https://codeload.github.com/Altinn/postman-examples/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243841204,"owners_count":20356441,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T07:09:58.685Z","updated_at":"2026-01-02T18:05:11.807Z","avatar_url":"https://github.com/Altinn.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# postman-examples\n\n## Getting started\nInstall Postman (https://www.getpostman.com/). Signing up for an account is not necessary, you can go straight to the app.\n\n### Importing the collection\nIn the top left corner is an *import* button. Either drag the `Altinn.postman_collection.json` file from `postman-examples/Collection` into the window or click *choose files* and select it.\n\n### Importing the environments\nIn the top right corner there is a button with a cog wheel called *manage environments*. Click it, then click the *import* button, then click *choose files*. Select all the json-files in `postman-examples/environments/` and click *open*.\n\nFor more information, go to https://altinn.github.io/docs/api/rest/\n\n### Using enterprise certificate authentication\nWhen using [authentication with enterprise certificates](https://altinn.github.io/docs/api/rest/kom-i-gang/) (link in norwegian only), you must configure a [client certificate in Postman](https://learning.getpostman.com/docs/postman/sending-api-requests/certificates/). For testing in dev environment without TLS-termination, you must supply the certificate in Base64 PEM format (without BEGIN/END headers) in a HTTP header named `X-ENV-SSL_CLIENT_CERTIFICATE` for authorization to take place. \n\nFor all non-dev environments, all requests must include the query parameter `ForceEIAuthentication` in order for TLS client authentication to take place. This is already included in all service owner operations.\n\n### Using Bearer token authentication\nWhen using [authentication with Maskinporten](https://altinn.github.io/docs/api/rest/kom-i-gang/) (link in norwegian only), you must configure the requests in postman for [Bearer token](https://learning.postman.com/docs/sending-requests/authorization/#bearer-token).\nThis can also be combined with the [MaskinportenTokenGenerator](https://github.com/Altinn/MaskinportenTokenGenerator) utility, which can be used to retrieve and set the bearer token on the request through a [pre-request script](https://github.com/Altinn/MaskinportenTokenGenerator#postman-integration).","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltinn%2Fpostman-examples","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faltinn%2Fpostman-examples","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faltinn%2Fpostman-examples/lists"}