List a contractor's policies
Returns a list of policies for a given contractor.
Path parameters
-
The ID of the desired contractor (e.g.,
cn_Ehb3bYa
).
Query parameters
-
quote string
A filter to return policies by a specific quote ID.
GET /api/v1/contractors/{contractor_id}/policies
curl \
-X GET https://api.1099policy.com/api/v1/contractors/{contractor_id}/policies
Response examples (200)
[
{
"id": "pl_WzFRszJhoY",
"quote": {
"id": "qt_5DciVga8Kt",
"quote_json": {},
"coverage_type": [
"general",
"workers-comp"
]
},
"status": "active",
"created": 1646818364,
"pdf_url": "http://ten99policy.s3.amazonaws.com/1099policy-coi-sample.pdf",
"certificates": {
"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"
},
"effective_date": 1646818364,
"expiration_date": 1678334737
}
]