Create a new certificate.
Uploads a new certificate PDF file, validates it, and creates a certificate record. The certificate will be processed and the record will be updated upon completion.
Body
-
The certificate PDF file to be uploaded.
-
The ID of the contractor associated with the certificate.
POST /api/v1/files/certificates
curl \
-X POST https://api.1099policy.com/api/v1/files/certificates \
-H "Content-Type: multipart/form-data" \
-F "certificate=@file" \
-F "contractor=string"
Response examples (201)
{
"gl_coi_pdf_url": "/bound-policies/prod/gl_coi_pl_wv23Q3lMc1_1691450123.pdf",
"wc_coi_pdf_url": "/bound-policies/prod/wc_coi_pl_wv23Q3lMc1_1691420903.pdf"
}