Skip to main content

POST /api/contact

  • Auth – none.
  • Body
{
  "firstName": "Pat",
  "lastName": "Lee",
  "email": "[email protected]",
  "body": "I would like a demo."
}
  • Validation – all fields are required, emails must match /^[^\\s@]+@[^\\s@]+\\.[^\\s@]+$/.
  • Side effects – Browsary emails the payload to process.env.SMTP_EMAIL via the configured mail transporter.
  • Response{ "status": "ok" }.
Use this endpoint when you want to expose a public contact form or feedback widget that pipes straight into the Browsary inbox.