List all contractors
Returns a list of your contractors. The contractors are returned sorted by creation date, with the most recent contractors 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 contractor ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, ending withcn_fOo123, your subsequent call can includestarting_after=cn_fOo123in order to fetch the next page of the list. -
A cursor for use in pagination.
ending_beforeis an contractor ID that defines your place in the list. For instance, if you make a list request and receive 100 objects, starting withcn_bAr123, your subsequent call can includeending_before=cn_bAr123in order to fetch the previous page of the list. -
A case-sensitive filter on the list based on the contractor's email attribute. The value must be a string.
curl \
--request GET 'https://api.1099policy.com/api/v1/contractors'
[
{
"address": {
"country": "null",
"line1": "92 Geary St",
"line2": "null",
"locality": "San Francisco",
"postalcode": 94114,
"region": "CA"
},
"company_name": "Acme Co.",
"created": 1646818364,
"custom_metadata": {
"campaign": "Red Bull"
},
"email": "[email protected]",
"first_name": "Joe",
"id": "string",
"last_name": "Parker",
"middle_name": "null",
"phone": "415-474-9088",
"withhold_premium": false
}
]