| Name | Value |
|---|---|
/api/v1/generic_lead
|
|
LEAD_WEBHOOK_KEY: your_api_token_value
|
| Name | Type | Required | Example | Description |
|---|---|---|---|---|
course_code
|
string
|
Yes
|
KLG-DMS | Used to fetch the program |
agree
|
boolean
|
Yes
|
1 | 0 = False; 1 = True |
country
|
string
|
Yes
|
UY | Use 2 digits ISO code |
last_name
|
string
|
Yes
|
Ferreira | |
email
|
string
|
Yes
|
juan@email.com | Should be a valid email address |
phone
|
string
|
Yes
|
+5555555555 | |
utm_source
|
string
|
Yes
|
vendorname | Will represent the vendor name in one word (ex: educationdynamics) |
first_name
|
string
|
No
|
Juan | |
work_experience
|
string
|
No
|
5-10 years | |
job_title
|
string
|
No
|
Developer | |
batch_name
|
string
|
No
|
B-1234 | DEPRECATED, used to fetch the program |
utm_campaign
|
string
|
No
|
B-1234_some_utm_campaing | DEPRECATED |
utm_content
|
string
|
No
|
Can be used for optional data from vendors | |
utm_placement
|
string
|
No
|
{
"course_code": "KLG-DMS",
"agree": 1,
"country": "UY",
"first_name": "Juan",
"last_name": "Ferreira",
"email": "juan@email.com",
"phone": "+5555555555",
"utm_source": "vendorname",
"work_experience": "5-10 years",
"job_title": "Developer",
"batch_name": "B-1234",
"utm_campaign": "B-1234_some_utm_campaing",
"utm_content": "",
"utm_placement": ""
}
{
"lead": "94ab3b43-3209-4534-8afe-52070644866f"
}
{
"error": "Missing batch"
}
{
"error": "Missing custom form"
}
{
"error": "Email required\nEmail must be an email"
}
{
"error": "This is not an authorized request"
}