Runs the fields read off a certificate through the same review a submitted
certificate gets — your organization's insurance requirement, the same rules,
the same pass/fail messages — and reports what is still missing, phrased as
questions. Nothing is stored. Use it to check a certificate an assistant read
in a chat, then submit it with POST /files/certificates once it is complete.
Body
-
The fields read off the certificate, in the shape
review_results.fullreturns asparsed_certificate_json. -
Optional. The contractor (cn_…) the certificate belongs to; lets the review compare the insured name against the contractor.
-
Optional. Review against the requirement tied to this entity.
-
Optional. Review against this requirement (ir_…).
Responses
-
verdict("approved" or "flagged" as things stand),complete(no open questions),resultsper rule withresultandmessage,missing(path,coverage,question),coverages_present,coverages_required, the normalisedcertificate, and therequirementthat was applied. -
Malformed data, unknown contractor, or no insurance requirement.
curl \
--request POST 'https://api.1099policy.com/api/v1/files/certificates/evaluate' \
--header "Content-Type: application/json" \
--data '{
"certificate": {},
"contractor": "string",
"entity": "string",
"insurance_requirement": "string"
}'
{
"certificate": {},
"contractor": "string",
"entity": "string",
"insurance_requirement": "string"
}