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.LeadTypeIdYesYes4 = Home
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.AssessedValueYesYesNumber e.g. 525000
Attributes.AssessedYearYesYesyear e.g. 2015
Attributes.BedroomsYesYesNumber e.g. 5
Attributes.BathsYesYesDecimal e.g. 2.5 = 2 full and 1 half baths
Attributes.GrossAreaYesYesNumber; e.g. 3400
Attributes.NumberOfStoriesYesYesNumber e.g. 2
Attributes.HeatTypeYesYesGas; Propane
Attributes.FireplaceYesYesYes or no
Attributes.GarageCapacityYesYesnumber; e.g. 1 car = 1, 2 cars = 2
Attributes.YearBuiltYesYese.g. 2015
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