Body
-
effective_date string
A timestamp used to determine the insurance policy start date.
-
expiration_date string
A timestemp used to determine the insurance policy end date.
-
The ID of the quote used to create the policy.
POST /api/v1/policies
curl \
-X POST https://api.1099policy.com/api/v1/policies \
-H "Content-Type: application/json" \
-d '{"quote":"qt_5DciVga8Kt","effective_date":1646818364,"expiration_date":1678334737}'
Request example
{
"quote": "qt_5DciVga8Kt",
"effective_date": 1646818364,
"expiration_date": 1678334737
}
Response examples (201)
{
"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"
},
"created": 1646818364,
"effective_date": 1646818364,
"expiration_date": 1678334737,
"id": "pl_WzFRszJhoY",
"pdf_url": "http://ten99policy.s3.amazonaws.com/1099policy-coi-sample.pdf",
"quote": "qt_5DciVga8Kt",
"status": "active"
}