Skip to content

Lead Cluster Webhook

A lead cluster refers to a group of leads matched based on key customer information such as phone numbers or emails. The webhook exports lead cluster details when created or updated in Dealer Studio to external systems. The webhook sends it’s details and its associated leads details, updates, assignments, and status changes, to the external system associated to the endpoint configured.

Authorization: Token is OPTIONAL and can be discarded in the request if the Webhook Url doesn’t require authorization

POST webhook_api_url

The webhook_api_url parameter indicates the target system’s URL for lead export. The webhook_api_token is transmitted as a Bearer token in the authorization header.

Header NameValue / FormatNotes
Content-Typeapplication/jsonPayload is sent as JSON.
Acceptapplication/jsonResponse expected in JSON format.
Authorization (OPTIONAL)Authorization / X-AuthorizationSupported Methods: API KEY: Header X-Authorization: <token> Bearer Token: Header Authorization: Bearer <token>
FieldValue Required?Description
IdYesID of Lead Cluster in Dealer Studio
dealership_idYesID of Dealer associated with Lead Cluster in Dealer Studio
providerYesprovider. default as Dealer Studio
statusYesStatus of Lead Cluster (from Status Options shown below)
contactYesContact Details of Lead Cluster as shown below
approverYesapprove details of lead cluster as below. this is the person who approved the status changes of lead Cluster
assigned_salespersonYesassigned sales person details of lead cluster as below
createdYesCreated_at timestamp of Lead Cluster
modifiedYesupdated_at timestamp of Lead Cluster
first_lead_created_atYesCreated time of the first lead of Lead Cluster
last_lead_created_atYescreated time of the last lead of Lead Cluster
leadsYesArray of leads associated with lead Cluster in Dealer Studio
lead_eventsYesLead events associated to the lead Cluster recorded in DS
FieldValue Required?Description
business_nameNoLead’ Cluster’s customer business name /title
first_nameYesLead Cluster customer first name
last_nameYesLead Cluster customer last name
emailYesLead Cluster customer email
postcodeNoLead Cluster customer postcode field
mobile_phoneYesLead Cluster customer Phone
dobNoLead Cluster customer Date of Birth if provided else returned nil
FieldValue Required?Description
idYesApprover Id of Lead Cluster in DS
nameYesname of approver approved lead Cluster status change in DS
FieldValue Required?Description
idYesAssigned User Id of Lead Cluster in DS
nameYesname of Assigned User of lead Cluster in DS
FieldValue Required?Description
idYesLead ID in Dealer Studio
website_urlNoLead’s website url
sourceYesSource from the list below
categoryYesCategory from the list below
locationYesLocation details from where the Lead submitted — Mostly within the dealer’s location that exist in DS. object details explained below
prospectYesLead Customer details as object from below Prospect fields
subscriptionYesLead’s subscription object fields below
commentsNoLead’s message
createdYesLead created_at
modifiedYesLead updated_at
booking_dateNoAppointment date set for Test Drive Bookings or Service Bookings with date as string. For other enquiries it will not be part of payload.
booking_timeNoAppointment time set for Test Drive Bookings or Service Bookings with time as string. For other enquiries it will not be part of payload.
itemYesLead vehicle details as object with below Item fields
additional_detailsNoThis holds any fields that are not mapped to any existing key in the payload get mapped here
trade_in_dataNoThis includes lead’s field values when Enquiry Type is Trade-In Enquiry or Sell My Car Enquiry. For other enquiries this field is not mapped.
offer_dataNoThis includes lead’s field values when Enquiry Type is Special Offer Enquiry. For other enquiries this field is not mapped.
budgetNoLead’s vehicle budget if Category is Finance Enquiry
purchase_priceNoLead’s Purchase Price budget if Category is Finance Enquiry
FieldValue Required?Description
streetYesStreet from Location details of Lead (one of the Dealership Locations)
suburbNoSuburb of the Location details. It is OPTIONAL
cityYesCity from Location details of Lead (one of the Dealership Locations)
stateYesState from Location details of Lead (one of the Dealership Locations)
postcodeYesPostcode from Location details of Lead (one of the Dealership Locations)
FieldValue Required?Description
nameYesLead’s first name
last_nameYesLead’s last name
emailYesLead’s customer email
postcodeNoLead postcode field
home_phoneNoLead’s Phone
mobile_phoneYesLead’s Mobile Phone
addressNoAddress details of Lead (if provided on lead creation). it is returned nil if no address mapped for Lead
licence_typeNoLead’s licence_type if Category is Finance Enquiry, else returned nil
driver_licence_numberNoLead’s driver licence if Category is Finance Enquiry else returned nil
employment_typeNoLead’s Employment Type if Category is Finance Enquiry else returned nil
dobNoLead’s Date of Birth if provided else returned nil
residency_statusYesLead’s residency status if provided else returned nil
FieldValue Required?Description
streetYesStreet from Location details of Lead (one of the Dealership Locations)
cityYesCity from Location details of Lead (one of the Dealership Locations)
stateYesState from Location details of Lead (one of the Dealership Locations)
postcodeYesPostcode from Location details of Lead (one of the Dealership Locations)
FieldValue Required?Description
newsletterYesLead’s opt_in Default: true
FieldValue Required?Description
typeYes’Car’
car_typeYesCar’s car type from below list
idNoLead’s car Id
vinNoCar’s Vin of Lead
statusNoStatus of Vehicle attached to Lead. It will be any of these values: In Stock, Sold, Coming soon. null if no vehicle attached
colourNoCar’s colour
body_typeNoCar’s Body Type
redbook_codeNoCar’s redbook code
build_dateNoCar’s build date
transmissionNoCar’s transmission either Automatic or Manual
interior_colourNoCar’s interior colour
stock_numberNoLead’s car stock_num
depositNoLead’s Deposit amount if Category is Finance Enquiry
makeNoCar make (manufacturer name) value of the lead
modelNoCar model of the lead
badgeNoCar badge of the lead
yearNoCar year value of lead
priceNoCar price
regoNoCar rego
engine_sizeNoEngine Size of Car
kmNoCar kms
commentsNoDealer comments of Car
seriesNoSeries of Car
urlNoCar’s url or Lead url
spin_codeNoSpin code of car
third_party_integrationsNoCar’s third party integrations existed on DS
FieldValue Required?Description
regoYesrego of the detail submitted through form on website
kmsYesKms on Lead Fields
stateYesState selected on Trade-In form
titleYesCombination of Year, make, model, badge, series
yearYesYear of Car from Lead Fields
makeYesMake of Car from Lead Fields
modelYesModel of Car from Lead Fields
badgeYesBadge of Car from Lead Fields
seriesYesSeries of Car from Lead Fields
retail_priceYesRetail price after valuation of the car
trade_priceYesTrading price of the car after valuation
price_adjustmentYesPrice adjustment made after valuation
offer_priceYesOffered price for Lead Fields car
offer_acceptedYesFlag to determine whether the user accepted the offer or not. Values are true or false as boolean
FieldValue Required?Description
manufacturerNoManufacturer of Car
offer_nameNoOffer title
FieldValue Required?Description
idYesID of the lead event in DS
event_typeYesType of the event associated. Any one of these: [‘email’, ‘phone’, ‘sms’, ‘test_drive’, ‘note’]
descriptionYesdescription of the event
created_atYesCreatedAt timestamp of the event in DS system
updated_atYesUpdatedAt timestamp of the event in DS system
external_serviceNoService from which the lead event is created.
deleted_atNodeleted_at if in case the lead event is deleted at DS
followup_reasonNoreason for follow up of the lead event with lead
followup_datetimeNoTime of the followup of the event
followup_statusYesStatus of the lead event. It will be any one of the below: [‘pending’, ‘completed’]
followup_completed_atNoFollow up Completedat timestamp of the event
user_nameNoUser created the Lead event
{
"id": 112233,
"dealership_id": 121,
"provider": "Dealer Studio",
"status": "New",
"contact": {
"business_name": null,
"first_name": "John",
"last_name": "Doe",
"email": "john.doe@hotmail.com",
"dob": null,
"postcode": 4567,
"mobile_phone": "+61411111111"
},
"approver": {
"id": 12,
"name": "Approver"
},
"assigned_salesperson": {
"id": 112,
"name": "Salesperson"
},
"created": "2025-03-13T12:08:32.458Z",
"modified": "2025-03-13T12:22:11.904Z",
"pipeline": {
"id": 123,
"name": "Sales"
},
"first_lead_created_at": "2025-03-13T12:21:08.000Z",
"last_lead_created_at": "2025-03-13T12:21:08.000Z",
"leads": [
{
"id": 1041902,
"website_url": null,
"source": "Carsales",
"category": "Used Vehicle Enquiry",
"location": {
"street": "116 Eagle St",
"city": "Eagle Farm",
"state": "QLD",
"postcode": 4009
},
"prospect": {
"title": "Mr",
"name": "SMS",
"last_name": "Connect Prospect",
"middle_name": null,
"email": null,
"postcode": 4009,
"home_phone": null,
"mobile_phone": "+61414632323",
"address": null,
"dob": null,
"licence_type": "Full",
"driver_licence_number": "123456789",
"employment_type": "Full Time",
"living_situation": "Owning",
"residency_status": "Citizen"
},
"subscription": {
"newsletter": false
},
"comments": "Thank you \nMy partner is looking for a new car , are you open over the weekend ?",
"budget": "$60,000",
"purchase_price": 60000.0,
"created": "2025-03-13T12:22:11.235Z",
"modified": "2025-03-13T12:22:11.235Z",
"item": {
"type": "Car",
"car_type": "new",
"id": 103108,
"vin": "ASHJNBV436",
"status": "In stock",
"colour": "white",
"body_type": "Ute",
"stock_number": "aqlrny",
"redbook_code": "REDH21321",
"build_date": "2022-02-25",
"transmission": "Automatic",
"interior_color": "Red",
"deposit": 2000.55,
"make": "Haval",
"model": "jolion",
"badge": "gasda",
"year": 2011,
"rego": "123VEV",
"price": 81475.0,
"engine_size": "2.0L",
"km": 17368.0,
"series": "Cannon",
"comments": "Great Car!!",
"url": "https://www.tinthouse.com.au/cars/demo-2011-haval-jolion-aqlrny",
"spin_code": "1725593452345_dsfd34faq324fer4r5r34dfst4gfvdrsger",
"third_party_integrations": [
{
"service": "Autograb",
"external_id": "abc123"
}
]
},
"additional_details": {
"more_details": "details"
},
"booking_date": "2025-03-13",
"booking_time": "12:00PM",
"trade_in_data": {
"rego": "151VEV",
"kms": 350000,
"state": "QLD",
"title": "2014 Mazda CX-5 Maxx KE Series Manual MY14",
"year": 2014,
"make": "Mazda",
"model": "CX-5",
"badge": "Maxx",
"series": "KE Series",
"retail_price": 8506,
"trade_price": 5529,
"price_adjustment": 0,
"offer_price": 5529,
"offer_accepted": true
},
"offer_data": {
"manufacturer": "Manufacturer ABC",
"offer_name": "Offer 1234"
}
}
],
"lead_events": [
{
"id": 6,
"event_type": "sms",
"description": "Tried calling, but didnt answer!",
"created_at": "2024-06-04T01:06:20.343Z",
"updated_at": "2024-06-04T01:06:20.343Z",
"external_service": "Impel",
"deleted_at": null,
"followup_reason": null,
"followup_datetime": null,
"followup_status": "completed",
"followup_completed_at": "2024-06-04T03:06:20.343Z",
"user_name": "John Don"
}
]
}

Category is required, and must be one of the following:

  • New Vehicle Enquiry
  • Used Vehicle Enquiry
  • Special Offer Enquiry
  • Test Drive Booking
  • Trade-in Enquiry
  • Sell My Car Enquiry
  • Fleet Enquiry
  • Service Booking
  • Service Enquiry
  • Parts Enquiry
  • General Enquiry
  • Finance Enquiry
  • Insurance Enquiry
  • Competition Enquiry
  • Survey
  • Subscription Enquiry
  • Team Member Enquiry

Source is required and must be one of the following:

  • Website
  • Facebook
  • Facebook Marketplace
  • Chatbot
  • Chatbot — External
  • QR Code
  • Carsales
  • Autotrader
  • Walk In
  • Phone call

Status is required and must be one of the following:

  • New
  • Contacted
  • Lost
  • Converted

There can be other status options set by dealer in Dealer Studio.

Item Type is required and must be one of the following:

  • Car
  • Motorcycle
  • Boat
  • Caravan
  • Truck
  • Trailer
  • Bus
  • Machinery
  • Other