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.LeadTypeIdYesYes8 = Solar
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. Anytown
Lead.StateYesYese.g. NY
Lead.ZipYesYesNNNNN, e.g. 11001
Lead.EmailNoYesvalid email, you@domain.com
Lead.HomephoneNoYesNo dashes,e.g. 2125551212
Lead.WorkphoneNoYesNo dashes,e.g. 2125551212
Attributes.HomeownerYesYesYes or No
Attributes.CreditScoreNoNoPoor, Average, Good, Excellent
Attributes.ElectricityProviderNoNoFPL, name of the electric provider in your service area
Attributes.MonthlyElectricBillAvgYesYesDollar amount per month e.g. 120.00
Attributes.ShadeYesYesSome shade, No shade, A lot of shade
Attributes.EmailDomainYesYesdomain of consumer email provider e.g. gmail.com
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