List all policies
Returns a list of policies you’ve previously created. The policies are returned in sorted order, with the most recent policies appearing first.
Query parameters
-
A limit on the number of objects to be returned. Limit can range between
1and100, and the default is10.Minimum value is
1, maximum value is100. Default value is10. -
A cursor for use in pagination.
starting_afteris an policy ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending withpl_fOo123, your subsequent call can includestarting_after=pl_fOo123in order to fetch the next page of the list. -
A cursor for use in pagination.
ending_beforeis an policy ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting withpl_bAr123, your subsequent call can includeending_before=pl_bAr123in order to fetch the previous page of the list. -
A filter to return policies by a specific quote ID.
curl \
--request GET 'https://api.1099policy.com/api/v1/policies'
{
"$ref": "#/components/examples/policies"
}