Skip to content
Analytics & OperationsContact Form

Send a message to the store

Delivers a contact form message to the store's inbox and to its contact email, where the team answers by email. Requires a captcha token in the X-Captcha-Token header. Messages with links to other sites are rejected.

POST/v1/contact-form/messages
No token

Header Parameters

x-Store-Domain*string

Slug of the store or one of its configured domains, such as my-store.

Length1 <= length <= 253

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

curl -X POST "https://storefront.ecomiq.pe/v1/contact-form/messages" \  -H "x-Store-Domain: my-store" \  -H "Content-Type: application/json" \  -d '{    "name": "Mi tienda",    "email": "andrea.ramos@example.com",    "phone": "+51987654321",    "message": "Entregar después de las 18:00."  }'
Empty