curl --request GET \
--url https://api.lightspark.com/grid/2025-10-13/documents \
--header 'Authorization: Basic <encoded-value>'{
"data": [
{
"id": "Document:019542f5-b3e7-1d02-0000-000000000001",
"documentHolder": "BeneficialOwner:019542f5-b3e7-1d02-0000-000000000001",
"documentType": "PASSPORT",
"country": "US",
"fileName": "passport_scan.pdf",
"createdAt": "2025-10-03T12:00:00Z",
"side": "FRONT",
"documentNumber": "A12345678",
"updatedAt": "2025-10-03T12:00:00Z"
}
],
"hasMore": true,
"nextCursor": "<string>",
"totalCount": 123
}Retrieve a list of documents with optional filtering by document holder.
curl --request GET \
--url https://api.lightspark.com/grid/2025-10-13/documents \
--header 'Authorization: Basic <encoded-value>'{
"data": [
{
"id": "Document:019542f5-b3e7-1d02-0000-000000000001",
"documentHolder": "BeneficialOwner:019542f5-b3e7-1d02-0000-000000000001",
"documentType": "PASSPORT",
"country": "US",
"fileName": "passport_scan.pdf",
"createdAt": "2025-10-03T12:00:00Z",
"side": "FRONT",
"documentNumber": "A12345678",
"updatedAt": "2025-10-03T12:00:00Z"
}
],
"hasMore": true,
"nextCursor": "<string>",
"totalCount": 123
}API token authentication using format <api token id>:<api client secret>
Filter by document holder ID (Customer or BeneficialOwner)
Maximum number of results to return (default 20, max 100)
1 <= x <= 100Cursor for pagination (returned from previous request)
Successful operation
List of documents matching the filter criteria
Show child attributes
Indicates if more results are available beyond this page
Cursor to retrieve the next page of results (only present if hasMore is true)
Total number of results matching the criteria
Was this page helpful?