curl --request POST \
--url http://localhost:3333/v1/findings \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"taskId": "tsk_abc123",
"type": "soc2",
"content": "The uploaded evidence does not clearly show the Organization Name or URL.",
"templateId": "fnd_t_abc123"
}
'Create a new finding for a task (Auditor or Platform Admin only)
curl --request POST \
--url http://localhost:3333/v1/findings \
--header 'Content-Type: application/json' \
--header 'X-API-Key: <api-key>' \
--data '
{
"taskId": "tsk_abc123",
"type": "soc2",
"content": "The uploaded evidence does not clearly show the Organization Name or URL.",
"templateId": "fnd_t_abc123"
}
'API key for authentication
Organization ID (required for session auth, optional for API key auth)
Finding data
Task ID this finding is associated with
"tsk_abc123"
Type of finding (SOC 2 or ISO 27001)
soc2, iso27001 Finding content/message
5000"The uploaded evidence does not clearly show the Organization Name or URL."
Finding template ID (optional)
"fnd_t_abc123"
The created finding
Was this page helpful?