Send HIPAA training completion email with certificate
curl --request POST \
--url https://api.trycomp.ai/v1/training/send-hipaa-completion-email \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"memberId": "mem_abc123"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({memberId: 'mem_abc123'})
};
fetch('https://api.trycomp.ai/v1/training/send-hipaa-completion-email', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/training/send-hipaa-completion-email"
payload = { "memberId": "mem_abc123" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"sent": true,
"reason": "training_not_complete"
}Training
Send HIPAA training completion email with | Comp AI API
Checks if the member has completed the HIPAA Security Awareness Training. If so, sends an email with the HIPAA training certificate attached.
POST
/
v1
/
training
/
send-hipaa-completion-email
Send HIPAA training completion email with certificate
curl --request POST \
--url https://api.trycomp.ai/v1/training/send-hipaa-completion-email \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"memberId": "mem_abc123"
}
'const options = {
method: 'POST',
headers: {'X-API-Key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({memberId: 'mem_abc123'})
};
fetch('https://api.trycomp.ai/v1/training/send-hipaa-completion-email', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/training/send-hipaa-completion-email"
payload = { "memberId": "mem_abc123" }
headers = {
"X-API-Key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"sent": true,
"reason": "training_not_complete"
}Authorizations
API key for authentication
Body
application/json
Was this page helpful?

