Controls
Add control evidence
Adds evidence to a control as a linked document, an external URL, or an uploaded file.
Authorization
ApiKeyAuth x-api-key<token>
In: header
Path Parameters
organizationId*string
controlId*string
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/organizations/string/controls/string/evidence" \ -H "Content-Type: application/json" \ -d '{ "evidenceType": "document", "collectedAt": "string" }'{ "id": "string", "organizationId": "string", "controlId": "string", "evidenceType": "document", "tags": [ "string" ], "evidenceId": "string", "externalUrl": "string", "asset": { "bucket": "string", "key": "string", "fileName": "string", "contentType": "string", "fileSize": 0 }, "title": "string", "collectedAt": "string", "validFrom": "string", "validUntil": "string", "addedByUserId": "string", "notes": "string", "fulfillsTaskId": "string", "evidenceReleaseId": "string", "evidenceDocumentVersion": 0, "dateCreated": null, "dateUpdated": null, "property1": null, "property2": null}