Create a new certificate. Run in API Explorer
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 \
--request POST https://api.1099policy.com/api/v1/files/certificates \
--header "Content-Type: multipart/form-data" \
--form "certificate=@file" \
--form "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"
}