Submissions API
Submit and retrieve contact form entries via API.
Updated
On this page
Submitting via SDK
import dash from "@/lib/dash"
const { success, submission_id } = await dash.contact.submit({
name: "Jane Doe",
email: "jane@example.com",
content: "Question about my order...",
subject: "Order Support",
})
Viewing Submissions
All submissions appear in Contacts in the dashboard. Reply directly from the dashboard or mark submissions as resolved.
REST API
POST /storefront/contact
X-API-Key: pk_live_your_key
Content-Type: application/json
{ "name": "Jane", "email": "jane@example.com", "content": "My question..." }