TypeScript SDK
Install the InboxIt TypeScript SDK
Use the npm package for DevOps email tests, Agents inbox access, and email address verification.
Install from npm
Use Node.js 22 or later. The SDK is an ES module with bundled TypeScript declarations. Run it in your server or test runner and store credentials in environment variables or your secret manager.
Example
npm install @inboxit/inboxit-sdkChoose a quickstart
Use InboxIt with a workspace API key for Sandbox testing and address verification. Use InboxItAgent with a dedicated agent token for granted inboxes.
Handle timeouts and retries
Requests support an AbortSignal and return an InboxItError on failure, with a status, error code and Retry-After value when available. Each SDK call makes one request. For an address check with an uncertain outcome, retry the same address with the same request ID.