GET
/
subcontractors
/
{id}
/
prequalifications
cURL
curl --request GET \
  --url https://api.buildpass.global/subcontractors/{id}/prequalifications \
  --header 'Authorization: Bearer <token>' \
  --header 'X-BuildPass-Api-Version: <x-buildpass-api-version>'
{
  "data": [
    {
      "id": "prequal_clgbsb90b001qjy0f0eo1hspp",
      "createdAt": "2023-10-03T23:19:35.771Z",
      "updatedAt": "2023-10-03T23:19:35.771Z",
      "status": "WAITING_REVIEW",
      "reviewComments": "Needs further documentation."
    }
  ],
  "meta": {
    "totalCount": 100,
    "totalPages": 4,
    "offset": 0,
    "limit": 25
  }
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

X-BuildPass-Api-Version
enum<string>
default:v1
required

What API version to use.

Available options:
v1
Example:

"v1"

Path Parameters

id
string
required
Example:

"sub_clgbsb90b001qjy0f0eo1hspp"

Query Parameters

offset
integer
default:0
required

The number of items to skip before starting to collect the result set

Example:

0

limit
integer
default:25
required

The number of items to return.

Example:

25

status
enum<string>

Filter prequalifications by status

Available options:
APPROVED,
REJECTED,
WAITING_REVIEW,
SENT
Example:

"WAITING_REVIEW"

Response

200
application/json

A list of prequalifications

The response is of type object.