curl --request POST \
--url https://api.getcurrent.ca/v1/generate-pdf \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"searchId": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}
'{
"meta": {
"searchId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"verificationId": null,
"generatedAt": "2026-02-21T12:00:00.000Z",
"generatedBy": "user@example.com",
"name": "Shopify Inc",
"status": "completed",
"duration": 14200
},
"report": {
"url": "https://abc.supabase.co/storage/v1/object/sign/business-documents/tenant/search-id/search-report/Shopify-Inc-Current-Business-Report.pdf?token=...",
"filename": "Shopify-Inc-Current-Business-Report.pdf",
"expiresAt": "2031-02-21T00:00:00.000Z"
}
}Generate PDF report
Generate a branded PDF report for a completed search or verification.
Pass either searchId or verificationId (not both).
Search PDFs include all data collected during the original search:
- Business registry results (provincial and federal)
- Regulatory registrations (charities, MSB, cannabis licences, health service providers)
- Key people (directors, beneficial owners)
- Sanctions screening results (if enabled during search)
- Website analysis and extracted data (if enabled during search)
- Industry classification (NAICS)
Verification PDFs include:
- Field-level match results (legal name, registration number, address)
- People verification results (if enabled)
- Registry data used for comparison
- AI-generated analyst summary
Note: Only resources belonging to your organization can be retrieved.
Typical response time: 10-30 seconds (headless browser renders the report)
curl --request POST \
--url https://api.getcurrent.ca/v1/generate-pdf \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"searchId": "f47ac10b-58cc-4372-a567-0e02b2c3d479"
}
'{
"meta": {
"searchId": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"verificationId": null,
"generatedAt": "2026-02-21T12:00:00.000Z",
"generatedBy": "user@example.com",
"name": "Shopify Inc",
"status": "completed",
"duration": 14200
},
"report": {
"url": "https://abc.supabase.co/storage/v1/object/sign/business-documents/tenant/search-id/search-report/Shopify-Inc-Current-Business-Report.pdf?token=...",
"filename": "Shopify-Inc-Current-Business-Report.pdf",
"expiresAt": "2031-02-21T00:00:00.000Z"
}
}Authorizations
API key as Bearer token: Authorization: Bearer cur_live_xxxxx
Body
- Option 1
- Option 2
The ID of the search to generate a PDF for.
This is returned as meta.searchId in the response from POST /search.
Mutually exclusive with verificationId.
"f47ac10b-58cc-4372-a567-0e02b2c3d479"
The ID of the verification to generate a PDF for.
This is returned as meta.verificationId in the response from POST /verify.
Mutually exclusive with searchId.
"a1b2c3d4-e5f6-7890-abcd-ef1234567890"
Was this page helpful?