Appearance
Create Lead
Creates a new lead in the system.
Endpoint
bash
POST https://api.exmp.com/v1/createHeaders
Content-Type: application/jsonx-apiKey: your-api-key
Request Body
json
{
"firstName": "test",
"lastName": "test",
"phone": "57423073653",
"country": "DE",
"email": "test232323@gmail.com",
"lpName": "Fuunel Name",
"affSub": "free parameter",
"affSub2": "free parameter",
"affSub3": "free parameter",
"affSub4": "free parameter",
"IP": "1.1.1.2",
"flowId": "a5814270-4cd2-4c05-81c6-63f3ad3f84f2",
"lang": "fr"
}Example Request
bash
curl --location 'https://api.exmp.com/v1/create' \
--header 'Content-Type: application/json' \
--header 'x-apiKey: {x-apiKey token}' \
--data-raw '{
"firstName": "test",
"lastName": "test",
"phone": "57423073653",
"country": "DE",
"email": "test232323@gmail.com",
"lpName": "Fuunel Name",
"affSub": "free parameter",
"affSub2": "free parameter",
"affSub3": "free parameter",
"affSub4": "free parameter",
"IP": "1.1.1.2",
"flowId": "a5814270-4cd2-4c05-81c6-63f3ad3f84f2",
"lang": "fr"
}'Field Descriptions
| Field | Type | Description |
|---|---|---|
| firstName | string | Lead's first name |
| lastName | string | Lead's last name |
| phone | string | Lead's phone number |
| country | string | Two-letter country code (e.g., "DE" for Germany) |
| string | Lead's email address | |
| lpName | string | Landing page name |
| IP | string | Lead's IP address |
| affSub | string | Free parameter for affiliate tracking |
| affSub2 | string | Free parameter for affiliate tracking |
| affSub3 | string | Free parameter for affiliate tracking |
| affSub4 | string | Free parameter for affiliate tracking |
| flowId | string | (Optional) Flow ID for custom flow configurations. Flow brokers use custom flow configurations with advanced routing rules, limits, and conditions. |
| lang | string | (Optional) Language code (e.g., "fr" for French) |
