Leads

Create a lead record from intake payload

Changed on

Creates a source-authenticated lead from a flat intake payload, capturing contact fields, metadata, and automation-ready lead details.

post/leads/intake

Request

  • Base URL
    https://api.leadping.ai
  • Auth
    HTTP bearer

Request body

LeadIntakeRequest required

Defines the fields clients can send when working with lead intake.

idempotencyKey, string nullable

Stable delivery key reused when retrying the same lead submission to this source.

firstName, string nullable

First name of the lead, user, or contact represented by this lead intake request.

lastName, string nullable

Last name of the lead, user, or contact represented by this lead intake request.

email, string email nullable

Email address for the person represented by this lead intake request.

phone, string nullable

Contact phone number. Use E.164 with a leading + for international numbers.

phoneType, string nullable

Source-provided phone type, such as mobile, landline, or VoIP, used during lead intake normalization.

dateOfBirth, string date nullable

Lead date of birth supplied by intake sources and normalized into the lead profile.

birthDate, string date nullable

Lead birth date used for demographic matching and insurance intake workflows.

address1, string nullable

First street address line submitted by the lead intake source.

address2, string nullable

Second street address line submitted by the lead intake source.

city, string nullable

City for the lead or organization postal address.

state, string nullable

State, province, or region for the lead or organization postal address.

zip, string nullable

ZIP code submitted by the lead intake source.

postalCode, string nullable

Postal code for the lead or organization address.

gender, string nullable

Lead gender supplied by intake sources and normalized when possible.

subId, string nullable

Affiliate or publisher sub ID captured for lead attribution.

sellerLeadId, string nullable

Seller-provided lead identifier used to deduplicate and reconcile lead delivery.

sellerLeadIdentifier, string nullable

Alternate seller-provided lead identifier used during intake normalization.

directPostPrice, number double nullable

Alias for price. When both are supplied, their amounts must agree.

price, number double nullable

Lead price or transaction price supplied to the Leadping API.

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.

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.

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.

consentCertificateUrl, string uri nullable

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

Explicitly attests to SMS consent when consentCertificateType is Other. Allows manual calls and texts only.

externalId, string nullable

External system identifier used to reconcile this lead intake request across integrations.

sourceMetadata, object nullable

Source-provided key-value metadata retained for lead attribution and integration troubleshooting.

tagIds, string[]

Tag IDs assigned to or filtered against this lead.

tagNames, string[]

Tag names assigned to this lead when matching existing tags by name.

inquiry, LeadInquiry nullable

The service or purchase requested by a lead.

company, LeadCompany nullable

Business represented by a lead contact.

serviceAddress, StreetAddress nullable

Postal street address for the lead contact profile.

contactPreferences, LeadContactPreferences nullable

Preferred contact language, channel, and callback windows; does not grant consent.

customFields, object nullable

Industry-specific JSON scalar or scalar-array answers; keys are stable field identifiers.

profile, LeadProfile nullable

Public Leadping API schema for lead demographic profile data.

country, string nullable

ISO 3166-1 alpha-2 contact address country code.

timeZoneId, string nullable

Contact time zone identifier.

pubId, string nullable

Publisher identifier.

capturedAt, string date-time nullable

Original source capture timestamp.

captureIpAddress, string nullable

Original visitor IP as reported by the source.

captureUserAgent, string nullable

Original visitor user agent as reported by the source.

currency, string nullable

ISO 4217 acquisition price currency.

Example request

{
  "firstName": "Taylor",
  "lastName": "Morgan",
  "email": "taylor@example.com",
  "phone": "+13125550100",
  "utmSource": "paid-search",
  "utmCampaign": "summer-campaign",
  "landingPage": "https://example.com/request-a-quote",
  "externalId": "external-lead-123",
  "tagNames": [
    "website",
    "new-lead"
  ]
}

Response

The lead response was created successfully.

LeadResponse required

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.

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.

metadata, LeadMetadata

Public Leadping API schema for lead attribution metadata data.

contact, LeadContact

Public Leadping API schema for lead contact profile data.

phoneIdentity, PhoneIdentityResponse nullable

Describes Leadping's canonical identity for a phone number, including normalization, carrier, line type, reputation, and lookup history.

profile, LeadProfile nullable

Public Leadping API schema for lead demographic profile data.

inquiry, LeadInquiry nullable

The service or purchase requested by a lead.

company, LeadCompany nullable

Business represented by a lead contact.

serviceAddress, StreetAddress nullable

Postal street address for the lead contact profile.

contactPreferences, LeadContactPreferences nullable

Preferred contact language, channel, and callback windows; does not grant consent.

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.

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
createdAt, string date-time
modifiedAt, string date-time nullable

Changes

    • info

      added the optional property allOf[#/components/schemas/LeadResponse]/phoneIdentity/allOf[#/components/schemas/PhoneIdentityResponse]/smsRestrictionCode to the response with the status

    • info

      added the optional property allOf[#/components/schemas/LeadResponse]/possibleDuplicate to the response with the status