3

I am making query for the rest API for getting all envelopes.

Following are documents in UI enter image description here

When I query using envelop list changes with proper from date and to date and account id

It gives me only 1st and last document as below.

enter image description here

Manish Pansiniya
  • 537
  • 4
  • 14
  • I believe this might be as designed, when you make the Envelopes: listStatusChanges request I believe it only lists the envelopes that you (your DocuSign user identity) has sent as signature requests, not envelopes that others have sent to you. I haven't had time to test this, will try to soon. – Ergin Dec 01 '16 at 07:28
  • Thanks Ergin but I think it should list all the envelope in my inbox or I am part of it. Don't you think so? – Manish Pansiniya Dec 01 '16 at 11:20

1 Answers1

5

You can use the GetSearchFolders api to retrieve all the envelopes

Example: The following GET request retrieves all the envelopes in the last 30 days.

GET /v2/accounts/{accountId}/search_folders/all

Other Search Folder Queries.

GET /v2/accounts/{accountId}/search_folders/drafts
GET /v2/accounts/{accountId}/search_folders/awaiting_my_signature
GET /v2/accounts/{accountId}/search_folders/completed
GET /v2/accounts/{accountId}/search_folders/out_for_signature
Praveen Reddy
  • 7,295
  • 2
  • 21
  • 43
  • 1
    how to get all envelopes without knowing folders? – ScanQR Sep 01 '21 at 07:03
  • @ScanQR, you could first get a list all of the folders beforehand: https://developers.docusign.com/docs/esign-rest-api/reference/folders/folders/list/ and then search for reach folder. – David Feb 22 '22 at 14:22