Skip to content

Download PDF

Generate a PDF version of a lookup report.

Endpoint

GET /lookups/{lookupId}/pdf

Parameters

ParameterTypeLocationRequiredDescription
lookupIdstringPathYesThe unique identifier of the lookup

Authentication

This endpoint requires authentication. Include your API key in the request headers:

X-API-Key: YOUR_API_KEY

Response

Returns a JSON response with the PDF download URL.

Example Request

GET https://api.whitebridge.ai/lookups/48abcc2b-f0c6-4a6b-b203-be14ab3a80da/pdf

Example Response

json
{
  "url": "https://www.googleapis.com/download/storage/v1/b/white-bridge/o/pdf%2F48abcc2b-f0c6-4a6b-b203-be14ab3a80da.pdf?generation=1753644524223635&alt=media"
}

Error Responses

  • 401 Unauthorized - Invalid or missing API key
  • 404 Not Found - Lookup not found
  • 500 Internal Server Error - PDF generation failed