https://app.inquirly.com/new_api/index.php?action=detail&func=iprSubmitLead
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 | No | Return_Best_Price | 1 |
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 |
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",
"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", "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"
}
}