createLead
Create a lead with the provided details.
Arguments
Input fields for creating a lead.
Possible Errors
- KT-CT-1113: Disabled GraphQL field requested.
- KT-CT-4121: Invalid phone number.
- KT-CT-7899: An internal error occurred.
- KT-CT-8902: Unable to create lead.
- KT-CT-8912: Funnel not found.
- KT-CT-8919: Funnel initial stage not set.
- KT-CT-8928: The funnel is not active and cannot be used to create this entity.
- KT-CT-8930: Unable to parse address.
- KT-CT-8931: Extra detail value is invalid.
- KT-CT-8932: Lead contact details missing account holder.
- KT-CT-8934: Lead contact details missing account representative.
- KT-CT-8935: National ID bad input.
- KT-CT-8939: Extra detail value is required.
- KT-CT-8940: Lead contact role already exists.
- KT-CT-8941: Invalid language preference code.
- KT-CT-8956: Conflicting address inputs.
- KT-CT-8958: A lead contact must have at least one role.
- KT-CT-8960: A lead already exists for this contact.
- KT-CT-9017: Consent type not found.
Allowed Viewers
Required Permissions
Can create leadsQuery Complexity
1Examples
The example data in the variables and responses below are autogenerated values designed to resemble real inputs. They do not represent actual customer data, and in some cases may require additional validation.
Variables
{
"input": CreateLeadInput
}
Response
{
"data": {
"createLead": {
"leadNumber": "meet-green-even-worker-training"
}
}
}