API Reference
The SMTP Wizard REST API lets you create payments, check license status, and manage builds programmatically.
Authentication
All admin endpoints require a Bearer token obtained via POST /api/admin/login. Public endpoints (payments, license lookup) do not require authentication.
Base URL
https://buildmysmtp.com/api
Endpoints
POST /api/create-paymentCreate a Cryptomus payment. Body: {"email":"you@example.com"}. Returns {"url","orderId"}.
GET /api/order-status/:orderIdPoll payment status. Returns {"status","license","invoiceUrl"}.
GET /api/license/:licenseLook up a license key. Returns build status and server info.
POST /api/resend-licenseResend license key by email. Body: {"email":"..."}.
POST /api/support/ticketOpen a support ticket. Body: {"email","subject","message"}.
Rate limits
Payment creation: 5 requests per 15 minutes per IP. License resend: 3 per hour. Ticket creation: 3 per hour. All limits are per IP address.
Need help integrating? Email info@buildmysmtp.com