Skip to content

Submit a contact-us message (public; rate-limited).

POST
/v1/contact
curl --request POST \
--url https://api.share2.us/v1/contact \
--header 'Content-Type: application/json' \
--data '{ "turnstile_token": "example", "name": "example", "email": "hello@example.com", "message": "example" }'

Public endpoint backing the marketing “Contact us” form. Stores the message and notifies administrators by email. Rate-limited per IP.

Media typeapplication/json
object
turnstile_token

Cloudflare Turnstile token. Required when the deployment is configured with a Turnstile secret; omit otherwise.

string
name
required
string
<= 200 characters
email
required
string format: email
<= 320 characters
message
required
string
<= 5000 characters
Examplegenerated
{
"turnstile_token": "example",
"name": "example",
"email": "hello@example.com",
"message": "example"
}

Contact request accepted.

Standard error envelope.

Media typeapplication/json
object
error
required
object
code
required
string
message
required
string
request_id
required
string
Example
{
"error": {
"code": "quota_exceeded"
}
}