Connecting Pipedrive with Tray.io?

I’m new to this but I need to connect tray.io with piepdrive, so far I found the API token that which I can generate. This is found in the personal preferences on the top right.

I would like to know what base url I need to use? I tried using:

https://api.pipedrive.com/v1/deals

The endpoint being deals, but no luck, found a 401.

If by any chance you’re not locked to using tray.io, you might want to try Make - we have a great track record of integration with Pipedrive and a super knowledge base in our Community forum.