Verify an email address with the InboxIt SDK
Check one recipient address and read the result, the credit charged, and the remaining balance.
1. Set verification credentials
Create an API key, select Workspace-wide under Inbox access, and grant emails:verify. Set INBOXIT_API_KEY and INBOXIT_WORKSPACE_ID to the key and workspace UUID. Set INBOXIT_VERIFY_ADDRESS to an address you control and INBOXIT_VERIFICATION_REQUEST_ID to a new request ID.
2. Run the check
Copy both files below and run the example. It calls verifyEmail and getVerificationUsage, then prints the status, reason, credits charged, remaining credits and reset time.
npm install @inboxit/inboxit-sdk
node examples/verify-email.mjs3. Interpret the result and retry safely
domain_configured confirms mail routing for a domain. The individual external mailbox remains unconfirmed. verified confirms an active InboxIt inbox visible to a key with inboxes:read. A completed check uses one Dev credit, including an invalid result. Run the same command again with the same address, key and request ID to replay the result without a second charge. Temporary DNS failures use zero credits.