How to make a direct API call
This topic demonstrates how you can make a direct API call to the eSignature REST API from the Docusign Android SDK module if there is no existing SDK method; in this case, to retrieve a user’s signature ID.
Required data
Running the code in this how-to requires this data:
Step 1. Log in to Docusign
To make the API calls shown in this how-to, you must be logged in to Docusign.
See How to log in to Docusign from your app for details.
Step 2. Construct your API headers
Use the getESignAPIDelegate method to retrieve the API account ID and user ID needed to get the user signature ID.
Step 3. Call the eSignature REST API to get the user signature ID
Next, use the account information you retrieved in step 2 to make the direct API call via the userSignaturesGetUserSignatures method.
Expected response
You should receive your user’s signature ID.