Contactos (leads) v.0
perform: searchLead
GET
https://{YOUR_CLASSLIFE_DOMAIN}/app/apilead.php
Request Body
Name | Type | Description |
---|---|---|
lead_name | string | {Nombre del contacto} |
lead_lastname | string | {Apellido del contacto} |
lead_email | string | {Email del contacto} |
lead_phone | string | {Teléfono del contacto} |
perform | string | searchLead |
apiKey | string | {APIKEY} |
perform: getLead
POST
https://{YOUR_CLASSLIFE_DOMAIN}/app/apilead.php
Request Body
Name | Type | Description |
---|---|---|
lead_id | string | {ID del contacto} |
perform | string | getLead |
apiKey | string | {APIKEY} |
perform: newLead
POST
https://xxxx/app/apilead.php
Esta operación actualiza los datos principales de un alumno
Request Body
Name | Type | Description |
---|---|---|
perform* | string | newLead |
apikey* | string | { APIKEY } |
name* | String | Nombre del lead |
lastname | String | Primer apellido del lead |
lastnameend | String | Segundo apellido del lead |
String | Email principal del lead | |
phone | String | Teléfono principal el lead |
course_id | String | ID de la titulación sobre la que está intersado el lead |
lead_source | Integer | // ID de los CANALES https://XXXXXX.classlife.education/admin/leads/sources |
source | String | Formulario X: nombre descriptivo para saber el origen |
country | String | País (texto) |
state | String | Província (texto) |
lead_language | String | // Idiomas "es-ES" https://xxxxx.classlife.education/admin/configuration/languages |
lead_segment | Int | Id del segmento |
Última actualización