[ { "id": 1, "name": "Laura Fernandez", "email": "[email protected]", "subject": "Partnership Opportunity", "message": "Hi, I represent a local hotel and would like to discuss partnership opportunities with your platform.", "sourcePage": "/about/contact", "status": "new", "createdAt": "2026-03-10T09:45:00Z" }, { "id": 2, "name": "Pedro Sanchez", "email": "[email protected]", "subject": "Feature Request", "message": "It would be great if you could add a feature to filter tours by difficulty level.", "sourcePage": "/feedback", "status": "read", "createdAt": "2026-03-09T16:20:00Z" }, { "id": 3, "name": "Sofia Torres", "email": "[email protected]", "subject": "General Inquiry", "message": "Do you offer corporate group tours?", "sourcePage": "/tours", "status": "archived", "createdAt": "2026-03-08T11:30:00Z" }]
Returns a single contact message object or 404 if not found.
Show Example Response
{ "id": 1, "name": "Laura Fernandez", "email": "[email protected]", "subject": "Partnership Opportunity", "message": "Hi, I represent a local hotel and would like to discuss partnership opportunities with your platform.", "sourcePage": "/about/contact", "status": "new", "createdAt": "2026-03-10T09:45:00Z"}
Returns the created contact message object with assigned ID.
Show Example Response
{ "id": 4, "name": "Miguel Alvarez", "email": "[email protected]", "subject": "Technical Issue", "message": "I am experiencing issues with the mobile app crashing on startup.", "sourcePage": "/support/contact", "status": "new", "createdAt": "2026-03-10T12:00:00Z"}
The sourcePage field helps track where users are contacting you from, enabling analytics on which pages generate the most inquiries. Common values include:
/contact - Main contact page
/support - Support center
/tours/{id} - Specific tour pages
/about - About page
/pricing - Pricing page
Use the sourcePage field to identify patterns in user inquiries and improve user experience on high-contact pages.