Skip to content

Contact Form

Handle contact intake, notifications, and auto-replies. POST from your frontend to the public API, or host on contact.luno.rest.

What you have (done state)

ItemState
FormAt least one contact form with a slug
SubmitPOST …/contact-forms/{slug}/submit returns 200
InboxSubmission visible in Console
(Optional)Autoreply, chat notify, or hosted page works

When to use

  • Site contact or lead forms
  • Chat or CRM notifications on submit
  • When you do not want to build the form UI yourself

Checklist

  • [ ] Created a contact form in Console and chose a slug
  • [ ] Test submit returns ok: true and submissionId
  • [ ] Submission appears in the Console inbox
  • [ ] (Optional) Autoreply or Slack (etc.) notification arrives

Do this now

  1. Console → Contact forms → New (fields + notify addresses)
  2. Send a test submit
bash
curl -X POST "https://api.luno.rest/public/p/{projectId}/v1/contact-forms/contact/submit" \
  -H "Content-Type: application/json" \
  -d '{"name":"Test","email":"[email protected]","message":"hello"}'
ts
await fetch(
  'https://api.luno.rest/public/p/{projectId}/v1/contact-forms/contact/submit',
  {
    method: 'POST',
    headers: { 'Content-Type': 'application/json' },
    body: JSON.stringify({
      name: 'Test',
      email: '[email protected]',
      message: 'hello',
    }),
  }
)
bash
# "Submit a test contact form and confirm it arrived"
  1. Implementation details: Contact forms

Next

GoalPage
Submit API & frontend examplesContact forms
Public APIPublic API · API only
Build via MCP (path A)Agents done state