Cortex XDR Postman API Collection

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Please sign in to see details of an important advisory in our Customer Advisories area.
L4 Transporter

nhussaini_6-1634869207188.jpeg

 

What is Postman? 

Postman is the collaboration platform for API development. Postman simplifies each step of building an API and streamlines collaboration so you can create better APIs faster, you can download the postman community edition now.

 

Why use Postman? 

Postman is an API client that makes it easy for developers to create, share, test and document APIs. This is done by allowing users to create and save simple and complex HTTP/s requests and read their responses. The result - More efficient and less tedious work.

 

How do I use the XDR Postman collection?

  • Download the zip file attached at the bottom of this post
  • Import the postman collection pack 

 

nhussaini_0-1635298937948.png

 

nhussaini_1-1635298937853.png

 

nhussaini_2-1635298937949.png
 
Set your environment configuration:
 

 

nhussaini_3-1635298938104.png

 

nhussaini_4-1635298938048.png

 

Make sure to add your API Key variables: 
authid = ID
authorizationkey = API Key
URL =  tenant url 

 

If you don't have ID, URL, and API Key please follow the requests here.

 

nhussaini_5-1635298938024.png

 

 
Load your environment: 

 

 

nhussaini_6-1635298937965.png
 
Run a simple test:

 

nhussaini_7-1635298938120.png

 

Postman collection organization

Each Example folder is related to the API endpoints documentation, essentially it's a translation of all current curl examples in XDR documentation to the postman. The additional folder "Use Cases" are functional examples or easy to test requests (that may require small changes depending on your use scenario and environment). 

 

 

nhussaini_8-1635298937955.png

 

API Documentation

For each example API call, you can check the reference to our official documentation:

 

nhussaini_9-1635298937903.png

 

Also, you can access all references going to the documentation summary:

 

nhussaini_10-1635298938056.png

 


 

Palo Alto Networks Contributor:

Tiago VilasCortex Customer Success Architect 

 

7 Comments
L0 Member

Hi, where can I get XDR 3.0 Postman API Collection v1.1.postman_collection.json (1).zip? Link doesn't work... 😕

L7 Applicator

@Marcin.Rozycki  Which link are you trying to use? 

Please click the arrow down and try again. 

jdelio_0-1638312531423.png

 

I just did this and it worked fine. 

 

L0 Member

Hi, could you please explain how to use advanced API keys in postman ? 

Thank's

L1 Bithead

Hi - I am getting 401 Unauthorized, could someone please help me. I have the following environment variables authid, authorizationkey & url defined. Thanks.

L1 Bithead

Hi, i have the same issue, i check and review again all parameters, url , api key and authid but the result its the same 401 Unauthorized.

 

please your help. @nhussaini @SKodi 

L1 Bithead

Hello  there, 

@SKodi @MarceloM 

 

Could you please double-check if your initial value is empty? Your postman environment should have only the current value fulfilled.

tvilas_0-1664377654641.png

 

 

 

L5 Sessionator
  • 6673 Views
  • 7 comments
  • 2 Likes
Register or Sign-in
Labels
Top Liked Authors