Skip to main content
New Voice
March 3, 2025
Solved

Unexpected Results from /accounts endpoint for billingPeriodEnvelopesAllowed, includedQuantity, and allowedQuantity

Hello. We are hitting the /accounts endpoint to try get a few details about our subscription from the API, and but are receiving unexpected results.

  • We are making a GET call to the /v2.1/accounts/{accountId} endpoint in order to report on billingPeriodEnvelopesAllowed. We are receiving a non-numeric value back, when we are were expecting to get the number of envelopes that are allocated to that account. 
  • We subsequently attempted to make a GET call to the /v2.1/accounts/{accountId}/billing_charges endpoint to verify what was in the includedQuantity  and allowedQuantity values, which also didn’t return the expected result.

My questions are:

  1. Is there a better definition for what should be returned in those values?
  2. Is there a known way to get the number of envelopes allocated to a given Docusign account via the API?
Docusign Employee
March 4, 2025

Hello

Ideally, it should work with "allowedQuantity" (total envelopes) and "usedQuantity." However, since it isn't working as expected, please raise a case with DocuSign Support https://support.docusign.com/s/?language=en_US and attach the DS API logs https://support.docusign.com/guides/ndse-user-guide-api-request-logging. These logs will capture detailed information, allowing the support team to investigate the issue further.

 

Thanks & Regards

Sai HariPriya Dandamudi | Developer Support Engineer | DocuSign

+61469363722

 

A picture containing clipartDescription automatically generated

1 reply

Docusign Employee
March 4, 2025

Hello

Ideally, it should work with "allowedQuantity" (total envelopes) and "usedQuantity." However, since it isn't working as expected, please raise a case with DocuSign Support https://support.docusign.com/s/?language=en_US and attach the DS API logs https://support.docusign.com/guides/ndse-user-guide-api-request-logging. These logs will capture detailed information, allowing the support team to investigate the issue further.

 

Thanks & Regards

Sai HariPriya Dandamudi | Developer Support Engineer | DocuSign

+61469363722

 

A picture containing clipartDescription automatically generated

Translate