Field | Required | Type | Standard | Example |
---|---|---|---|---|
+ | string | RFC | [email protected] | |
phone | + | number | E.164 | +44 20 1234 5678 |
full_name | + | string | James Smith | |
ip (optional auto*) | + | string | IPv4 | 192.158.1.38 |
landing | + | string | landing | |
user_id | + | number | 1 | |
country | + | string | UK | |
lang | + | string | EN | |
landing_name | + | string | test_name | |
source | + | string | FB |
Field | Required | Type | Standard | Example |
---|---|---|---|---|
date_start | + | string | 2024-12-10 | |
date_end | + | string | 2024-12-10 | |
is_action (additional req.for dep.*) | number | 1 | ||
page | number | 1 | ||
per_page | number | 100 |
curl --location --request
GET 'https://crm.yourdomain.net/api/web-master/leads' \
--header 'Authorization: Bearer ТОКЕН' \
--header 'Content-Type: application/json' \
--data-raw '{
"date_start": "2022-05-05",
"date_end": "2022-05-05"
}'
{"ai": "ask from your trackbox partner","ci": "1","gi": "29.249.50.83",}
{
"success": true,
"data": {
"data": [
{
"id": 1,
"email": "[email protected]",
"status": {
"id": 1,
"name": "New"
},
"is_action": 0,
"action_time": "",
"date": "2024-12-10 17:58:46"
}],
"current_page": 1,
"total_pages": 1,
"total": 1
},
"message": "Leads collection"
}