List all quotes
Returns a list of quotes you’ve previously created. The quotes are returned in sorted order, with the most recent quotes 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
. -
starting_after string
A cursor for use in pagination.
starting_after
is an quote ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending withqt_fOo123
, your subsequent call can includestarting_after=qt_fOo123
in order to fetch the next page of the list. -
ending_before string
A cursor for use in pagination.
ending_before
is an quote ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting withqt_bAr123
, your subsequent call can includeending_before=qt_bAr123
in order to fetch the previous page of the list.
curl \
-X GET https://api.1099policy.com/api/v1/quotes
[
{
"id": "qt_5DciVga8Kt",
"job": "jb_jsb9KEcTpc",
"created": 1646818364,
"eligible": true,
"net_rate": 65,
"contractor": "cn_Ehb3bYa",
"quote_json": {
"gl": {
"net_rate": 20,
"stamping_fee": null,
"risk_purchasing_group_fee": null
},
"wc": {
"net_rate": 45
}
},
"gl_net_rate": 20,
"wc_net_rate": 45,
"coverage_type": [
"general",
"workers-comp"
]
}
]