Bulk upload COI certificates using a COI upload session.

POST /api/v1/files/external_certificates/upload/bulk

This endpoint accepts multiple PDF certificate files for a single contractor associated with a COI upload session. All certificates will be processed for the same contractor from the session.

multipart/form-data

Body

  • certificates array[string(binary)] Required

    Multiple certificate PDF files to be uploaded

  • coi_upload_session_id string Required

    COI upload session ID

  • company_name string Required

    Company name of the contractor

  • contractor_id string Required

    ID of existing contractor to update

  • email string Required

    Email of the contractor

  • first_name string Required

    First name of the contractor

  • last_name string Required

    Last name of the contractor

Responses

  • 201 application/json

    Certificates uploaded successfully

    Hide response attributes Show response attributes object
    • contractor string

      The ID of the contractor

    • count integer

      Number of certificates uploaded

    • filenames array[string]

      List of uploaded certificate filenames

    • id string

      The ID of the bulk processing task

POST /api/v1/files/external_certificates/upload/bulk
curl \
 --request POST 'https://api.1099policy.com/api/v1/files/external_certificates/upload/bulk' \
 --header "Content-Type: multipart/form-data" \
 --form "certificates[]=@file" \
 --form "coi_upload_session_id=string" \
 --form "company_name=string" \
 --form "contractor_id=string" \
 --form "email=string" \
 --form "first_name=string" \
 --form "last_name=string"
Response examples (201)
{
  "contractor": "string",
  "count": 42,
  "filenames": [
    "string"
  ],
  "id": "string"
}