Public WebsiteSend Contact Message

Send Contact Message

The Hub's contact form. Emails the message to the workspace's reply-to address, with the visitor as Reply-To. Always answers {"sent": true} — including when the message is dropped as spam. Rate limited to 5 requests per minute per IP, and 10 per 10 minutes for the same email address.

curl -X POST "https://app.nashra.ai/api/v1/tenants/example_string/contact" \
  -H "Content-Type: application/json" \
  -d '{
  "name": "John Doe",
  "email": "user@example.com",
  "message": "example_string",
  "website": "example_string"
}'
{
  "sent": true
}
POST
/tenants/{slug}/contact
POST
Base URLstring

Target server for requests. Edit to use your own host.

path
slugstring
Required

Tenant's subdomain slug, or its verified custom domain

Content-Typestring
Required

The media type of the request body

Options: application/json
namestring
Required
Max length: 120
emailstring
Required
Format: email
messagestring
Required
Max length: 4000
websitestring

Spam trap — leave it out or empty

Request Preview
Response

Response will appear here after sending the request

Path Parameters

slugstring
Required

Tenant's subdomain slug, or its verified custom domain

Body

application/json
websitestring

Spam trap — leave it out or empty

Responses

sentboolean