Skip to main content
POST
/
accounts
/
submit-contact-form
Submit contact form
curl --request POST \
  --url https://api.quiva.ai/accounts/submit-contact-form \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "to_email": "[email protected]",
  "subject": "Billing question",
  "location": "Account settings",
  "message": "I have a question about my billing cycle.",
  "phone_number": "+1234567890",
  "preferred_contact_method": "email"
}
'
{
  "message": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
to_email
string<email>
required

Recipient email

subject
string
required

Email subject

message
string
required

Message content

location
string

Location in the application

phone_number
string

Phone number

preferred_contact_method
enum<string>

Preferred contact method

Available options:
emai,
phone

Response

Contact form submitted successfully

message
string