This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -X GET https://app.suppressionlist.com/exists/my_list|my_other_list|my_third_list/[email protected] \ | |
-H 'Accept: application/json' \ | |
-uAPI:fc36c8168cbb16784f6a29f89695dd92 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
https://app.suppressionlist.com/exists/{{list_id_1}}|{{list_id_2}}/{{query_term}}: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 404 NOT FOUND | |
Content-Type: application/json; charset=utf-8 | |
{ | |
"specified_lists": ["my_list"], | |
"key":"[email protected]", | |
"found":false | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
HTTP/1.1 200 OK | |
Content-Type: application/json; charset=utf-8 | |
{ | |
"specified_lists":["my_list"], | |
"key":"[email protected]", | |
"found":true, | |
"exists_in_lists":["my_list"] | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
(function() { | |
var field = 'xxTrustedFormCertUrl'; | |
var provideReferrer = false; | |
var tf = document.createElement('script'); | |
tf.type = 'text/javascript'; tf.async = true; | |
tf.src = 'http' + ('https:' == document.location.protocol ? 's' : '') + | |
'://api.next.trustedform.com/trustedform.js?provide_referrer=' + escape(provideReferrer) + '&field=' + escape(field) + '&l='+new Date().getTime()+Math.random(); | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s); } | |
)(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
(function() { | |
var field = 'xxTrustedFormCertUrl'; | |
var provideReferrer = false; | |
var tf = document.createElement('script'); | |
tf.type = 'text/javascript'; tf.async = true; | |
tf.src = 'http' + ('https:' == document.location.protocol ? 's' : '') + | |
'://api.trustedform.com/trustedform.js?provide_referrer=' + escape(provideReferrer) + '&field=' + escape(field) + '&l='+new Date().getTime()+Math.random(); | |
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(tf, s); } | |
)(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if ((lead.xxTrustedFormCertUrl == null)||(lead.xxTrustedFormCertUrl == '')){ | |
lead.invalidate("Missing Required Trusted Form Certificate"); | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -X PUT -uAPI:fc36c8168cbb16784f6a29f89695dd92 https://app.trustedform.com/account -H 'Accept: application/json' -H 'Content-Type: application/json' -d'{"claim_dtl":90}' | |
HTTP/1.1 200 OK | |
Content-Type: application/json; charset=utf-8 | |
{ | |
"id": "51deda5582d28ba54c000002", | |
"name": "Advertiser", | |
"api_key": "fc36c8168cbb16784f6a29f89695dd92", | |
"claim_dtl": 90, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -X GET -uAPI:fc36c8168cbb16784f6a29f89695dd92 'https://app.trustedform.com/claims?limit=50' -H 'Accept: application/json' | |
HTTP/1.1 200 OK | |
Content-Type: application/json; charset=utf-8 | |
[ | |
{ | |
"id": "51ddbe9d82d28b8d38000009", | |
"page_id": "51de277782d28be89900008a", | |
"warnings": [], | |
"reference": "ABC123", |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ curl -X GET -uAPI:fc36c8168cbb16784f6a29f89695dd92 https://app.trustedform.com/claims/51ddbe9d82d28b8d38000009 -H 'Accept: application/json' | |
HTTP/1.1 200 OK | |
Content-Type: application/json; charset=utf-8 | |
{ | |
"id": "51ddbe9d82d28b8d38000009", | |
"age": 10, | |
"page_id": "51de277782d28be89900008a", | |
"warnings": [], |