AdvertisingCars

AnnonceLogs

Aos

Callcentrum

Cc

Element

Eshop

Forms

IframeViewCounter

Ip

LeadsFb

Leads

Marketing

MaternaSmsStatus

MobileDeLogs

OfferedCars

SautoLogs

TechnicalCertificateRequest

TipcarsLogs

ViewCounter

WebCars

WebLeads

/v1/leads/<id>
GET
secured

Description

Get lead

Format

json (application/json)

Methods

GET

Mask parameters

<id>
  • requirement: \d+
  • type: integer
  • description: Lead ID

Response codes

200 (Success)
401 (Invalid authentication)

Example response

{
    "lead": {
        "id": 2,
        "name": "Pavel",
        "prefix": "+420",
        "phone": "123456789",
        "email": "pepa@centrum.cz",
        "category": "Auto ESA - Rezervace",
        "location": "https:\/\/www.autoesa.cz\/seat\/exeo\/sedan\/nafta\/867160397",
        "domain": "autoesa.cz",
        "language": "cs",
        "placement": "form_rezervace",
        "title": "Seat Exeo 2.0 TDi Style",
        "make": "Seat",
        "model": "Exeo",
        "ppv": 0,
        "product_id": 1234567,
        "agree": 0,
        "created": "2019-02-07 11:35:27"
    },
    "status": "ok"
}