I signed up for a trial of Customer Insights, and I would like to try out API access. I reviewed the swagger, but I have been unable to figure out how to actually authenticate to the API. Is there documentation for how to configure this?
Hi Lucas,
Were you able to successfully test the API from a trial instance?
Hi Red,
Thanks for the reply. My problem is in setting up API access from an external client like Postman to a trial instance of CI. I had started to set up an app registration in Azure AD to use OAuth for authentication, but keep getting errors like "Your organization does not have a subscription (or service principal) for the following API(s): Customer Insights."
I'm not sure if you're asking how to authenticate on the Swagger page itself or outside it.
As I'm sure you've found the API docs at docs.microsoft.com/.../pm-apis are a bit short on auth info.
As far as Swagger goes, following the documentation idratherbewriting.com/.../pubapis_swagger.html and clicking the "Authorize" button pre-filled the client_id field for me and just checked the apiAcess scope
I took a Fiddler trace during a Customer Insights swagger auth session and it looks like it's using standard v1.0 AAD endpoint / ADAL patterns outlined at docs.microsoft.com/.../sample-v1-code . Let me know if you need more help in a specific language and I can see if I can knock up a quick example.
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
As AI tools become more common, we’re introducing a Responsible AI Use…
We are honored to recognize Andrés Arias as our Community Spotlight honoree for…
These are the community rock stars!
Stay up to date on forum activity by subscribing.
Daniyal Khaleel 143
DAnny3211 134
Abhilash Warrier 70 Super User 2025 Season 2