Send the authenticating user to the PandaDoc OAuth2 request URL. We recommend a button or link titled "Connect to PandaDoc" if you are connecting users from a custom application. Users will see the "Authorize Application" screen. When the user clicks "Authorize", PandaDoc redirects the user back to your site with an authorization code inside the URL.
Check your application settings here.
redirect_uri values should match your application settings.
If you're developing a server-side-only solution, you still need to perform the authentication process above to create an authorization
codemanually. Once associated with a user,
refresh_tokencan be used by your application to automatically extend the validity of access tokens as needed. We suggest creating an API user in your PandaDoc workspace so that API methods create documents with this user.