Skip to main content
POST
/
contact
Submit contact form
curl --request POST \
  --url https://api.example.com/contact \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "John Doe",
  "email": "[email protected]",
  "subject": "Question about Enterprise Plan",
  "message": "I would like to know more about your enterprise plan features..."
}
'
{
  "message": "Contact form submitted successfully"
}

Body

application/json
name
string
required

Name of the person submitting the contact form

Required string length: 2 - 100
Example:

"John Doe"

email
string
required

Email address of the person submitting the contact form

subject
string
required

Subject of the contact message

Maximum string length: 200
Example:

"Question about Enterprise Plan"

message
string
required

Content of the contact message

Maximum string length: 5000
Example:

"I would like to know more about your enterprise plan features..."

Response

The contact form has been successfully submitted

message
string
Example:

"Contact form submitted successfully"