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.LeadTypeIdYesYes10 = Medicare
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.Address2NoNoe.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.DateofbirthYesYesYYYY-MM-DD
Attributes.ResidencetypeYesYesOwn or Rent
Attributes.YearatresidenceYesYesNumber, e.g. 4
Attributes.CoveragetypeYesYesIndividual, Individual Family, Short Term
Attributes.RelationshiptoapplicantYesYesSelf
Attributes.LandingPageNoNoValid URL
Attributes.ConsentTextNoNoTCPA Disclaimer
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.EmailDomainYesYesdomain of consumer email provider e.g. gmail.com
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.InsurancecompanyYesYesCurrent insurer (List)
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.PreexistingconditionsNoNoYes or No
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