List all entities
Returns a list of your contracting entities. The entities are returned sorted by creation date, with the most recent entities 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 entity ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending withen_fOo123
, your subsequent call can includestarting_after=en_fOo123
in order to fetch the next page of the list. -
ending_before string
A cursor for use in pagination.
ending_before
is an entity ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting withen_bAr123
, your subsequent call can includeending_before=en_bAr123
in order to fetch the previous page of the list.
curl \
-X GET https://api.1099policy.com/api/v1/entities
[
{
"id": "en_Ah3tqYn",
"name": "Apple, Inc",
"address": {
"line1": "One Apple Park Way",
"region": "CA",
"locality": "Cupertino",
"postalcode": 95014
},
"created": 1646818364,
"coverage_limit": {
"aggregate_limit": 200000000,
"occurrence_limit": 100000000
},
"required_coverage": [
"general",
"workers-comp"
]
},
{
"id": "en_Mg5sqSp",
"name": "Amazon, Inc",
"address": {
"line1": "410 Terry Ave N",
"region": "WA",
"locality": "Seattle",
"postalcode": 98109
},
"created": 1646818386,
"coverage_limit": {
"aggregate_limit": 500000000,
"occurrence_limit": 100000000
},
"required_coverage": [
"general",
"professional"
]
}
]