简体   繁体   中英

DocuSign REST API: Check pending envelopes for a user who is DS VIEWER

First, a call to GET {{vx}}/accounts/{{accountid}}/folders/ This gets me the user's Sent folder ID, so I can make a call to GET {{vx}}/accounts/{{accountid}}/folders/{{folderid}}?status=sent and GET {{vx}}/accounts/{{accountid}}/folders/{{folderid}}?status=delivered

I am able to get envelop details by using above API Call for the user who is DS ADMIN , DS SENDER in permission set...... But when I try to retrieve details for any User with permission Set as DS VIEWER then I am getting below error in response:

401 ERROR: 

{
  "errorCode": "USER_LACKS_PERMISSIONS",
  "message": "This user lacks sufficient permissions to access this resource."
}

Any one please help me to resolve the issue.....

By definition, a user with role DS Viewer cannot send envelopes. Therefore, it makes sense that a user with role DS Viewer would be prohibited from querying the Sent folder via the API -- this is why you're receiving the 401 error response. For more information about DocuSign Permission sets, see the documentation .

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