| PING | POST | Field | Value |
| Yes | Yes | Key | Provided |
| Yes | Yes | SRC | Provided |
| Yes | Yes | Terminating_Phone | Provided |
| Yes | Yes | API_Action | iprSubmitLead |
| Yes | Yes | Mode | Mode=ping on ping Mode=post on post |
| Yes | Yes | TYPE | 9 |
| Yes | Yes | Task | ex: Plumbing |
| Yes | Yes | ZIP | ex: 90210 |
| Yes | Yes | Terminating_Phone_Country_Code | 1 |
| Yes | Yes | Sub_ID | ex: 123 |
| Yes | No | Return_Best_Price | 1 |
| No | Yes | Lead_ID | Provided |
| No | Yes | App_ID | 888 |
| No | Yes | Start_Date_Time | 2018-08-12 12:30:12 |
| No | Yes | Origin_Phone_Country_Code | 1 |
| No | Yes | Origin_Phone_Area_Code | ex: 123 |
| No | Yes | Origin_Phone_Prefix | ex: 456 |
| No | Yes | Origin_Phone_Suffix | ex: 7890 |
| No | No | Format | JSON, XML, dft:String |
| Air Duct Cleaning | Appliance Repair | Asbestos Removal | Asbestos Testing |
| Bathroom Remodel | Biohazard | Cabinets | Chimneys |
| Concrete Foundation | Concrete Leveling | Decks | Doors |
| Drainage Channel | Electrician | Excavation | Fencing |
| Fire Damage | Flooring | Garage Doors | Gutter Covers |
| Gutters | Hoarding | HVAC | Kitchen Remodeling |
| Landscaping | Lawn Mowing | Locksmith | Mold Removal |
| Mold Testing | Painting | Pest Control | Plumbing |
| Roofing | Siding | Snow Removal | Solar |
| Stairlifts | Tree Services | Water Filtration | Water Removal |
| Waterproofing | Windows | Xeriscaping |
Please send a test ping/post to the test zip code 00001 and inform us when you receive a successful reply. Please email us with the ping and post request and response strings! Then, give the terminating phone number a call with the origin phone sent in the post. Once we confirm everything is functioning properly, we can move to live production.
https://app.inquirly.com/apiJSON.php
{
"Request": {
"Key": {YOUR_API_KEY},
"SRC": {YOUR_SRC},
"Terminating_Phone": {YOUR_TERMINATING_PHONE},
"API_Action": "iprSubmitLead”,"Mode": "ping",
"TYPE": "9",
"Task": "Plumbing",
"ZIP": "00001","Terminating_Phone_Country_Code": "1",
"Sub_ID": "123",
"Return_Best_Price": "1",
"Format": "JSON" //Format of the response
}
}
{
"response": {
"status": "Matched",
"lead_id": {NEW_LEAD_ID}
}
}
https://app.inquirly.com/apiJSON.php
{
"Request": {
"Lead_ID": {NEW_LEAD_ID},
"Key": {YOUR_API_KEY},
"SRC": {YOUR_SRC},
"Terminating_Phone": {YOUR_TERMINATING_PHONE},
"API_Action": "iprSubmitLead",
"Mode": "post",
"TYPE": "9",
"Task": "Plumbing",
"ZIP": "00001", "Terminating_Phone_Country_Code": "1",
"Sub_ID": "123",
"Format": "JSON", "App_ID": "888",
"Start_Date_Time": {CURRENT_TIME},
"Origin_Phone_Country_Code": "1",
"Origin_Phone_Area_Code": {XXX},
"Origin_Phone_Prefix": {XXX},
"Origin_Phone_Suffix": {XXXX},
}
}
{
"response": {
"status": "Success"
}
}