Can I make a REST call to check the count of pending envelopes for any particular user?
What I want to achieve: I have to get list of all pending envelopes for any user who is belongs to my organization or that user is a part of my account. Envelopes can be send by any sender
Actually, GET https://demo.docusign.net/restapi/v2.1/accounts/{{accountid}}/folders/ this call is returning me the folder id of my folder, but I want to check for other users folder.
for example: I am the admin, and I have 5 users in the dousign, I have my account ID from which I can request folder ID by using (GET https://demo.docusign.net/restapi/v2.1/accounts/{{accountid}}/folders/) method. But if I want to know the folder id details of the remaining 5 users then how can I get that details as I won't be having their accountID's.
If I know their account id shall I pass their account id in request ?
I have tried to pass different user account Id in request but getting below error:
{
"errorCode": "USER_DOES_NOT_BELONG_TO_SPECIFIED_ACCOUNT",
"message": "The specified User is not a member of the specified Account."
}
Please let me know if anything is possible ? I am very much trying to resolve this issue.