Skip to main content
Question

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

  • March 3, 2025
  • 1 reply
  • 23 views

Forum|alt.badge.img+1

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?

1 reply

Forum|alt.badge.img+7
  • Docusign Employee
  • 59 replies
  • 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