简体   繁体   中英

Reading envelopes from Docusign REST API for specific user ID

We have a requirement to read all the documents in Docusign using REST API, now I am able to read envelopes using folder names by passing folder name as query param to retrieve the envelope under that specific folder. however, we would need to pass user ID as a query parameter to the API instead of folders to read envelopes under given user.

Now once we read all the users, we are passing user ID as query param to retrieve envelopes.this is returning all the envelopes, this shows that the user ID param is not making any difference.

Is there any other way to read envelopes for a specific user?

You need to use the API to search for envelopes which allows you to filter your search in many different ways. In your case, you need to provide the userId that you wish to filter for. Here is a sample call (you can combine filters of course)

GET
/v2.1/accounts/4644/envelopes?user_id=a8a0cd4f-xxxx-xxxx-xxxx-14a1a5c56f52

(the actual user_id should be the correct GUID for your user)

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM