1. Leads
ViaLane integrations
  • Leads
    • Create
      POST
    • Get Leads By Filters
      GET
  • Schemas
    • CreateLeadInputSchema
    • HTTPValidationError
    • ValidationError
  1. Leads

Create

POST
/lead/create
Create a new Lead

Request

Authorization
Bearer Token
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
or
Body Params application/jsonRequired

Example
{
    "firstName": "Jhon",
    "lastName": "Doe",
    "email": "jhon.doe@gmail.com",
    "password": "2iHK9Pvw6a",
    "country": "MX",
    "countryPhoneCode": "52",
    "phone": "6676436743",
    "referral": "https://example.com",
    "source": "bitcoin",
    "folder": 12
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location 'https://api.vialane.net/integration/lead/create' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "firstName": "Jhon",
    "lastName": "Doe",
    "email": "jhon.doe@gmail.com",
    "password": "2iHK9Pvw6a",
    "country": "MX",
    "countryPhoneCode": "52",
    "phone": "6676436743",
    "referral": "https://example.com",
    "source": "bitcoin",
    "folder": 12
}'

Responses

🟢200
application/json
Successful Response
Bodyapplication/json

Example
null
🟠422
🟠401Unauthorized
Next
Get Leads By Filters
Built with