Skip to navigation

Create prospect

Same body as POST /v1/prospects. On /v1 the prospect is unowned unless owner_id is sent; on /v2 it defaults to the userToken member.

Headers

licenseKeystringRequired
appSecretstringRequired

Request

This endpoint expects an object.
contact_idstring or nullOptionalformat: "uuid"
contactobject or nullOptional

Full contact create payload (same as standalone contact create; no nested lead). Used when creating the contact with the prospect.

namestring or nullOptional1-255 characters
Defaults to the linked contact's display name when omitted
owner_idstring or nullOptionalformat: "uuid"
Defaults to the caller when omitted
status_idstring or nullOptionalformat: "uuid"
Defaults to the organization's first status
typestring or nullOptional<=100 characters
sourcestring or nullOptional<=100 characters
tagslist of stringsOptional
lead_scoreinteger or nullOptional0-100
descriptionstring or nullOptional<=20000 characters
noteslist of objectsOptional
product_interestslist of objectsOptional

Optional catalog paths to attach as prospect-owned product interests (same shape as POST /product-interests). Persisted in the create call.

Response

Created
statusstring
Response status
messagestring

Human-readable success message

statusCodeinteger
HTTP status code
codestring
Custom application status code
datamap from strings to any or list of any or string or double or boolean or nullOptional
Payload for this endpoint

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
422
Unprocessable Entity Error
429
Too Many Requests Error