Developers

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-payment

Create a Cryptomus payment. Body: {"email":"you@example.com"}. Returns {"url","orderId"}.

GET  /api/order-status/:orderId

Poll payment status. Returns {"status","license","invoiceUrl"}.

GET  /api/license/:license

Look up a license key. Returns build status and server info.

POST  /api/resend-license

Resend license key by email. Body: {"email":"..."}.

POST  /api/support/ticket

Open 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