TextP2P provides an HTTP POST API which anyone can call to remove existing contacts from an existing list in TextP2P. This can be called from an application / CRM like Infusionsoft, Salesforce, etc.
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.
GET PARAMETERS:
WHID = abkd9388 (This is the webhook list id)
AUTH_USERNAME - comes from the TextP2P Application screen
AUTH_SECRET - comes from the TextP2P Application screen
POST PARAMETERS:
PHONE = 5554442272
RETURN:
If successful it will return an http response code of 200. An error will return 400 or 404.
CURL Example:
curl -v -d "PHONE=5713152111" 'https://app.textp2p.com/remove-from-list-webhook.php?whid=f638741f&AUTH_USERNAME=greg@gmail.com&AUTH_SECRET=59c33016884a87455be975a9bb1234f5'
Comments
0 comments
Please sign in to leave a comment.