Publish the final audit report to the Trust Center
curl --request POST \
--url https://api.trycomp.ai/v1/timelines/{id}/final-report/publish-trust \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/timelines/{id}/final-report/publish-trust', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/timelines/{id}/final-report/publish-trust"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"framework": "iso_27001",
"customFrameworkId": "<string>",
"fileName": "<string>",
"fileSize": 123,
"updatedAt": "<string>"
}Timelines
Publish the final audit report to the Trust | Comp AI API
Publishes the signed final audit report of a completed SOC 2 timeline to the Trust Center and marks the framework compliant. Replaces any earlier report.
POST
/
v1
/
timelines
/
{id}
/
final-report
/
publish-trust
Publish the final audit report to the Trust Center
curl --request POST \
--url https://api.trycomp.ai/v1/timelines/{id}/final-report/publish-trust \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/timelines/{id}/final-report/publish-trust', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/timelines/{id}/final-report/publish-trust"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text){
"framework": "iso_27001",
"customFrameworkId": "<string>",
"fileName": "<string>",
"fileSize": 123,
"updatedAt": "<string>"
}Authorizations
API key for authentication
Path Parameters
Response
201 - application/json
The Trust Center compliance resource now holding the report
Set for native-framework certificates; null for custom ones
Available options:
iso_27001, iso_42001, gdpr, hipaa, soc2_type1, soc2_type2, soc3, pci_dss, nen_7510, iso_9001, pipeda, ccpa Set for custom-framework certificates; null for native ones
File size in bytes
ISO timestamp when the certificate was last updated
Was this page helpful?

