URL Format Accepted Sample Response
https://leadsdelivery.com/api/ping Name/Value Form POST { id: a8c75ef7b6f04a5fa64526fcaa0aef22, price: 4.30, message: "success", code = "OK", success: true }
https://leadsdelivery.com/api/post Name/Value Form POST { id: a8c75ef7b6f04a5fa64526fcaa0aef22, message: "success", code = "OK", success: true }
https://leadsdelivery.com/api/fullpost Name/Value Form POST { id: a8c75ef7b6f04a5fa64526fcaa0aef22, price: 4.30, message: "success", code = "OK", success: true }
https://leadsdelivery.com/api/xml/{ping|post} Name/Value Form POST, with XML response Ping Response XML: <ExternalPingResponse><Message>success</Message><Price>5.05</Price><ID>a8c75ef7b6f04a5fa64526fcaa0aef22</ID><Code>OK</code><Success>true</Success></ExternalPingResponse>
Post Response XML: <ExternalPostResponse><Message>success</Message><ID>a8c75ef7b6f04a5fa64526fcaa0aef22</ID><Code>OK</code><Success>true</Success></ExternalPostResponse>
See this page for sample data to submit.
Field name Ping Required Post Required Notes
Lead.LeadTypeIdYesYes2 = Life
TXIDNoYesthe "ID" value returned from a successful ping
Source.KeyYesYesGUID assigned by affiliate manager
Source.TokenYesYesGUID assigned by affiliate manager
Lead.FirstNameNoYese.g. John
Lead.LastNameNoYese.g. Smith
Lead.AddressNoYese.g. 1234 Main street
Lead.Address2NoYese.g. APT 5
Lead.CityYesYese.g. Antown
Lead.StateYesYese.g. NY
Lead.ZipYesYesNNNNN, e.g. 11001
Lead.EmailNoYesvalid email, you@domain.com
Lead.HomephoneNoYesNo dashs,e.g. 2125551212
Lead.WorkphoneNoYesNo dashs,e.g. 2125551212
Attributes.EmailDomainYesYesdomain of consumer email provider e.g. gmail.com
Attributes.DateofbirthYesYesYYYY-MM-DD
Attributes.ResidencetypeYesYesOwn or Rent
Attributes.YearatresidenceYesYesNumber, e.g. 4
Attributes.CoveragetypeYesYesIndividual, Individual Family, Short Term
Attributes.RelationshiptoapplicantYesYesSelf
Attributes.Education Yes Yes Doctorate Degree, College, Other, Some Or No High School, Masters Degree, Less Than High School, Some College, High School Diploma, Bachelors Degree, Associate Degree
Attributes.StudentYesYesYes or No
Attributes.GenderYesYesM or F
Attributes.MaritalstatusYesYesMarried or Single
Attributes.OccupationYesYesOpen Occupation field
Attributes.UsresidenceYesYesYes or No
Attributes.Height_FTYesYesSingle integer, e.g. 5
Attributes.Height_InchYesYesInteger, 0-11
Attributes.WeightYesYesInteger, 30-999
Attributes.DeniedcoverageYesYesYes or No
Attributes.CurrentlyInsuredYesYesYes or No
Attributes.RelativeHeartDiseaseYesYesYes or No
Attributes.RelativeCancerYesYesYes or No
Attributes.MedicaltreatmentYesYesYes or No
Attributes.HospitalizedYesYesYes or No
Attributes.PregnantYesYesYes or No
Attributes.SmokerYesYesYes or No
Attributes.AlcoholabstainYesYesYes or No
Attributes.DUIYesYesYes or No
Attributes.Hazard_PilotYesYesYes or No
Attributes.Hazard_FelonyYesYesYes or No
Attributes.Hazard_OtherYesYesYes or No
Attributes.Hazard_CommentYesYesOpen field
Attributes.CoverageamountYesYesNumber e.g. 100000
Attributes.CoveragetermYesYese.g. 10 Years, 20 Years, 30 Years, Variable, Whole life
TestNoNo1 = Test Lead, 0 = Live Lead
Attributes.IPaddressYesYesValid IP address e.g. 1.1.1.1
Attributes.ULeadIdYesYesAssigned from leadid.com
Attributes.xxTrustedFormCertUrlNoNoAssigned from trustedform.com (some buyers require this in addition to leadid.com -- include if you use TF)
Attributes.BornOnYesYesDate record was born on
Attributes.SubIDNoNoYour sub ID
Attributes.UserAgentNoNoConsumer Browser Version
Attributes.PartnerLeadIdNoNoYour internal LeadId (up to 32 chars)
Attributes.LandingPageNoNoValid URL
Attributes.ConsentTextNoNoTCPA Disclaimer