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){
"success": true,
"ndaWaivedRequests": 123
}Trust Portal
Update allowed emails for the trust portal | Comp AI API
Replace the email addresses that skip NDA signing. Approved requests still waiting on an NDA for any saved address are granted access and emailed. Re-save.
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){
"success": true,
"ndaWaivedRequests": 123
}Authorizations
API key for authentication
Body
application/json
Email addresses that bypass NDA signing for trust portal access. Replaces the full list; send an empty array to clear it.
Example:
["person@example.com"]
Was this page helpful?

