Peleza β€” Trust built on data
Background Checks
On this page

BGC Report PDF

Check PDF readiness for a BGC report. Pass reference_number in the path and optionally report_id for a specific candidate. Returns pdf_ready when the candidate is interim or completed. Binary DomPDF streaming will use the Merchant report-export pipeline; download_url may be null until that bridge is enabled. Auth only β€” not billed.

Request

GET/api/v1/bgc/requests/{ref}/pdf
{{baseUrl}}/api/v1/bgc/requests/{ref}/pdf
HeaderTypeDescription
AuthorizationstringBearer YOUR_ACCESS_TOKEN from the OAuth client-credentials flow
Content-Typestringapplication/json

Query Parameters

ParameterTypeDescriptionRequired
report_idstringCandidate report_id (recommended for multi-candidate requests)optional

Report ready

Expected response for Report ready:

200 OKSample dataExpected response
{
  "success": true,
  "response_code": 200,
  "message": "Report is ready for PDF export",
  "data": {
    "reference_number": "REF-20261120-0001",
    "report_id": "PEL261120001",
    "candidate_status": "completed",
    "pdf_ready": true,
    "download_url": null
  },
  "request_id": "550e8400-e29b-41d4-a716-446655440000"
}

Not ready yet

Expected response for Not ready yet:

200 OKSample dataExpected response
{
  "success": false,
  "response_code": 409,
  "message": "Report PDF is not ready yet",
  "data": {
    "reference_number": "REF-20261120-0001",
    "status": "pending",
    "pdf_ready": false,
    "message": "PDF is available when a candidate reaches interim or completed status"
  },
  "request_id": "550e8400-e29b-41d4-a716-446655440000"
}

Response Fields

FieldTypeDescription
successbooleanWhether the request succeeded
response_codenumberApplication response code (typically mirrors HTTP)
messagestringHuman-readable status message
dataobjectPayload for the verified resource
request_idstringUUID for support and audit trails
data.pdf_readybooleantrue when interim or completed
data.report_idstringCandidate report id
data.download_urlstring|nullSigned URL when binary export bridge is configured

Error codes

Standard Peleza HTTP / response_code values (same across all API calls). Validation message text is endpoint-specific. Full reference: Error Codes.

CodeWhenBilled?
200PDF ready metadata returnedNo
401Missing or invalid Bearer tokenNo
404Unknown reference for this clientNo
409Report not yet interim/completedNo

Set {{baseUrl}} to https://api.peleza.com (production) or https://sandbox.peleza.com (sandbox). Authenticated calls need a Bearer token from POST /api/v1/oauth/token.