ApiContact
Submit contact form
POST
Public endpoint for contact form submissions. Sends email to admin.
X-API-Version?stringAPI version for header-based versioning
Default
"1"Value in
"1""2"application/json- body
name*stringemail*stringphone?stringsubject*stringmessage*stringContact form submitted successfully
response?unknownapplication/jsoncurl -X POST 'http://localhost:3001/api/v1/contact' \ -H 'Content-Type: application/json' \ -d '{ "name": "John Doe", "email": "john@example.com", "subject": "General Inquiry", "message": "I would like to know more about your services."}'Example Response
{ "status": "success", "statusCode": 201, "message": "Thank you for contacting us! We will get back to you soon.", "data": { "id": "uuid", "name": "John Doe", "email": "john@example.com", "subject": "General Inquiry", "message": "I would like to know more...", "status": "new", "createdAt": "2026-02-01T10:00:00.000Z" }, "meta": { "contact_id": "uuid", "created_at": "2026-02-01T10:00:00.000Z" }}