mailersend / mailersend-nodejs

The official MailerSend Node.js SDK
https://developers.mailersend.com
MIT License
136 stars 17 forks source link

Add the "Get API quota" endpoint #72

Closed Agathe-Brusset closed 1 year ago

Agathe-Brusset commented 1 year ago
doobas commented 1 year ago

Maybe it's better to add this info into response headers? Same as we return x-ratelimit-limit, x-ratelimit-remaining

Agathe-Brusset commented 1 year ago

We do already have this endpoint, this issue is about the NodeJS SDK. The header already has the information, but it's not enough and we decided to create an endpoint for this.