Retrieve a contractor
Retrieves the details of an existing contractor. You need only supply the unique contractor identifier that was returned upon contractor creation.
Path parameters
-
The ID of the desired contractor (e.g.,
cn_Ehb3bYa
).
GET
/api/v1/contractors/{contractor_id}
curl \
-X GET https://api.1099policy.com/api/v1/contractors/{contractor_id}
Response examples (200)
{
"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": "cn_Ehb3bYa",
"last_name": "Parker",
"middle_name": "null",
"phone": "415-474-9088",
"withhold_premium": false
}