Is there an API call that can be made to find out how many requests have been made so it can be compared against the daily quota? It would be great to be able to query that. We have a client that gets a 429 but the claim is that they aren't making too many requests. Getting statistics by making an API call would be helpful to manage the account. For example, seeing that they have used 4,000 of the 10,000 daily limit would be helpful.
In addition, when a 429 is received, it would be good to get a "RETRY-AFTER" header. so that we could pause any operations until that time.
I have looked for extra headers when a 429 error occurs but don't see any that might provide this information.
TIA
Hello RandyR8633,
Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.
We don’t currently offer an endpoint that can retrieve the remaining number of requests out of the standard 10,000 requests per day rate limit, however, I have tracked your account on an open feature request for this functionality. I can’t guarantee when or if this feature will be added, however, we greatly appreciate your feedback and use case for this request. Your feedback and experience is essential to improving our product, so thank you for reaching out to us regarding this matter.
Please let us know if you have any other questions!
Regards,
Tracking the number of API calls used on a given day is an obvious stat to make available since there's a quota limit. This should be implemented in the Constant Contact UI itself for easy reference.
Hello BrazeltonTouchpointsF,
Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.
Thanks so much for your feedback. It has been submitted for review and consideration by our engineering team. Your feedback and experience with this request is essential to improving our product, so thank you for reaching out to us regarding this matter.
Please let us know if you have any other questions!
Regards,
Is this implemented or still pending?
Hello user523877,
Thank you for reaching out to Constant Contact API Developer Support. My team is here to assist outside software developers with questions about building into Constant Contact's API.
We have not yet implemented a feature which tracks the total number of daily API requests made by a given key. While this feature request is still under review and consideration, it looks like there is no ETA on if/when this functionality will be considered for further development at this time.
For updates on which new features and endpoints have been released for Constant Contact's V3 API, you can stay updated by checking the Constant Contact V3 API Release Notes page:
V3 API - Release Notes
https://developer.constantcontact.com/api_guide/index.html
Please have a look and let us know if you have any other questions!
Regards,