{"id":38057406,"url":"https://github.com/veracode/veracode-postman","last_synced_at":"2026-01-16T20:26:11.457Z","repository":{"id":104241052,"uuid":"486734019","full_name":"veracode/veracode-postman","owner":"veracode","description":"Use Veracode APIs from Postman","archived":false,"fork":false,"pushed_at":"2025-01-31T18:35:18.000Z","size":56,"stargazers_count":16,"open_issues_count":1,"forks_count":26,"subscribers_count":6,"default_branch":"main","last_synced_at":"2025-08-12T22:49:21.850Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/veracode.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"contributing.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-04-28T20:07:40.000Z","updated_at":"2025-07-22T17:26:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"9c9addcb-dc4d-4983-9a00-92509db7ea62","html_url":"https://github.com/veracode/veracode-postman","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/veracode/veracode-postman","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veracode%2Fveracode-postman","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veracode%2Fveracode-postman/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veracode%2Fveracode-postman/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veracode%2Fveracode-postman/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/veracode","download_url":"https://codeload.github.com/veracode/veracode-postman/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/veracode%2Fveracode-postman/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28482267,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-16T11:59:17.896Z","status":"ssl_error","status_checked_at":"2026-01-16T11:55:55.838Z","response_time":107,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2026-01-16T20:26:10.781Z","updated_at":"2026-01-16T20:26:11.439Z","avatar_url":"https://github.com/veracode.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cpicture\u003e\n    \u003csource media=\"(prefers-color-scheme: dark)\" srcset=\"https://raw.githubusercontent.com/veracode/veracode.github.io/aed0a49cd8b08056e6093232a29f49791bf21432/assets/images/veracode-white-hires.svg\" height=\"200\" width=\"200\"\u003e\n    \u003csource media=\"(prefers-color-scheme: light)\" srcset=\"https://raw.githubusercontent.com/veracode/veracode.github.io/aed0a49cd8b08056e6093232a29f49791bf21432/assets/images/veracode-black-hires.svg\" height=\"200\" width=\"200\"\u003e\n    \u003cimg alt=\"Veracode Logo\" src=\"https://raw.githubusercontent.com/veracode/veracode.github.io/aed0a49cd8b08056e6093232a29f49791bf21432/assets/images/veracode-black-hires.svg\" height=\"200\" width=\"200\"\u003e\n\u003c/picture\u003e\n\n# Accessing Veracode APIs with Postman\n\n## Overview\n\nUsing [Veracode APIs](https://docs.veracode.com/r/c_gettingstarted) with Postman requires initial configuration to accommodate HMAC signing. Below are instructions for getting up and running with Veracode APIs in Postman.\n\n## Before You Begin\n\n### Generate Token Credentials\n\nIf you have not does so, please follow these steps to generate the necessary API Token Credential to use with Postman. This will be required for providing the variables of *api_id* and *api_key*.\n\n1. [Generate API credentials](https://docs.veracode.com/r/t_create_api_creds) for your Veracode user.\n2. Store the credential information is  a safe place or as a [credential file](https://docs.veracode.com/r/c_configure_api_cred_file) for use with Veracode products.\n\n## Postman Example\n\nThese instructions will help you quickly setup the Postman example provided by Veracode. The example provides all the necessary scripts, environments, variables and collection request examples to start using Postman against Veracode APIs.\n\nThe content used for this example is located [here](https://github.com/veracode/veracode-postman/tree/main) The content consist of a Collection, Environment and pre-request script.\n\n- [Environment](https://github.com/veracode/veracode-postman/blob/main/Veracode.postman_environment.json)\n- [Example Collection](https://github.com/veracode/veracode-postman/blob/main/Veracode%20Example.postman_collection.json)\n- [Pre-request script](https://github.com/veracode/veracode-postman/blob/main/pre-request.js)\n\n### Setup Postman Example\n\n1. Install Postman on your machine. You can download from the [Postman web site](https://www.postman.com/downloads/).\n2. Create a Postman Workspace or use an existing one\n3. In the Postman **Environments** section (left nav) select the *import* button.\n4. Drag and drop or navigate to the the **Veracode.postman_environment.json**\n5. Select the new **Veracode** environment that is listed\n6. Update the following variables as type *secret*\n   - *api_id* : (set to your Veracode API ID)\n   - *api_key* : (set to your Veracode API Key)\n7. Update both the initial value and current value or update initial value and persist to current value\n8. Save changes to environment variables\n\n\u003e More information about secrets and environment variables, see the [Postman docs](https://blog.postman.com/introducing-secret-variable-type-in-postman/)\n\n8. In the Postman **Collections** section (left nav) select the import button.\n9. Drag and drop or navigate to the the ***Veracode Example.postman_collection.json**\n\n10. In the upper right hand corner set the environment drop down to **Veracode**\n\nNow you should be able to run any of the request without any additional configuration. Enjoy!\n\n### Setup Postman Manually\n\n1. In the **Authorization** tab, select `Digest Auth`.\n2. In the **Pre-Request Scripts** tab, paste in the script found in [pre-request.js](https://github.com/veracode/veracode-postman/blob/main/pre-request.js).\n3. Create an environment that contains the secret variables **api_id** and **api_key**\n4. *Recommended*: In the Variables tab, define a variable called `base_url` and enter the base URL for your API calls. The base URL depends on your region and is documented in the **REST APIs** section in the [Region Domains for Veracode Services](https://docs.veracode.com/r/Region_Domains_for_Veracode_APIs).\n\n## Usage\n\n1. Go to the newly created collection and choose **Add Request** from the …. menu.\n1. Give the request a name and click **Save to [Collection Name]**.\n1. Click on the newly created request and enter the request information in the URL fields at the top.\n    1. Choose the `HTTP` method.\n    1. *Recommended*: Enter the URL in the format `{{base_url}}/url-string`. For instance, to get information about the currently signed in user, enter `{{base_url}}/api/authn/v2/users/self`. (Note that this requires you to define `base_url` in the **Variables** tab for your collection.)\n1. Click on the **Authorization** tab and verify that it is set to `Inherit auth from parent`.\n1. Add any other information required by the request such as a body.\n1. Click **Send**.\n\n## License\n\n[![MIT license](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)\nSee the [LICENSE](https://github.com/veracode/.github/blob/main/LICENSE) for details\n\n## Acknowledgements\n\nThis work is indebted to [CTCampbell](https://github.com/ctcampbell)'s initial example for how to authenticate with Postman.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveracode%2Fveracode-postman","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fveracode%2Fveracode-postman","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fveracode%2Fveracode-postman/lists"}