Powershell API key authentication

Hi!

I'm new to Community API calls and I'm trying to write a simple Powershell script using API key authentication. The user that was used to create the key is an admin with the correct API permissions, but I still get a 403 error every time. Can anyone spot anything that I'm doing wrong here?

Parents
  • It seems that you generated the token and didnt granted the Allowed api scopes 

    To Enable that you need to navigate to Administration > Integration > ApI Key Scopes > Please Enable appropriate permissions (Here in your case information )

     What are REST API Scopes?  

    Once you have enabled that now navigate to the profile of the user for which you created the api key >click edit > select the Allowed scopes & Enable the appropriate scopres > save .

    now you would be able to obtain the data from your powershell scripts

Reply
  • It seems that you generated the token and didnt granted the Allowed api scopes 

    To Enable that you need to navigate to Administration > Integration > ApI Key Scopes > Please Enable appropriate permissions (Here in your case information )

     What are REST API Scopes?  

    Once you have enabled that now navigate to the profile of the user for which you created the api key >click edit > select the Allowed scopes & Enable the appropriate scopres > save .

    now you would be able to obtain the data from your powershell scripts

Children