cURL
curl --request GET \ --url https://api.buildpass.global/subcontractors/{id} \ --header 'Authorization: Bearer <token>' \ --header 'X-BuildPass-Api-Version: <x-buildpass-api-version>'
{ "id": "sub_clgbsb90b001qjy0f0eo1hspp", "createdAt": "2023-10-03T23:19:35.771Z", "updatedAt": "2023-10-03T23:19:35.771Z", "name": "Andrews Brick Laying", "abn": "98765432100", "address": { "street": "123 Fake Street", "suburb": "Springfield", "state": "QLD", "postcode": "4000", "country": "Australia" }, "statuses": [ "INVITED", "SWMS_UPLOADED" ], "tags": [ "bricklayer" ], "integrations": [ { "type": "PROCORE", "sourceId": "1234567890", "companyId": "1234567890" } ] }
Get a subcontractor
The access token received from the authorization server in the OAuth 2.0 flow.
What API version to use.
v1
"v1"
"sub_clgbsb90b001qjy0f0eo1hspp"
A subcontractor object
The response is of type object.
object