lob / lob-node

Node.js Wrapper for Lob API
lob.com
MIT License
84 stars 42 forks source link

Request for a Health Check Endpoint in Lob API #281

Open vinitshahdeo opened 1 year ago

vinitshahdeo commented 1 year ago

Issue Description:

Is there a way to monitor the status of the Lob API and check its operational health? It would be beneficial to have a dedicated endpoint for health checks to ensure the Lob API's reliability and availability.

Workaround Question:

I noticed there is a workaround for checking the status by listing addresses, as shown below:

Lob.addresses.list((err, body) => {
  if (err) return callback(err);
  return callback(null, body.data);
});

Could you please clarify whether using the "list" API for health checks counts towards the API usage and contributes to pricing? I couldn't find any information about the address listing in the pricing details provided here: Lob Pricing.

Thank you in advance for your assistance in clarifying these points.