Skip to main content
POST
Submit contact form (unauthenticated)

Authorizations

Authorization
string
header
required

JWT token obtained from /api/auth/token endpoint. Token is verified using JWKS and must include a valid user identifier.

Body

application/json
name
string
required

Sender name (max 100 characters)

Required string length: 1 - 100
Example:

"John Doe"

email
string<email>
required

Sender email address (will be used as reply-to)

subject
string
required

Subject line (max 200 characters)

Required string length: 1 - 200
Example:

"Question about services"

message
string
required

Message content (10-5000 characters, plain text only)

Required string length: 10 - 5000
Example:

"I would like to learn more about your services..."

projectId
string

Optional project ID to route email to specific client (if not provided, uses default)

Example:

"proj_abc123"

recipientEmail
string<email>

Optional recipient email address (must be from allowed domain). If not provided, uses CONTACT_FORM_RECIPIENT_EMAIL env variable.

Response

Contact form submitted successfully

success
boolean
required
message
string
required