List contractors

GET/api/v1/contractors

List vendors, optionally only those flagged as 1099 contractors.

Operation ID: list_contractors_api_v1_contractors_get·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Query

only_1099booleandefault: False

Only 1099-flagged vendors.

Responses

200Successful Response

itemsarray · ContractorResponserequiredContractorResponse
10 fields
idstringrequired
business_idstringrequired
namestringrequired
emailstring
tax_idstring
is_1099_contractorboolean
tax_id_typestring
default_1099_boxstring
created_atstring · date-time
updated_atstring · date-time

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject