Using XSOAR API Stoplight

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements

Using XSOAR API Stoplight

L1 Bithead

Anyone tried with Stoplight XSOAR 8 API.

I am trying the APIs listed https://cortex-panw.stoplight.io/docs/cortex-xsoar-8/kjn2q21a7yrbm-get-started-with-cortex-xsoar-8-a... 

However, I am getting 401 Unauthorized on every call. 

I have tried generating new API keys with Instance Admin role as well but no luck.

Tried with python, terminal and Postman, still the same.

 

Cortex XSOAR

1 REPLY 1

L0 Member

@pagnihotriehall wrote:

Anyone tried with Stoplight XSOAR 8 API.

I am trying the APIs listed https://cortex-panw.stoplight.io/docs/cortex-xsoar-8/kjn2q21a7yrbm-get-started-with-cortex-xsoar-8-a... 

However, I am getting 401 Unauthorized on every call. 

I have tried generating new API keys with Instance Admin role as well but no luck.

Tried with python, terminal and Postman, still the same.

 

Cortex XSOAR


If you're receiving a 401 Unauthorized error while using the Stoplight XSOAR 8 API, first ensure that your API key is correctly formatted in the request header as Authorization: ApiKey <your_api_key>. Double-check that the API key has been generated with the appropriate permissions and that it's associated with an account that has the Instance Admin role.

  • 70 Views
  • 1 replies
  • 0 Likes
Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!