The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are CreateLeadRequest (21 properties), UpdateLeadRequest (21 properties), ConvertLeadRequest (6 properties), ValidationError (5 properties). Each schema is shown below with its type and property counts.
ConvertLeadResponse
object
Response from converting a lead.
5 properties4 required
LeadListAPIResponse
object
API response for listing leads.
3 properties2 required
HTTPValidationError
object
1 property
CreateLeadRequest
object
Request to create a lead in Salesforce. LastName and Company are required. All other fields are optional.
21 properties2 required
LeadResponse
object
API response for a single lead.
2 properties2 required
ValidationError
object
5 properties3 required
ConvertLeadRequest
object
Request to convert a lead to Account, Contact, and optionally Opportunity.
6 properties
UpdateLeadRequest
object
Request to update a lead in Salesforce. All fields are optional - only include fields you want to update.
21 properties
Specification
The full machine-readable OpenAPI contract behind this narrative.