Mark a training video as complete
curl --request POST \
--url https://api.trycomp.ai/v1/training/completions/{videoId}/complete \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/training/completions/{videoId}/complete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/training/completions/{videoId}/complete"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Training
Mark a training video as complete | Comp AI API
Marks a specific training video as completed for the authenticated member. Triggers completion email if all training is now done.
POST
/
v1
/
training
/
completions
/
{videoId}
/
complete
Mark a training video as complete
curl --request POST \
--url https://api.trycomp.ai/v1/training/completions/{videoId}/complete \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/training/completions/{videoId}/complete', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/training/completions/{videoId}/complete"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Was this page helpful?

