Contact Us
Sends a "contact us" enquiry from your website to your institute. It emails the details to your institute's support address and sends an acknowledgement email to the person who enquired. Use it behind a contact form on your own site.
POST
/contactusContact Us
curl --request POST \
--url 'https://<your-api-host>/nuSource/api/v1/contactus' \
--form 'JSONString={"first_name":" Hemal","last_name":"Buha","email":"hemal@edmingle.com","message":"Enquiry ForCourse","contact_number":"7567786787","contact_number_dial_code":"+91","contact_number_country_id":"103","institute_id":<institutionId>,"add_db":1}'{
"message": "Thank you for contacting us we will revert you shortly",
"code": 200
}Access: Public, no API key needed. If a logged-in user calls it, their own email and phone number are used instead of the ones sent.
Request body: form-data with one field, JSONString, containing this JSON:
Body
JSONStringName of the person enquiring.
last_namestring
Last name.
emailstring
Email. The acknowledgement email goes here.
contact_numberstring
Mobile number, without the country code. Must be valid for the country.
contact_number_country_idinteger
Country of the mobile number. Defaults to India.
messagestring
The enquiry text.
countrystring
Country name.
institute_namestring
Saved with the lead when
add_db is 1.add_dbinteger
1 also saves the enquiry as a lead in your Leads list. Default 0 (email only).sourceinteger
Lead source when saved:
1 Website (default), 2 JustDial.lead_dateUnix timestamp
Lead date when saved. Default now.
Response
messagestring
Example:
Thank you for contacting us we will revert you shortlycodeinteger
Example:
200Notes: The institute is worked out from the API host you call. Fails with "Please enter valid mobile number." for an invalid number. Rate limit: 5 requests per minute; going over locks you out for 30 minutes.