---
title: "Create a lead record from an external source"
method: POST
path: "/leads"
tags: ["Leads"]
---

# Create a lead record from an external source

`POST /leads`

## Request

- Base URL: `https://api.leadping.ai`
- URL: `https://api.leadping.ai/leads`
- Auth: HTTP bearer

Creates a source-authenticated lead captured outside Leadping, starting follow-up, routing, and automation from structured lead data.

## Request body

- LeadRequest: Defines the fields clients can send when working with lead.
  - `metadata` LeadMetadata, required: Public Leadping API schema for lead attribution metadata data.
    - `sentiment` 'Positive' | 'Negative', nullable: Interest expressed in the lead's first inbound text reply, independent of contact consent.
    - `sentimentMessageId` string, nullable: First inbound SMS selected for sentiment analysis. Later replies cannot replace it.
    - `sentimentAnalyzedAt` string, date-time, nullable: Completion time, including a first reply that has no positive or negative sentiment.
    - `sourceName` string, nullable: Source name captured at intake for searching lead attribution.
    - `organizationName` string, nullable: Organization name captured at intake for searching lead attribution.
    - `intakeIdempotencyKey` string, nullable: Stable source operation key. Reuse for retries, and change for a new submission.
    - `capturedAt` string, date-time, nullable: Timestamp when the source originally captured the inquiry.
    - `captureIpAddress` string, nullable: Source-reported IP address of the original visitor.
    - `captureUserAgent` string, nullable: Source-reported user agent of the original visitor.
    - `currency` string, nullable: ISO 4217 currency code for the lead acquisition price.
    - `utmSource` string, nullable: UTM source parameter captured for lead attribution reporting.
    - `utmMedium` string, nullable: UTM medium parameter captured for lead attribution reporting.
    - `utmCampaign` string, nullable: UTM campaign parameter captured for lead attribution reporting.
    - `utmTerm` string, nullable: UTM term parameter captured for lead attribution reporting.
    - `utmContent` string, nullable: UTM content parameter captured for lead attribution reporting.
    - `referrer` string, nullable: Referring page or traffic source that sent the lead into Leadping.
    - `landingPage` string, nullable: Landing page URL where the lead submitted their information.
    - `subId` string, nullable: Affiliate or publisher sub ID captured for lead attribution.
    - `pubId` string, nullable: Publisher ID supplied by the lead source for attribution.
    - `ipAddress` string, nullable: IP address captured with the request for audit and compliance review.
    - `userAgent` string, nullable: Browser or client user agent captured when this lead attribution metadata was submitted.
    - `externalId` string, nullable: External system identifier used to reconcile this lead attribution metadata across integrations.
    - `sellerLeadId` string, nullable: Seller-provided lead identifier used to deduplicate and reconcile lead delivery.
    - `createdAt` string, date-time, nullable: UTC timestamp when this lead attribution metadata was created.
    - `price` number, double, nullable: Lead price or transaction price supplied to the Leadping API.
    - `directPostPrice` number, double, nullable: Alias for price. When both are supplied, their amounts must agree.
    - `product` string, nullable: Product or offer associated with the lead or source.
    - `vertical` string, nullable: Industry vertical used for lead routing, compliance review, and reporting.
    - `complianceStatus` string, nullable: Compliance status used to decide whether Leadping can send messages.
    - `complianceBlockedReason` string, nullable: Reason Leadping blocked this operation for compliance.
    - `sourceMetadata` object, nullable: Source-provided key-value metadata retained for lead attribution and integration troubleshooting.
    - `origin` string, nullable: System or workflow that created this event.
    - `importBatchId` string, nullable: Bulk import batch ID that created or updated this lead.
    - `isImported` boolean: Indicates whether this lead was imported rather than captured through a live source.
    - `assignedPhoneNumberId` string, nullable: Phone number ID assigned to the lead, organization, or source.
    - `smsConsentStatus` string, nullable: Current SMS consent status recorded for this lead.
    - `smsOptedOut` boolean: Indicates whether the lead has opted out of SMS communication.
    - `smsOptOutAt` string, date-time, nullable: UTC timestamp when the lead opted out of SMS communication.
    - `smsOptInAt` string, date-time, nullable: UTC timestamp when the lead opted in to SMS communication.
    - `smsHelpRequestedAt` string, date-time, nullable: UTC timestamp when the lead requested SMS help instructions.
    - `smsConsentPhoneNumber` string, nullable: Phone number where SMS consent was captured or evaluated.
    - `consentCertificateUrl` string, uri: Certificate URL used as proof of consumer consent.
    - `consentCertificateType` 'TrustedForm' | 'Leadping' | 'ManualVoice' | 'Other', nullable: The provider responsible for a lead's consent certificate.
    - `consentAttested` boolean: User attestation of SMS consent from another source; does not establish independent verification.
    - `consentValidationSkippedAt` string, date-time, nullable: Server-issued time at which the source policy skipped certificate validation for this consent snapshot.
    - `consentVerificationStatus` 'Verified' | 'Unverified' | 'Quarantined': Leadping's assessment of the supporting consent evidence.
    - `trustedFormCheckedAt` string, date-time, nullable: UTC timestamp when Leadping last successfully checked the TrustedForm certificate URL availability.
    - `trustedFormRejectedAt` string, date-time, nullable: Server-issued timestamp when TrustedForm returned HTTP 400 or the certificate was already used by the organization; the evidence remains unverified.
    - `leadpingConsentCheckedAt` string, date-time, nullable: Server-issued timestamp for successful Leadping Consent evidence and recipient validation.
    - `organizationId` string, nullable: Organization ID that owns this lead's attribution metadata.
  - `contact` LeadContact, required: Public Leadping API schema for lead contact profile data.
    - `firstName` string, nullable: First name of the lead, user, or contact represented by this lead contact profile.
    - `lastName` string, nullable: Last name of the lead, user, or contact represented by this lead contact profile.
    - `streetAddress` StreetAddress, nullable: Postal street address for the lead contact profile.
      - `line1` string, nullable
      - `line2` string, nullable
      - `city` string, nullable
      - `state` string, nullable
      - `province` string, nullable
      - `region` string, nullable
      - `postalCode` string, nullable
      - `country` string, nullable
      - `additionalInfo` string, nullable
    - `coordinate` Coordinate, nullable: Latitude and longitude coordinate for this lead contact profile.
      - `latitude` number, double, required: Latitude of the geographic coordinate in decimal degrees, from -90 through 90.
      - `longitude` number, double, required: Longitude of the geographic coordinate in decimal degrees, from -180 through 180.
    - `timeZoneId` string, nullable: IANA or Windows time zone identifier used for local scheduling and reporting.
    - `phone` Phone, nullable: Public Leadping API schema for lead phone number data.
      - `phoneIdentityId` string, nullable: Server-derived identifier of the canonical phone identity. Client-supplied linkage is ignored when creating or updating a lead.
      - `number` string: E.164 phone number exposed by this lead phone number.
      - `type` string, nullable: Type classification used to route and interpret this lead phone number in the Leadping API.
    - `email` string, email, nullable: Email address for the person represented by this lead contact profile.
    - `avatarUrl` string, uri, nullable: Optional profile image URL for the contact. Clients fall back to Gravatar and then initials when this value is not supplied.
  - `profile` LeadProfile, nullable: Public Leadping API schema for lead demographic profile data.
    - `gender` 'M' | 'F' | 'NonBinary' | 'PreferNotToSay' | 'Other', nullable: Classifies a lead's self-reported gender when required by a qualification, demographic, or integration workflow.
    - `birthDate` string, date, nullable: Lead birth date used for demographic matching and insurance intake workflows.
    - `qualification` LeadQualification, nullable: Optional consumer qualification details for workflows that need them.
      - `height` integer, nullable: Height in inches.
      - `weight` integer, nullable: Body weight in pounds.
      - `maritalStatus` 'Married' | 'Single' | 'Widow' | 'Separated' | 'Divorced', nullable: Classifies a lead's reported marital status when required by a qualification or integration workflow.
      - `income` integer, nullable: Annual income amount in the specified IncomeCurrency.
      - `isHomeowner` boolean, nullable: Indicates whether the lead owns their home.
      - `monthsAtResidence` integer, nullable: Number of months the lead has lived at the current residence.
      - `creditScore` integer, nullable: Exact credit score supplied by the intake source; not a range.
      - `hasBankruptcy` boolean, nullable: Indicates whether the lead reported bankruptcy history.
      - `employmentType` 'Employed' | 'PartTime' | 'SelfEmployed' | 'Contractor' | 'Unemployed' | 'Retired' | 'Student' | 'Military' | 'Homemaker' | 'Disabled' | 'Other', nullable: Classifies a lead's reported employment arrangement for qualification and demographic workflows.
      - `numberOfDependents` integer, nullable: Number of dependents reported by the lead.
      - `hasMedicalCondition` boolean, nullable: Indicates whether the lead reported a medical condition relevant to qualification.
      - `incomeCurrency` string, nullable: ISO 4217 currency code for annual income.
  - `inquiry` LeadInquiry, nullable: The service or purchase requested by a lead.
    - `service` string, nullable: Requested service or product.
    - `description` string, nullable: Description of the requested work or purchase.
    - `budgetMinimum` number, double, nullable: Minimum budget in the specified currency.
    - `budgetMaximum` number, double, nullable: Maximum budget in the specified currency.
    - `currency` string, nullable: ISO 4217 currency code for the budget.
    - `desiredStartDate` string, date, nullable: Requested start date.
    - `urgency` 'Flexible' | 'Soon' | 'Urgent', nullable: Supported LeadUrgency values.
  - `company` LeadCompany, nullable: Business represented by a lead contact.
    - `name` string, nullable: Business name.
    - `website` string, nullable: Business website URL.
    - `jobTitle` string, nullable: Contact role at the business.
    - `industry` string, nullable: Industry of the business, independent of the requested service.
    - `employeeCount` integer, nullable: Number of employees, when known.
  - `serviceAddress` StreetAddress, nullable: Postal street address for the lead contact profile.
    - `line1` string, nullable
    - `line2` string, nullable
    - `city` string, nullable
    - `state` string, nullable
    - `province` string, nullable
    - `region` string, nullable
    - `postalCode` string, nullable
    - `country` string, nullable
    - `additionalInfo` string, nullable
  - `contactPreferences` LeadContactPreferences, nullable: Preferred contact language, channel, and callback windows; does not grant consent.
    - `language` string, nullable: Preferred BCP 47 language tag, such as en-US.
    - `channel` 'Email' | 'Phone' | 'Sms', nullable: Supported LeadContactChannel values.
    - `callbackWindows` LeadCallbackWindow[], nullable: Preferred callback windows in the contact time zone.
      - `date` string, date, nullable: Local calendar date for the callback.
      - `start` string, time, nullable: Inclusive local start time.
      - `end` string, time, nullable: Exclusive local end time on the same date.
  - `customFields` object, nullable: Industry-specific JSON scalar or scalar-array answers; keys are stable field identifiers.
  - `enabled` boolean, nullable: Whether the lead is enabled.
  - `tagIds` string[]: Optional tag IDs assigned to this lead. Defaults to an empty list when omitted.
  - `tagNames` string[]: Optional tag names matched against existing tags. Defaults to an empty list when omitted.
  - `id` string, nullable

## Response `201`

Lead was successfully created.

- LeadResponse: Describes lead data returned by Leadping.
  - `hasSourceSmsConsent` boolean: Whether the source provides consent for manual quote calls and manual or automated quote texts to this recipient.
  - `possibleDuplicate` PossibleDuplicateLead, nullable: An intake match. Earlier lead details are supplied only when visible to the viewer.
    - `leadId` string, nullable
    - `sourceName` string, nullable
    - `receivedAt` string, date-time, nullable
  - `isDemo` boolean: Whether this record belongs to demo data.
  - `assignedToUserId` string, nullable: Leadping user currently responsible for this lead, or null when it is in the unassigned queue.
  - `assignedTo` IdNamePair, nullable: User summary connected to this automation configuration response.
    - `id` string, required
    - `name` string, required
  - `metadata` LeadMetadata: Public Leadping API schema for lead attribution metadata data.
    - `sentiment` 'Positive' | 'Negative', nullable: Interest expressed in the lead's first inbound text reply, independent of contact consent.
    - `sentimentMessageId` string, nullable: First inbound SMS selected for sentiment analysis. Later replies cannot replace it.
    - `sentimentAnalyzedAt` string, date-time, nullable: Completion time, including a first reply that has no positive or negative sentiment.
    - `sourceName` string, nullable: Source name captured at intake for searching lead attribution.
    - `organizationName` string, nullable: Organization name captured at intake for searching lead attribution.
    - `intakeIdempotencyKey` string, nullable: Stable source operation key. Reuse for retries, and change for a new submission.
    - `capturedAt` string, date-time, nullable: Timestamp when the source originally captured the inquiry.
    - `captureIpAddress` string, nullable: Source-reported IP address of the original visitor.
    - `captureUserAgent` string, nullable: Source-reported user agent of the original visitor.
    - `currency` string, nullable: ISO 4217 currency code for the lead acquisition price.
    - `utmSource` string, nullable: UTM source parameter captured for lead attribution reporting.
    - `utmMedium` string, nullable: UTM medium parameter captured for lead attribution reporting.
    - `utmCampaign` string, nullable: UTM campaign parameter captured for lead attribution reporting.
    - `utmTerm` string, nullable: UTM term parameter captured for lead attribution reporting.
    - `utmContent` string, nullable: UTM content parameter captured for lead attribution reporting.
    - `referrer` string, nullable: Referring page or traffic source that sent the lead into Leadping.
    - `landingPage` string, nullable: Landing page URL where the lead submitted their information.
    - `subId` string, nullable: Affiliate or publisher sub ID captured for lead attribution.
    - `pubId` string, nullable: Publisher ID supplied by the lead source for attribution.
    - `ipAddress` string, nullable: IP address captured with the request for audit and compliance review.
    - `userAgent` string, nullable: Browser or client user agent captured when this lead attribution metadata was submitted.
    - `externalId` string, nullable: External system identifier used to reconcile this lead attribution metadata across integrations.
    - `sellerLeadId` string, nullable: Seller-provided lead identifier used to deduplicate and reconcile lead delivery.
    - `createdAt` string, date-time, nullable: UTC timestamp when this lead attribution metadata was created.
    - `price` number, double, nullable: Lead price or transaction price supplied to the Leadping API.
    - `directPostPrice` number, double, nullable: Alias for price. When both are supplied, their amounts must agree.
    - `product` string, nullable: Product or offer associated with the lead or source.
    - `vertical` string, nullable: Industry vertical used for lead routing, compliance review, and reporting.
    - `complianceStatus` string, nullable: Compliance status used to decide whether Leadping can send messages.
    - `complianceBlockedReason` string, nullable: Reason Leadping blocked this operation for compliance.
    - `sourceMetadata` object, nullable: Source-provided key-value metadata retained for lead attribution and integration troubleshooting.
    - `origin` string, nullable: System or workflow that created this event.
    - `importBatchId` string, nullable: Bulk import batch ID that created or updated this lead.
    - `isImported` boolean: Indicates whether this lead was imported rather than captured through a live source.
    - `assignedPhoneNumberId` string, nullable: Phone number ID assigned to the lead, organization, or source.
    - `smsConsentStatus` string, nullable: Current SMS consent status recorded for this lead.
    - `smsOptedOut` boolean: Indicates whether the lead has opted out of SMS communication.
    - `smsOptOutAt` string, date-time, nullable: UTC timestamp when the lead opted out of SMS communication.
    - `smsOptInAt` string, date-time, nullable: UTC timestamp when the lead opted in to SMS communication.
    - `smsHelpRequestedAt` string, date-time, nullable: UTC timestamp when the lead requested SMS help instructions.
    - `smsConsentPhoneNumber` string, nullable: Phone number where SMS consent was captured or evaluated.
    - `consentCertificateUrl` string, uri: Certificate URL used as proof of consumer consent.
    - `consentCertificateType` 'TrustedForm' | 'Leadping' | 'ManualVoice' | 'Other', nullable: The provider responsible for a lead's consent certificate.
    - `consentAttested` boolean: User attestation of SMS consent from another source; does not establish independent verification.
    - `consentValidationSkippedAt` string, date-time, nullable: Server-issued time at which the source policy skipped certificate validation for this consent snapshot.
    - `consentVerificationStatus` 'Verified' | 'Unverified' | 'Quarantined': Leadping's assessment of the supporting consent evidence.
    - `trustedFormCheckedAt` string, date-time, nullable: UTC timestamp when Leadping last successfully checked the TrustedForm certificate URL availability.
    - `trustedFormRejectedAt` string, date-time, nullable: Server-issued timestamp when TrustedForm returned HTTP 400 or the certificate was already used by the organization; the evidence remains unverified.
    - `leadpingConsentCheckedAt` string, date-time, nullable: Server-issued timestamp for successful Leadping Consent evidence and recipient validation.
    - `organizationId` string, nullable: Organization ID that owns this lead's attribution metadata.
  - `contact` LeadContact: Public Leadping API schema for lead contact profile data.
    - `firstName` string, nullable: First name of the lead, user, or contact represented by this lead contact profile.
    - `lastName` string, nullable: Last name of the lead, user, or contact represented by this lead contact profile.
    - `streetAddress` StreetAddress, nullable: Postal street address for the lead contact profile.
      - `line1` string, nullable
      - `line2` string, nullable
      - `city` string, nullable
      - `state` string, nullable
      - `province` string, nullable
      - `region` string, nullable
      - `postalCode` string, nullable
      - `country` string, nullable
      - `additionalInfo` string, nullable
    - `coordinate` Coordinate, nullable: Latitude and longitude coordinate for this lead contact profile.
      - `latitude` number, double, required: Latitude of the geographic coordinate in decimal degrees, from -90 through 90.
      - `longitude` number, double, required: Longitude of the geographic coordinate in decimal degrees, from -180 through 180.
    - `timeZoneId` string, nullable: IANA or Windows time zone identifier used for local scheduling and reporting.
    - `phone` Phone, nullable: Public Leadping API schema for lead phone number data.
      - `phoneIdentityId` string, nullable: Server-derived identifier of the canonical phone identity. Client-supplied linkage is ignored when creating or updating a lead.
      - `number` string: E.164 phone number exposed by this lead phone number.
      - `type` string, nullable: Type classification used to route and interpret this lead phone number in the Leadping API.
    - `email` string, email, nullable: Email address for the person represented by this lead contact profile.
    - `avatarUrl` string, uri, nullable: Optional profile image URL for the contact. Clients fall back to Gravatar and then initials when this value is not supplied.
  - `phoneIdentity` PhoneIdentityResponse, nullable: Describes Leadping's canonical identity for a phone number, including normalization, carrier, line type, reputation, and lookup history.
    - `smsNotRoutable` boolean: Whether a recipient-specific carrier rejection currently blocks texting.
    - `smsRestrictionCode` string, nullable: The provider error code responsible for the current texting restriction.
    - `isDemo` boolean: Whether this record belongs to demo data.
    - `number` string: The canonical E.164 phone number.
    - `lookup` PhoneLookup, nullable: Public Leadping API schema for phone lookup result data.
      - `number` string, nullable: E.164 phone number exposed by this phone lookup result.
      - `nationalFormat` string, nullable: Provider-formatted national phone number.
      - `recordType` string, nullable: Provider record discriminator.
      - `fraud` string, nullable: Fraud value returned by the provider, when available.
      - `isValid` boolean: Indicates whether this phone lookup result passed validation.
      - `lineType` 'Wireline' | 'Wireless' | 'VoWiFi' | 'VoIP' | 'PrePaidWireless' | 'Unknown', nullable: Carrier line type reported for this phone number, such as mobile, VoIP, or landline.
      - `carrier` PhoneLookupCarrier, nullable: Complete carrier metadata returned by a phone number lookup provider.
        - `mobileCountryCode` string, nullable: Mobile country code (MCC) reported by the carrier lookup.
        - `mobileNetworkCode` string, nullable: Mobile network code (MNC) reported by the carrier lookup.
        - `name` string, nullable: Human-readable name of the phone lookup carrier.
        - `normalizedCarrier` string, nullable: Normalized carrier name used for consistent matching and reporting.
        - `type` 'FixedLine' | 'Mobile' | 'Voip' | 'FixedLineOrMobile' | 'TollFree' | 'PremiumRate' | 'SharedCost' | 'PersonalNumber' | 'Pager' | 'Uan' | 'Voicemail' | 'Unknown', nullable: Type classification for this Leadping phone lookup carrier.
        - `errorCode` string, nullable: Reason or diagnostic code that explains the current outcome for this Leadping phone lookup carrier.
      - `callerName` PhoneLookupCallerName, nullable: Caller-name data returned by the phone lookup provider.
        - `name` string, nullable: Caller name associated with the phone number, when reported by the provider.
        - `errorCode` string, nullable: Provider error code returned when caller-name data could not be resolved.
      - `portability` PhoneLookupPortability, nullable: Number-portability and routing data returned by Telnyx.
        - `alternativeSpid` string, nullable: Alternative service provider identifier reported for the number.
        - `alternativeCarrierName` string, nullable: Name of the carrier associated with the alternative service provider identifier.
        - `alternativeCarrierType` string, nullable: Carrier type associated with the alternative service provider identifier.
        - `city` string, nullable: City reported by the portability lookup.
        - `lineType` string, nullable: Provider-native line type reported by the portability lookup.
        - `localRoutingNumber` string, nullable: Local routing number used to route calls for the ported number.
        - `operatingCompanyNumber` string, nullable: Operating company number associated with the phone number.
        - `portedDate` string, nullable: Date on which the phone number was ported, as reported by the provider.
        - `portedStatus` string, nullable: Current number-portability status reported by the provider.
        - `spid` string, nullable: Service provider identifier currently associated with the number.
        - `carrierName` string, nullable: Name of the carrier currently serving the number.
        - `carrierType` string, nullable: Type of carrier currently serving the number.
        - `state` string, nullable: State or region reported by the portability lookup.
      - `location` PhoneNumberLocation, nullable: Public Leadping API schema for phone number location data.
        - `resolvedAt` string, date-time, nullable: When local geography resolution completed, including when no geographic match exists. Prevents repeated resolution until an explicit rebuild or new carrier lookup.
        - `location` string, nullable: Geographic location metadata for the phone number, lead, or lookup result.
        - `state` string, nullable: State, province, or region for the lead or organization postal address.
        - `canonicalCity` string, nullable: Canonical city resolved by Leadping from its ZIP-code geography data.
        - `canonicalState` string, nullable: Canonical state or territory abbreviation resolved by Leadping.
        - `countryCode` string, nullable: Country code for the phone number or location represented by this phone number location.
        - `coordinate` Coordinate, nullable: Latitude and longitude coordinate for this lead contact profile.
          - `latitude` number, double, required: Latitude of the geographic coordinate in decimal degrees, from -90 through 90.
          - `longitude` number, double, required: Longitude of the geographic coordinate in decimal degrees, from -180 through 180.
        - `isCoordinateApproximate` boolean: Whether the coordinates represent an approximate phone-number region rather than a resolved city.
        - `coordinateSource` PhoneLocationSource, nullable: Describes how a phone location value was resolved.
          - `method` string: The resolution method, such as Telnyx-city-state, coordinates, phone-number, or state-default.
          - `query` string, nullable: The city, state, coordinates, phone number, or representative ZIP used by the method.
        - `timeZoneId` string, nullable: IANA or Windows time zone identifier used for local scheduling and reporting.
        - `timeZoneSource` PhoneLocationSource, nullable: Describes how a phone location value was resolved.
          - `method` string: The resolution method, such as Telnyx-city-state, coordinates, phone-number, or state-default.
          - `query` string, nullable: The city, state, coordinates, phone number, or representative ZIP used by the method.
      - `id` string: Unique Leadping identifier for the saved phone lookup record.
      - `createdAt` string, date-time: UTC timestamp when the phone lookup record was created.
      - `modifiedAt` string, date-time, nullable: UTC timestamp when the phone lookup record was last updated.
    - `lastEnrichedAt` string, date-time, nullable: The most recent time lookup data was enriched.
    - `lookupActions` PhoneIdentityLookupAction[]: Lookup, enrichment, and reputation actions performed for this identity.
      - `id` string: The unique identifier of this phone identity lookup action.
      - `type` 'validation' | 'enrichment' | 'unwanted-number-check': Identifies the kind of lookup action performed for a phone identity.
      - `provider` string: The provider that performed the phone identity lookup.
      - `status` 'succeeded' | 'failed': Identifies the outcome of a phone identity lookup action.
      - `occurredAt` string, date-time: The UTC timestamp when the lookup action occurred.
    - `name` string
    - `id` string
    - `createdAt` string, date-time
    - `modifiedAt` string, date-time, nullable
  - `profile` LeadProfile, nullable: Public Leadping API schema for lead demographic profile data.
    - `gender` 'M' | 'F' | 'NonBinary' | 'PreferNotToSay' | 'Other', nullable: Classifies a lead's self-reported gender when required by a qualification, demographic, or integration workflow.
    - `birthDate` string, date, nullable: Lead birth date used for demographic matching and insurance intake workflows.
    - `qualification` LeadQualification, nullable: Optional consumer qualification details for workflows that need them.
      - `height` integer, nullable: Height in inches.
      - `weight` integer, nullable: Body weight in pounds.
      - `maritalStatus` 'Married' | 'Single' | 'Widow' | 'Separated' | 'Divorced', nullable: Classifies a lead's reported marital status when required by a qualification or integration workflow.
      - `income` integer, nullable: Annual income amount in the specified IncomeCurrency.
      - `isHomeowner` boolean, nullable: Indicates whether the lead owns their home.
      - `monthsAtResidence` integer, nullable: Number of months the lead has lived at the current residence.
      - `creditScore` integer, nullable: Exact credit score supplied by the intake source; not a range.
      - `hasBankruptcy` boolean, nullable: Indicates whether the lead reported bankruptcy history.
      - `employmentType` 'Employed' | 'PartTime' | 'SelfEmployed' | 'Contractor' | 'Unemployed' | 'Retired' | 'Student' | 'Military' | 'Homemaker' | 'Disabled' | 'Other', nullable: Classifies a lead's reported employment arrangement for qualification and demographic workflows.
      - `numberOfDependents` integer, nullable: Number of dependents reported by the lead.
      - `hasMedicalCondition` boolean, nullable: Indicates whether the lead reported a medical condition relevant to qualification.
      - `incomeCurrency` string, nullable: ISO 4217 currency code for annual income.
  - `inquiry` LeadInquiry, nullable: The service or purchase requested by a lead.
    - `service` string, nullable: Requested service or product.
    - `description` string, nullable: Description of the requested work or purchase.
    - `budgetMinimum` number, double, nullable: Minimum budget in the specified currency.
    - `budgetMaximum` number, double, nullable: Maximum budget in the specified currency.
    - `currency` string, nullable: ISO 4217 currency code for the budget.
    - `desiredStartDate` string, date, nullable: Requested start date.
    - `urgency` 'Flexible' | 'Soon' | 'Urgent', nullable: Supported LeadUrgency values.
  - `company` LeadCompany, nullable: Business represented by a lead contact.
    - `name` string, nullable: Business name.
    - `website` string, nullable: Business website URL.
    - `jobTitle` string, nullable: Contact role at the business.
    - `industry` string, nullable: Industry of the business, independent of the requested service.
    - `employeeCount` integer, nullable: Number of employees, when known.
  - `serviceAddress` StreetAddress, nullable: Postal street address for the lead contact profile.
    - `line1` string, nullable
    - `line2` string, nullable
    - `city` string, nullable
    - `state` string, nullable
    - `province` string, nullable
    - `region` string, nullable
    - `postalCode` string, nullable
    - `country` string, nullable
    - `additionalInfo` string, nullable
  - `contactPreferences` LeadContactPreferences, nullable: Preferred contact language, channel, and callback windows; does not grant consent.
    - `language` string, nullable: Preferred BCP 47 language tag, such as en-US.
    - `channel` 'Email' | 'Phone' | 'Sms', nullable: Supported LeadContactChannel values.
    - `callbackWindows` LeadCallbackWindow[], nullable: Preferred callback windows in the contact time zone.
      - `date` string, date, nullable: Local calendar date for the callback.
      - `start` string, time, nullable: Inclusive local start time.
      - `end` string, time, nullable: Exclusive local end time on the same date.
  - `customFields` object, nullable: Industry-specific JSON scalar or scalar-array answers; keys are stable field identifiers.
  - `enabled` boolean: Whether the lead is enabled.
  - `deletedAt` string, date-time, nullable: UTC timestamp when this lead was soft deleted.
  - `deletedByUserId` string, nullable: User ID of the person who soft deleted this lead.
  - `archivedAt` string, date-time, nullable: UTC timestamp when this record was archived.
  - `archivedByUserId` string, nullable: User ID of the person who archived this record.
  - `archiveReason` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9, nullable: Defines why a lead was removed from the active working pipeline.
  - `archiveNote` string, nullable: Optional note explaining why the lead was archived.
  - `isArchived` boolean: Indicates whether the lead has been archived in Leadping.
  - `currentLeadStatus` CurrentLeadStatusSummary, nullable: Summary schema for Leadping API current lead status change summary data used in dashboards and reports.
    - `leadStatusId` string, nullable: Configured organization status ID, independent of its display name and history entry ID.
    - `revision` integer: Monotonic revision of the lead's current status and scheduling state.
    - `followUpCompletedAt` string, date-time, nullable: When this follow-up was completed; email/call activity alone does not complete it.
    - `followUpDueAt` string, date-time, nullable: The earliest callback or task time for the current status.
    - `callbackAt` string, date-time, nullable: The promised callback time, independent of a general follow-up task.
    - `id` string, nullable: Unique Leadping identifier for this current lead status change summary.
    - `category` 'Open' | 'Qualified' | 'Converted' | 'Lost' | 'Invalid' | 'Duplicate', nullable: Controlled lead status change categories used for reporting, automation, and analytics.
    - `outcome` string, nullable: Current lead status change outcome assigned to the lead.
    - `displayName` string: Human-readable display name shown for this current lead status change summary.
    - `changedAt` string, date-time, nullable: UTC timestamp when the lead status change last changed.
    - `changedByUserId` string, nullable: User ID of the person who last changed the lead status change.
    - `changedByAutomationId` string, nullable: Automation ID that last changed the lead status change.
    - `source` 'User' | 'AI' | 'Automation' | 'System' | 'API', nullable: Known sources that can change a lead's current lead status change.
  - `processingStatus` 'Quarantined' | 'Verifying' | 'Validating' | 'Enriching' | 'Ready' | 'Invalid' | 'Failed', nullable: Defines the asynchronous verification and enrichment lifecycle for a lead.
  - `processingStatusReason` string, nullable: Explanation when asynchronous lead processing is blocked or fails.
  - `processingStatusChangedAt` string, date-time, nullable: UTC timestamp when the processing stage last changed.
  - `tags` TagSummary[]: Tags currently attached to this lead, source, or record.
    - `id` string: Unique Leadping identifier for this tag summary.
    - `name` string: Display name for this tag summary in the Leadping API.
    - `normalizedName` string: Normalized name used for case-insensitive tag matching and deduplication.
    - `color` string, nullable: Hex color used to display this tag or status in Leadping clients.
  - `id` string
  - `createdAt` string, date-time
  - `modifiedAt` string, date-time, nullable

## Other responses

- `400`: The request was invalid or malformed.
- `401`: Source credentials are missing or invalid.
- `403`: The source is not allowed to accept traffic.
- `404`: A related resource was not found.
- `415`: The request content type is not supported by this endpoint.
- `429`: The client or account rate limit was exceeded. Retry after the interval in the Retry-After header.
- `500`: An unexpected error prevented the server from completing the request.

## Changes

- **2026-12-01** `bf1852acaf45`: 1 info
  - added the optional property `allOf[#/components/schemas/LeadResponse]/phoneIdentity/allOf[#/components/schemas/PhoneIdentityResponse]/smsRestrictionCode` to the response with the `201` status
- **2026-11-29** `1be1837992c9`: 1 info
  - added the optional property `allOf[#/components/schemas/LeadResponse]/possibleDuplicate` to the response with the `201` status
- **2026-11-25** `217f2a35c3a8`: 3 warning
  - removed the optional property `allOf[#/components/schemas/LeadResponse]/phoneIdentity/allOf[#/components/schemas/PhoneIdentityResponse]/lookupActions/items/allOf[#/components/schemas/PhoneIdentityLookupAction]/providerCostAmount` from the response with the `201` status
  - removed the optional property `allOf[#/components/schemas/LeadResponse]/phoneIdentity/allOf[#/components/schemas/PhoneIdentityResponse]/lookupActions/items/allOf[#/components/schemas/PhoneIdentityLookupAction]/providerPricingVersion` from the response with the `201` status
  - removed the optional property `allOf[#/components/schemas/LeadResponse]/phoneIdentity/allOf[#/components/schemas/PhoneIdentityResponse]/providerEnrichment` from the response with the `201` status
- **2026-11-23** `a2123715480f`: 1 info
  - added the optional property `allOf[#/components/schemas/LeadResponse]/hasSourceSmsConsent` to the response with the `201` status
- …earlier changes not shown

[Operation history](https://skmtc.dev/leadping/apis/leadping-api/changes/leads/post.md)

---

[API](https://skmtc.dev/leadping/apis/leadping-api.md) - [All operations](https://skmtc.dev/leadping/apis/leadping-api/llms.txt) - [OpenAPI document](https://skmtc.dev/leadping/apis/leadping-api/revisions/bf1852acaf45?raw)
