Contact Form
A public endpoint that accepts contact form submissions from your landing page and forwards them to your support email via Mailgun.
API endpoint
| Method | Endpoint | Description |
|---|---|---|
POST | /mail | Submit a contact form message |
Request body:
{
"name": "Jane Smith",
"email": "[email protected]",
"message": "I have a question about pricing..."
}
Configuration
SUPPORT_EMAIL=[email protected]
Make sure Mailgun is configured — see Mailgun Setup.
Usage
This endpoint is public (no authentication required). It's designed to be called directly from the contact form on your demo-client-landing site.