CRM Leads
Convert Lead
Convert a lead to an Account, Contact, and optionally an Opportunity.
This is a Salesforce-specific operation that qualifies a lead and creates:
- Account (company)
- Contact (person)
- Opportunity (deal) - optional
Request body options:
- accountId: Associate with existing Account instead of creating new one
- contactId: Associate with existing Contact instead of creating new one
- createOpportunity: Whether to create an Opportunity (default: false)
- opportunityName: Name for the Opportunity (if creating one)
- ownerId: Assign to specific owner
- sendNotificationEmail: Send email notification (default: false)
Note: This endpoint is only supported for Salesforce integrations.
post/api/v3/crm/{integration_id}/leads/{lead_id}/convert
Request
- Base URLhttps://api.nationgraph.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
integration_idstring uuid required
The CRM integration ID
lead_idstring required
The lead ID to convert
Request body
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.