Skip to main content
GET
curl
Generate PDF also renders KYB reports. Use whichever fits your integration: this endpoint addresses the session through your organization and application, the other one by session ID alone.
The report is only available once the session is Approved, Declined or In Review. Wait for the status.updated webhook before you request it.

Authorizations

x-api-key
string
header
required

Your application's API key, from Developers -> API keys in the Business Console. The primary key has full access. A named key can be scoped: none, read or write per resource, limited to some workflows or to approved sessions, to a list of IP addresses, and to an expiry date. 401 means the key is missing, wrong, revoked or expired; 403 means the key has no access to this resource or action, or the request came from an address outside its IP list; 404 on a session route means the session is outside the key's workflows or statuses. A key without media access receives image, video and PDF URLs as null, and a key without sessions write receives session links and tokens as null. See https://docs.didit.me/console/api-keys.

Path Parameters

organization_id
string<uuid>
required

Organization UUID.

application_id
string<uuid>
required

Application UUID. Must be the application the API key belongs to: a key used on any other application gets 403.

business_session_id
string<uuid>
required

session_id of the Business Verification (KYB) session, as returned when the session was created. A session of another application returns 404.

Response

The rendered PDF, returned directly as binary application/pdf.

The response is of type file.