Update allowed emails for the trust portal
curl --request PUT \
--url https://api.trycomp.ai/v1/trust-portal/settings/allowed-emails \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"emails": [
"person@example.com"
]
}
'const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({emails: ['person@example.com']})
};
fetch('https://api.trycomp.ai/v1/trust-portal/settings/allowed-emails', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-portal/settings/allowed-emails"
payload = { "emails": ["person@example.com"] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)Trust Portal
Update allowed emails for the trust portal | Comp AI API
Update allowed emails for the trust portal in Comp AI. Configure the live Trust Center, custom domain, public overview, FAQs, compliance resources.
PUT
/
v1
/
trust-portal
/
settings
/
allowed-emails
Update allowed emails for the trust portal
curl --request PUT \
--url https://api.trycomp.ai/v1/trust-portal/settings/allowed-emails \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"emails": [
"person@example.com"
]
}
'const options = {
method: 'PUT',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({emails: ['person@example.com']})
};
fetch('https://api.trycomp.ai/v1/trust-portal/settings/allowed-emails', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/trust-portal/settings/allowed-emails"
payload = { "emails": ["person@example.com"] }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.put(url, json=payload, headers=headers)
print(response.text)Was this page helpful?

