We are currently using Sandbox developer account and integrated this with our application. We need to move the production account soon. For that I have referred guidelines related to Golive and based that you have restrictions on API limits.
Following is the excerpt taken from https://www.docusign.com/developer-center/api-overview
API Rules and Limits
To maintain reliability and stability within our demo and production environments DocuSign has the following API rules and rate limits in place:
Rule #1: You may not exceed 1,000 API requests per account per hour.
Rule #2: You may not exceed 1 GET request per unique envelope endpoint per 15 minutes.
In our application we make the following calls:
Status polling call: @base_uri@/restapi/v2/accounts//envelopes/ - Every 1 minute (Note: Our requirement is that user should be notified immediately once document review completes.) After this call, once we get response of document status as "Completed" we make following two more calls.
Get the signed document IDs(@base_uri@/restapi/v2/accounts//envelopes//documents)
Download signed document (@base_uri@/restapi/v2/accounts//envelopes//documents/)
As a whole we make three calls frequently that doesn't comply with Rule#2.
As I have referred from docusign stackoverflow forum, it is mentioned that Rule#2 is specific for GET status API call only not for all such GET /accounts/{accountId}/envelopes/... API patterns. Please clarify this and let us know the exact API you restrict as part of rate limit.
Please let us know if you have any suggestions/inputs so that it doesn't break API limits and our requirement also fulfilled.
Currently we don't use Webhook solution as no plan expose callback url. So we want to go with polling solution.
Thanks for the reply.
I went through webhook section and based on that we need to send eventNotification object while we create envelopID.
Below is the code. { "eventNotification": { "url": "http://yourappname/callback", "includeCertificateOfCompletion": "false", "includeDocuments": "true", "includeDocumentFields": "true", "requireAcknowledgment": "true", "envelopeEvents": [{ "envelopeEventStatusCode": "completed", }] } }
Now what parameters/data sends as part of Notification XML on mentioned callback url.
This we need to handle from our application.
Please help to share the details.