What is Postman
Postman is a free Google Chrome extension that can be used for testing and experimenting with web-services
You can find the latest postman collection file for R80 Security Management API here postman_collection.json
Installation
1) Launch "Google Chrome" and enter "chrome://apps" in the URL bar.
![image2016-3-23 13_43_54.png image2016-3-23 13_43_54.png](https://community.checkpoint.com/t5/image/serverpage/image-id/1998i9D4964D17DB3A6C2/image-size/large?v=v2&px=999)
2) Open "Web Store"
3) Search for "Postman"
![image2016-3-23 13_49_8.png image2016-3-23 13_49_8.png](https://community.checkpoint.com/t5/image/serverpage/image-id/1999i3E9E404F4F160390/image-size/large?v=v2&px=999)
4) Click on "Add to Chrome" and the following should appear:
![image2016-3-23 13_50_55.png image2016-3-23 13_50_55.png](https://community.checkpoint.com/t5/image/serverpage/image-id/2000i42B99B5889988AE6/image-size/large?v=v2&px=999)
5) Add the app and then click on "Launch App"
Setup Postman to work with the R80 Security Management API
1) You can import a list of APIs into your Postman environment using Postman's "collection" feature. This stored list of APIs can help you avoid syntax errors and save you time finding APIs. The various Postman collections can be found as follows:
2) Launch Postman, and click on the "import collection" button.
![image2016-3-23 14_6_49.png image2016-3-23 14_6_49.png](https://community.checkpoint.com/t5/image/serverpage/image-id/2001i42C7F367E0819A31/image-size/large?v=v2&px=999)
3) Select "choose files" and select the collection file that you have. After selecting the file, you should see something like this:
![](https://community.checkpoint.com/legacyfs/online/checkpoint/53154_pastedImage_17.png)
4) On the left part of the screen, you should now see the text similar to "Web API – take hero3– 991000104". Click on this text, to see the list of API calls grouped by categories.
![image2016-3-23 14_10_39.png image2016-3-23 14_10_39.png](https://community.checkpoint.com/t5/image/serverpage/image-id/2002i79709A912945A849/image-size/large?v=v2&px=999)
5) To set-up the environment variable, click on "Manage environments" and click on add
----> ![image2016-3-23 14_19_24.png image2016-3-23 14_19_24.png](https://community.checkpoint.com/t5/image/serverpage/image-id/2004i15576A87560A06C4/image-size/medium?v=v2&px=400)
6) Add a key called "server" and set it with the value: https://<your-mgmt-ip-address>/web_api
7) Add a key called "session", you can leave its value empty.
😎 Click the "Add" button, to exit this dialog.
9) Click the "X" button to exit the “Manage Environments” screen
![image2016-3-23 14_23_45.png image2016-3-23 14_23_45.png](https://community.checkpoint.com/t5/image/serverpage/image-id/2006iCA68E4FC02A7D77F/image-size/large?v=v2&px=999)
Activating and testing the R80 Security Management API
1) Open SmartConsole R80, and login to the R80 Security Management
2) When the GUI is opened, go to : Manage & settings -> Blades -> Management API -> Advanced Settings
3) Check “Automatic start”, and pick “All IP Addresses that can be used for GUI clients or All IP addresses”.
4) Press OK
![image2016-3-23 14_29_7.png image2016-3-23 14_29_7.png](https://community.checkpoint.com/t5/image/serverpage/image-id/2007i0670BFC0F405B2ED/image-size/large?v=v2&px=999)
5) Publish
6) Run the command api reconf from clish
7) Make sure the management API server is up and running. Browse to: https://<your-mgmt-ip-address>/api_docs/
You need to accept the self signed certificate warning
![image2016-3-23 14_42_50.png image2016-3-23 14_42_50.png](https://community.checkpoint.com/t5/image/serverpage/image-id/2008i650EA51CD11EDBBB/image-size/large?v=v2&px=999)
😎 You should now see the R80 Management API reference guide
![image2016-3-23 14_44_9.png image2016-3-23 14_44_9.png](https://community.checkpoint.com/t5/image/serverpage/image-id/2010i78D12236B5AE2645/image-size/large?v=v2&px=999)
9) In Postman:
(A) change the postman environment to the one you set in the previous step.
(B) locate the "Login" command in the list of APIs on the left and click on it.
(C) Change the values for the user-name and password.
(D) Click on the "send" button
![image2016-3-23 14_49_16.png image2016-3-23 14_49_16.png](https://community.checkpoint.com/t5/image/serverpage/image-id/2011iDF21E924FBCE7FEB/image-size/large?v=v2&px=999)
10) The output of the "Login" command contains a session-ID (sid) value. This value should be used by all other API calls in the same session as a way to prove the authenticity of the user behind the API call. To set the session-ID for subsequent API calls select the sid value, right click and select "Set:" -> "session".
![image2016-3-23 14_56_47.png image2016-3-23 14_56_47.png](https://community.checkpoint.com/t5/image/serverpage/image-id/2012i92BBF18C870C463A/image-size/large?v=v2&px=999)
11) You're done! Choose any other API calls from the collection and run it.