Skip to main content
POST
Send an enquiry

Authorizations

X-API-Key
string
header
required

Your publishable Catalogue API key (vak_pub_…).

Headers

X-Client-IP
string

The visitor's IP, for the per-visitor limit. Server-side calls only; ignored on browser calls (the network address is used).

Body

application/json
full_name
string
required

1-200 characters.

Maximum string length: 200
email
string<email>
required

A valid email address, at most 254 characters.

Maximum string length: 254
phone
string

Digits with optional +, spaces, (), -, .; 6-24 characters, at least 6 digits. E.g. +91 98765 43210.

message
string

At most 2,000 characters.

Maximum string length: 2000
course_id
string

A course id from this API. Must be a published course of the institute.

campaign_id
string

CRM campaign to file the enquiry under. An unknown or inactive id silently falls back to the default "Course Catalogue Leads" list.

source
string

Where on your site the form is, e.g. homepage-hero. At most 100 characters.

Maximum string length: 100
custom_fields
object

Up to 30 extra fields. Keys: 1-64 letters, digits, spaces, _, -, .. Values: text, number or boolean, at most 1,000 characters. Reserved keys (any case, 400 if used): full_name, fullname, name, email, phone, mobile, mobile_number, message, source, course_id.

Response

Duplicate: already in this campaign. Nothing new was saved.

status
enum<string>
required

received: a new enquiry was saved (HTTP 201). duplicate: this person already enquired in this campaign, or the institute's duplicate rules matched (HTTP 200). Treat both as success.

Available options:
received,
duplicate