I'm currently trying to build a back-end system, i.e. no user interface which should send documents out for signature using Echosign.
The page for configuring the Oath token requires a redirect URL, but obviously my application doesn't have a UI and therefore no redirect URL either.
Clearly there is a whole OAuth world that I can dive into now, but I'm hoping to use their API quickly without needing to understand all the ins-and-outs of OAuth first. All of the samples seem to be based on a web interface scenario, which is not the case for me.
Any pointers would be appreciated.
_bananabread has the right idea. Follow the steps on this website:
https://www.adobe.io/apis/documentcloud/sign/docs/step-by-step-guide/get-the-access-token.html
up until you have your JSON response with your refresh_token, this is all you need.
Next, you going to need to make a refresh token request that refreshes your token everytime you need to use it and returns you a brand new OAuth token.
Here is a Java code snippet that will refresh your acquired token:
access_token String will now contain a brand new OAuth access token with you can use for any request ie POST or GET.