Skip to main content
Newcomer
August 4, 2026
Solved

How to find the next step required on an envelope?

  • August 4, 2026
  • 1 reply
  • 38 views

Let’s says I use this envelope endpoint to return a list of envelopes that I’m interested in:
GET /restapi/v2.1/accounts/{accountId}/envelopes/{envelopeId}


For each envelope, how can I find the next steps required to progress the envelope to a completed status or closer to that status.  Should I get the recipients result for the envelope and check the status of the signers?   Should I do that for the agents,  carbonCopies, editors, witnesses, etc?  Is there some api call that can do that?

Best answer by Ivan.Dinkov

Hi ​@fechin 
I believe the endpoint GET /restapi/v2.1/accounts/{accountId}/envelopes/{envelopeId} is for a single envelope

If you want to query multiple envelopes, you would use GET /restapi/v2.1/accounts/{accountId}/envelopes

Regarding your questions, the best will be to list envelopes and their recipient GET /restapi/v2.1/accounts/{accountId}/envelopes?from_date=2021-01-01&including=recipients

A recipient is still pending if their status is one of: 

  • sent → email notification sent, recipient hasn’t opened.
  • delivered → recipient has viewed, but hasn’t finished required actions.
  • faxpending → waiting for fax to be received.

Statuses that are not pending:

  • completed or signed → recipient has finished.
  • declined → recipient refused (envelope cannot complete unless corrected).
  • created → draft stage; envelope not yet sent.

Sort recipients by routingOrder and pick the first recipient whose status is pending (sent, delivered, or faxpending). That recipient is the one blocking envelope completion and needs the next action (open/sign/fax).

 

I hope this helps

1 reply

Ivan.Dinkov
Docusign Employee
Docusign Employee
August 5, 2026

Hi ​@fechin 
I believe the endpoint GET /restapi/v2.1/accounts/{accountId}/envelopes/{envelopeId} is for a single envelope

If you want to query multiple envelopes, you would use GET /restapi/v2.1/accounts/{accountId}/envelopes

Regarding your questions, the best will be to list envelopes and their recipient GET /restapi/v2.1/accounts/{accountId}/envelopes?from_date=2021-01-01&including=recipients

A recipient is still pending if their status is one of: 

  • sent → email notification sent, recipient hasn’t opened.
  • delivered → recipient has viewed, but hasn’t finished required actions.
  • faxpending → waiting for fax to be received.

Statuses that are not pending:

  • completed or signed → recipient has finished.
  • declined → recipient refused (envelope cannot complete unless corrected).
  • created → draft stage; envelope not yet sent.

Sort recipients by routingOrder and pick the first recipient whose status is pending (sent, delivered, or faxpending). That recipient is the one blocking envelope completion and needs the next action (open/sign/fax).

 

I hope this helps

Ivan D