Leads
Use the REST API to interact with Leads
List leads
Retrieve a list of leads
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Header parameters
AcceptstringRequiredExample:
Setting to application/json is recommended
application/jsonResponses
200
Success
application/json
401
Unauthorised
application/json
get
/leadsCreating a new lead
Create a new lead entry
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
body
lead_datastringOptionalExample:
Datetime value the lead was created at, leave blank for current timestamp
2023-01-01 10:30:00namestringOptionalExample:
Lead Name
John SmithphonestringOptionalExample:
Lead Phone Number
0411 111 111messagestringOptionalExample:
Message / Content from Form
I'm looking for a price for a car servicegoogle_client_idstringOptionalExample:
Google Client ID
123456789.98765433web_sourcestringOptionalExample:
Source of Lead E.g "google" or "direct"
googleweb_campaignstringOptionalExample:
Campaign Attribution
Location Basedweb_mediumstringOptionalExample:
Medium Attribution E.g "paid" or "organic"
paidweb_keywordstringOptionalExample:
Keyword Attribution
Sydney Car Serviceform_namestringOptionalExample:
Name of form lead completed
Contact UsurlstringOptionalExample:
URL of Lead Acquisition
https://www.sydcarservice.xyz/contact-usdatastringOptionalExample:
Additional Information (JSON String)
{"make": "Nissan", "model": "X-Trail", "year": "2022"}Header parameters
AcceptstringRequiredExample:
Request content type
application/jsonResponses
201
Lead created successfully
application/json
400
Invalid input
post
/leadsGet lead
Retrieve a single lead
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequiredExample:
Lead ID
751dd3d0-23ae-4a4a-9049-6982423da87aHeader parameters
AcceptstringRequiredExample:
Setting to application/json is recommended
application/jsonResponses
200
Success
application/json
401
Unauthorised
application/json
get
/leads/{id}Last updated