Invite an address to receive submission notifications for this project
curl --request POST \
--url https://app.hookie.ai/admin/api/projects/{project_id}/email-recipients \
--header 'Content-Type: application/json' \
--cookie hookie_session= \
--data '
{
"address": "jsmith@example.com"
}
'const options = {
method: 'POST',
headers: {cookie: 'hookie_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({address: 'jsmith@example.com'})
};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/email-recipients', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/email-recipients"
payload = { "address": "jsmith@example.com" }
headers = {
"cookie": "hookie_session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "<string>"
}Delivery
Invite an address to receive submission notifications for this project
Eligible recipients receive a confirmation link valid for 24 hours. Opted-out addresses stay unsubscribed.
POST
/
admin
/
api
/
projects
/
{project_id}
/
email-recipients
Invite an address to receive submission notifications for this project
curl --request POST \
--url https://app.hookie.ai/admin/api/projects/{project_id}/email-recipients \
--header 'Content-Type: application/json' \
--cookie hookie_session= \
--data '
{
"address": "jsmith@example.com"
}
'const options = {
method: 'POST',
headers: {cookie: 'hookie_session=', 'Content-Type': 'application/json'},
body: JSON.stringify({address: 'jsmith@example.com'})
};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/email-recipients', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/email-recipients"
payload = { "address": "jsmith@example.com" }
headers = {
"cookie": "hookie_session=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"message": "<string>"
}