In order make it easy to get started interacting with the Snow Atlas API, Snow makes a Postman collection available for import.
Prepare Atlas API Access
Prepare Postman
Test Connections
Common Errors
Prepare Atlas API Access
Follow the procedure below to create an application registration you will use to access the Atlas API.
- Login to Atlas.
- Browse to Snow Atlas Settings > Application registrations and click Create registration.
- Provide a meaningful Name and optional Description to help you identify the purpose of this application registration in the future.
- Under the Permissions section, select the API areas you wish to be available to this application registration. Only data available from related endpoints will be available.
- Click Create >. The page refreshes to the Credentials section.
- Record the Client ID, and Client secret securely. This information will be used in the next section.
- Click Close.
The application registration you created now appears in the list.
Prepare Postman
Next, take the information from the previous section and use it with Postman.
- Download the Snow Atlas Postman collection.
- Download and install Postman on your workstation. Alternatively, you can use Postman in your browser as a SaaS product.
- Register a Postman account and launch locally. You will be prompted to confirm your address via an activation email.
- Postman uses workspaces to segregate your activity, usually by the products for which you are doing the testing. You can use the default My Workspace for all Snow API activity, or create multiple workspaces to your preference.
- From the Workspaces menu, choose the workspace you will use for Snow API activity.
- Beside the workspace name, choose Import.
- Drag and drop the extracted Snow Atlas Postman collection from step 1 onto the dialog that opens.
- When the import is completed, you will now see a Snow_Atlas collection in your workspace. Select it to open the collection to its Overview page.
- Switch to the Variables tab.
- Confirm the Region matches your Atlas instance (currently westeurope, eastus2, and australiasoutheast are valid choices). Add the Client ID and Client secret values recorded in the previous section.
- Click
to save your settings.
- Under the Snow_Atlas collection, select Post Get-Token. Click Send.
- Note the access_token value from the response body.
- Return to the Variables tab for the collection and confirm it's been populated. Tokens are valid for 30 minutes, and there is a limit to how many times tokens can be requested each 30 minutes. To refresh your token, follow Step 10 again.
Retrieving a token means that you have successfully accessed the API, but the Postman collection includes a number of basic tests to retrieve common information detailed in the next section.
Test Connections
- Get Computers returns a paginated list of computers
- Get Licenses returns a paginated list of licenses
- Get Users returns a paginated list of users
- Get Custom Objects returns a paginated list of custom objects
To do so, follow the instructions below.
- If it has been more than 30 minutes since you last refreshed your token in Postman, do so following the procedure in the previous section.
- Select the test to run and click Send.
- Review the results in the Body section.
If you experience any failures, please refer to the error index below for assistance.
Common Errors
Message: idp: token is invalid or expired
Meaning: This indicates that the current token is no longer valid.
Resolution: Refresh your token using Get-token and confirm the results match on the variables page. Save the new token and try your operation again.
Message:Too many requests, please try later.
Meaning: This indicates that too many token refresh attempts have been made within 30 minutes.
Resolution: Wait 30 minutes from your last attempt before requesting a new token. Note that this can be distinguished from issues with hitting a rate limiter because those will specifically report what's happened.
Message: Scope 'some.permission.r' is required but not found in token
Meaning: This indicates that the application registration used requires the named permission, but does not have it.
Resolution: Edit the application registration to provide the named permission and try your operation again.
See Also
Related Articles
Snow Atlas SAM: New UI and Write API enhancements 17Number of Views How to allow Snow Support access to your Snow Atlas environment 113Number of Views Snow Atlas integration with Snow Risk Monitor 61Number of Views Using Postman to Execute a Project Data Import in Code Insight 9Number of Views How to configure PingOne for Snow Atlas SSO 43Number of Views
Hi, I am Reva - Ask me anything.
No new updates
Thanks for the feedback!
Your feedback has been saved.Rate this response:
Add Additional feedback ( Optional )
Are you sure you want to cancel
the case creation?
Are you sure you want to cancel the case creation?
Are you sure you want to close this case
| Products | Region | Phone Numbers |
|---|---|---|
| FlexNet Operations FlexNet Embedded FlexNet Publisher FlexNet Connect FlexNet Code Insight InstallAnywhere InstallShield |
North America * |
+1 630-332-2513 (toll) +1 877-279-2853 (toll-free in North America) |
| Europe * |
+44 1925 944367 (toll) +44 800 047 8642 (toll-free in Europe) |
|
| Japan * | +81 3-4540-5335 (select option 2) | |
| Australia * |
+61 3 9895 2177 +61 1800 560 603 (toll-free in Australia) |
|
|
Usage Intelligence (formerly
Revulytics) Compliance Intelligence |
Please use the Case Portal to submit your support ticket or reach out to your Revenera contact. | |
Case id: 00001065
Activity: Status change: 2 hours ago