Leads
GET
POST
Body
firstNamestringrequiredExample:
John
lastNamestringrequiredExample:
Doe
businessnumber[]requiredExample:
[1,2,3]
photostringrequiredExample:
photo.jpg
statestring · enumrequiredExample:
Active
Available options: statusIdnumberrequiredExample:
1
sourcestringrequiredExample:
Referral
phoneNumberstring[]requiredExample:
["123-456-7890"]
emailstringrequiredExample:
john.doe@example.com
descriptionstringrequiredExample:
Lead description
locationstringrequiredExample:
New York
socialMediaobjectrequired
positionstringrequiredExample:
Manager
companystringrequiredExample:
Company Name
Responses
application/json
application/json
application/json
application/json
cURL
JavaScript
Python
HTTP
201
400
404
500
PATCH
PUT
Path parameters
idstringrequired
Body
firstNamestring | nullablerequiredExample:
John
lastNamestring | nullablerequiredExample:
Doe
businessnumber[]requiredExample:
[1,2,3]
photostring | nullablerequiredExample:
photo.jpg
statestring · enum | nullablerequiredExample:
Active
Available options: statusIdnumber | nullablerequiredExample:
1
sourcestring | nullablerequiredExample:
Referral
phoneNumberstring[] | nullablerequiredExample:
["123-456-7890"]
emailstring | nullableoptionalExample:
john.doe@example.com
descriptionstring | nullablerequiredExample:
Lead description
locationstring | nullablerequiredExample:
New York
socialMediaobjectrequired
positionstring | nullablerequiredExample:
Manager
companystring | nullablerequiredExample:
Company Name
Responses
application/json
application/json
application/json
application/json
cURL
JavaScript
Python
HTTP
200
400
403
404
DELETE
Last updated