Skip to navigation

Create a lead

View as MarkdownOpen in Claude

Creates a lead against the partner in the path and the vendor your API key belongs to. Ownership is never read from the request body.

Authentication

X-API-KEYstring

Your vendor API key. Required on every request under /api/v1/vendors/**.

Path parameters

partnerIdlongRequired
ID of the partner the lead belongs to.

Request

This endpoint expects an object.
firstNamestringRequired
emailAddressstringRequiredformat: "email"
companyNamestringRequired
lastNamestring or nullOptional
phoneNumberstring or nullOptional
linkedInUrlstring or nullOptional
websiteUrlstring or nullOptional
companySizestring or nullOptional
industrystring or nullOptional
jobTitlestring or nullOptional
citystring or nullOptional
statestring or nullOptional
countrystring or nullOptional
sourcelong or nullOptional
Id of a lead source dropdown value configured for your account.
statuslong or nullOptional
Id of a lead status dropdown value configured for your account.
leadAgeinteger or nullOptional
productsInterestedstring or nullOptional
businessImpactMetricsstring or nullOptional
externalIdstring or nullOptional
Your own identifier for this lead. Stored and echoed back unchanged.

Response

Lead created successfully.
successbooleanOptional
messagestring or nullOptional
dataobjectOptional
timestampdatetimeOptional

Errors

400
Bad Request Error
401
Unauthorized Error
404
Not Found Error
500
Internal Server Error