Hi Team, I am trying to call get all organizations via mule (passing start and api_token param) but
sales portal
Member Posts: 2 VERIFIED MEMBER
Hi Team, I am trying to call get all organizations via mule (passing start and api_token param) but I am getting error: HTTP GET on resource 'https://api.pipedrive.com:443/v1/organizations' failed: unauthorized (401), It works fine when called from rest client/browser. Anything else I need to pass as parameter or something (apart from the start and access_token) to get it accessible. Could you please help to resolve this issue. Thank you!
Tagged:
0
Answers
-
Hey there
Your API token has the right to get those organizations? I mean, is it an admin user? Also, have you tried to check our reference page to test it out: https://developers.pipedrive.com/docs/api/v1/#!/Organizations/get_organizations? It might be a good way to start.
If you're still having issues, might be worth it to contact our support through chat or emailing us to support@pipedrive.com. This way we'll have more information and ability to help.
Have a great day.
https://developers.pipedrive.com/docs/api/v1/#!/Organizations/get_organizations0 -
For these types of more developer related questions, I recommend posting in our Dev Community (https://devcommunity.pipedrive.com/)
If you're receiving a 401 error on OAuth access this means that the provided access_token in the Authorization header is invalid.
Can you doublecheck that you have the correct access_token and/or it doesn't need to be refreshed?
https://pipedrive.readme.io/docs/marketplace-oauth-authorization0 -
Hey Devid,
I am just calling Get all organizations api via Mulesoft application(Integration platform) using api-token (personal api key, pipedrive web app one) but I am getting unauthorized (401). I just would like to know, we can't call it from there or i need to pass something extra in request except those that are mentioned in developer api reference page.0
This discussion has been closed.