0
votes

I'm calling listStatusChanges with an http GET similar to this: .../restapi/v2/accounts//envelopes?from_date=&start_position=0&count=50

It works for envelopes owned by anyone when my current user has permission of DS Admin. It works for envelopes owned by my current user when my user has permission of DS Sender.

However, I have certain users who have shared their envelopes mo my current user. In the DocuSign user interface, I see these Shared Envelopes. But this sharing seems to have no impact on this API call. The shared envelopes are not visible unless I have DS Admin permission.

Is this working correctly? Is it a bug? Am I doing something wrong?

Thank you

2
do you use this to look for envelopes? I would suggest a different endpoint in the v2.1 API instead to see if your issue is resolved. (developers.docusign.com/esign-rest-api/guides/concepts/…) - Inbar Gazit
Thank you for responding, @InbarGazit. However, the link you provided is to the same API method I am already using. As I said, I am using listStatusChanges GET with URL accounts/envelopes?.... - IraW
I understand. Can you explain what you are trying to do? there may be another API method that can solve your issue. - Inbar Gazit
What I am trying to do is get a list of envelopes that have experienced recent status changes. I think that is exactly what this method is supposed to do. Before changing code to try another DocuSign API method, I'd like to determine if this one is working as intended or if I've unearthed a bug. - IraW
you can do that with the other API I showed. You will get all envelopes and check their status. - Inbar Gazit

2 Answers

2
votes

If you know other user's userId then you can use below API call to see that user's shared envelopes. You must specifically call that out in the request through the user_id parameter, and only one other user can be queried for per API call.

/restapi/v2.1/accounts/{{accountId}}/envelopes?from_date=2019-07-15T08:00:00.000Z&user_id=87b00103-461d-487b-8928-1991dfdb8d20

where 87b00103-461d-487b-8928-1991dfdb8d20 is the userId of the other user whose envelopes you want to see.

Note the use of /v2.1/ in this call's URL. The /v2/ version of this call does not correctly respect Envelope Sharing, but /v2.1/ has corrected this issue and will not require the use of DS Admin permissions.

0
votes

I reached Drew M. in DocuSign Developer Support. He provided this answer:

I've tested this on my account, and it does look like that API call doesn't correctly respect Sharing, so at this time it does require Admin rights. I'll be filing a product issue about this, and I'll let you know what I hear back.

Subsequently, Drew reported that this was in fact fixed in v2.1, per his comment below.