Show the recipient consent form
curl --request GET \
--url https://app.hookie.ai/v1/email-consent/confirmconst options = {method: 'GET'};
fetch('https://app.hookie.ai/v1/email-consent/confirm', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/v1/email-consent/confirm"
response = requests.get(url)
print(response.text)Delivery
Show the recipient consent form
The email link carries a private proof in its URL fragment. Opening the link leaves the recipient state intact. The form submits the proof only after the visitor presses the button.
GET
/
v1
/
email-consent
/
confirm
Show the recipient consent form
curl --request GET \
--url https://app.hookie.ai/v1/email-consent/confirmconst options = {method: 'GET'};
fetch('https://app.hookie.ai/v1/email-consent/confirm', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/v1/email-consent/confirm"
response = requests.get(url)
print(response.text)Response
200
HTML form