Skip to content

Create Lead ​

Creates a new lead in the system.

Endpoint ​

bash
POST https://api.exmp.com/v1/create

Headers ​

  • Content-Type: application/json
  • x-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 ​

FieldTypeDescription
firstNamestringLead's first name
lastNamestringLead's last name
phonestringLead's phone number
countrystringTwo-letter country code (e.g., "DE" for Germany)
emailstringLead's email address
lpNamestringLanding page name
IPstringLead's IP address
affSubstringFree parameter for affiliate tracking
affSub2stringFree parameter for affiliate tracking
affSub3stringFree parameter for affiliate tracking
affSub4stringFree parameter for affiliate tracking
flowIdstring(Optional) Flow ID for custom flow configurations. Flow brokers use custom flow configurations with advanced routing rules, limits, and conditions.
langstring(Optional) Language code (e.g., "fr" for French)

Released under the MIT License.