Splunk Enterprise

403 Forbidden with Post install an app Splunk Rest API route

mylarehman
New Member

Hello Splunk Community

I am writing a c# .net core API to install the Splunk app. I was able to install the app via postman call successfully. Now, I am automating the same call via c#. The request headers generated by Postman and C# API to install the app route match to be exactly the same, however, when I call this route https://docs.splunk.com/Documentation/SplunkCloud/8.2.2201/Config/ManageApps#Install_an_app via my API, I keep getting 403 Forbidden. I know the tokens I am passing are correct, and ACL-Legal-Ack flag is set to Y. What else could be missing that is throwing this error?

Labels (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...