Skip to main content
GET
List the drawer

Authorizations

__Secure-better-auth.session_token
string
cookie
required

The session cookie set when you sign in to the web app.

Query Parameters

subject
string
Maximum string length: 64
kind
enum<string>
Available options:
driver-license,
passport,
id-card,
health-card,
insurance-policy,
vehicle-licensing,
other
expiringBy
string
Maximum string length: 10
folder
string
Maximum string length: 64

Response

The documents.

id
string
required
version
string
required
kind
enum<string>
required
Available options:
driver-license,
passport,
id-card,
health-card,
insurance-policy,
vehicle-licensing,
other
subjectId
string | null
required
label
string
required
validUntil
string | null
required
folderId
string | null
required
fieldNames
string[]
required
contentType
enum<string>
required
Available options:
application/pdf,
image/jpeg,
image/png