TextP2P provides an HTTP POST API which anyone can call to transfer contacts from one application / CRM like Infusionsoft, Salesforce, etc. automatically into TextP2P.
By going to your list and clicking the ACTION button at the top right, you will then see "Api Webwook" which you can click and it will pop-up a window which will give you a unique url webhook for your list.
Example:
The application should make a http post using the following post parameters below. The only parameter that is required is PHONE.
POST PARAMETERS:
EMAIL = sue@yahoo.com
FNAME = Sue
LNAME = Sweet
ADDR1 = 123 MAIN ST
ADDR2 = ""
CITY = LEESBURG
STATE = VA
ZIP = 20175
COUNTRY = US
PHONE = 5554442272
RETURN:
If successful it will return an http response code of 200. An error will return 400 or 404.
Instructions on configuring Infusionsoft
https://classic-infusionsoft.knowledgeowl.com/help/campaign-sequence-http-post
Example Campaign that uses a web form to capture leads and applies a TextP2P tag. Any new contact with the tag (TextP2P) applied will send an http post api to the TextP2P application to add the new contact.
The Send To TextP2P sequence uses the http api widget
You can configure the http api widget like this:
Curl Example:
curl -v -d "phone=555111-2001&fname=Sam&LNAME=Sneed&addr1=123 main street&addr2=box 122&city=herndon&state=VA&country=US" https://app.textp2p.com/list-webhook.php?whid=b84d2d1c2da
Also see API
Remove existing contact from list
Comments
0 comments
Please sign in to leave a comment.