Integrate Digital Mail Box into your apps with our REST API. Browse the reference below, then use the Try It console to test with your sandbox key — no login required.
Use a dmb_test_ key to test your integration safely. The API validates all inputs identically — but no mail is delivered, no credits are deducted, and no records are created. Responses include "sandbox": true. Switch to a dmb_live_ key when you're ready to go live.
Pass your API key as a Bearer token on every request:
Authorization: Bearer dmb_live_... ← production Authorization: Bearer dmb_test_... ← sandbox (no side-effects)
Base URL: https://app.digitalmailbox.io/v1