List all certificates.

GET /api/v1/files/certificates

Returns a list of certificates. The certificates are returned sorted by creation date, with the most recently created certificates appearing first. Supports pagination using starting_after and ending_before.

Query parameters

  • limit integer

    A limit on the number of objects to be returned. The limit can range between 1 and 100, and the default is 10.

    Minimum value is 1, maximum value is 100. Default value is 10.

  • A cursor for use in pagination. starting_after is a certificate ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending with ca_123, your subsequent call can include starting_after=ca_123 in order to fetch the next page of the list.

  • A cursor for use in pagination. ending_before is a certificate ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting with ca_456, your subsequent call can include ending_before=ca_456 in order to fetch the previous page of the list.

Responses

  • 200 application/json

    Returns an array of certificate objects. If no more certificates are available, the resulting array will be empty.

    Hide response attributes Show response attributes object
    • The general liability certificate of insurance PDF URL.

    • The workers compensation certificate of insurance PDF URL.

GET /api/v1/files/certificates
curl \
 -X GET https://api.1099policy.com/api/v1/files/certificates
Response examples (200)
[
  {
    "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"
  }
]