List all assignments
GET
/api/v1/assignments
Returns a list of your assignments. The assigments returned are sorted by creation date, with the most recently created assignments appearing first.
Query parameters
-
limit integer
A limit on the number of objects to be returned. Limit can range between
1
and100
, and the default is10
.Minimum value is
1
, maximum value is100
. Default value is10
.
GET /api/v1/assignments
curl \
-X GET https://api.1099policy.com/api/v1/assignments
Response examples (200)
[
{
"bind": true,
"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"
},
"contractor": "cn_Ehb3bYa",
"created": 1646818364,
"effective_date": 1646818364,
"eligible": {
"message": "Contractor is pre-approved for insurance coverage.,",
"result": true
},
"end_date": 1678334737,
"id": "an_TzLQszJmoP",
"job": "jb_jsb9KEcTpc",
"policy": "pl_WzFRszJhoY"
}
]