List identity logs
List identity verification logs, newest first. Optional filters: store, source, access (allowed or denied), and ISO date range start/end. Use limit and optional cursor for pagination. Returns 403 if identity logs are not enabled for the organization.
GET
/identity-logsAuthorization
AuthorizationBearer token (API key) · headerrequiredOrganization API key.
Query parameters
storestringStore id filter.
sourcestringDocument source filter (e.g. swiss_id_card, swiss_drivers_license_old, swiss_drivers_license_qr, passport).
accessstringAccess decision filter.
Allowed:
alloweddeniedstartstring<date-time>Start of logDate range (ISO-8601).
endstring<date-time>End of logDate range (ISO-8601).
limitintegerPage size (1–5000, default 100).
min 1 · max 5000 · default: 100
cursorstringOpaque document id for the next page. Do not parse. Follow `meta.nextCursor` until it is absent.
Responses
200Identity logs with meta
dataIdentityLog[]requiredShow propertiesHide properties
Array of
IdentityLogidstringlogTypestringappVersionstringaccessbooleanWhether access was granted.
instancestringlogDatestring<date-time>storestringStore id
sourcestringuserstringbirthDatestringimageUrlstringrawTextstringRaw MRZ / scan payload.
metaListMetarequiredList metadata. `returned` is the length of `data`. Soft-deleted catalog rows are omitted from list results, so `returned` may be less than `limit` even when more active items exist. When `nextCursor` is present, more pages may exist — keep paging until `nextCursor` is absent.
Show propertiesHide properties
totalintegerrequiredWith product search (`q`) without `store`: estimated match count. With `store`: equals `returned` after store visibility filtering. Otherwise equals `returned`. Soft-deleted items are omitted, so a page may be shorter than `limit` even when more active items exist.
returnedintegerrequiredNumber of active items in `data` (soft-deleted rows excluded).
limitintegerrequiredApplied page size.
offsetintegerOnly for product search with `q`.
nextCursorstringOpaque cursor for the next page. Present when more results may exist. Do not parse; pass unchanged as `cursor`. Under soft-delete filtering, `returned < limit` does not mean the list is finished.
400Bad request
errorValidationErrorrequiredValidation details.
Show propertiesHide properties
formErrorsstring[]requiredfieldErrorsobjectrequired403Unauthorized, or identity logs not enabled for this organization
statusCodeintegerrequiredHTTP status code
messagestringrequiredHuman-readable error message
timestampstring<date-time>requiredpathstringrequiredRequest path
Request
curl -X GET "https://dashboard.scango.ch/api/v1/identity-logs" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://dashboard.scango.ch/api/v1/identity-logs", {
method: "GET",
headers: {
"Authorization": "Bearer YOUR_TOKEN"
}
});Response
{
"data": [
{
"id": "string",
"logType": "string",
"appVersion": "string",
"access": true,
"instance": "string",
"logDate": "2019-08-24T14:15:22Z",
"store": "string",
"source": "string",
"user": "string",
"birthDate": "string",
"imageUrl": "string",
"rawText": "string"
}
],
"meta": {
"total": 0,
"returned": 0,
"limit": 0,
"offset": 0,
"nextCursor": "string"
}
}{
"error": {
"formErrors": [
"string"
],
"fieldErrors": {
"property1": [
"string"
],
"property2": [
"string"
]
}
}
}{
"statusCode": 0,
"message": "string",
"timestamp": "2019-08-24T14:15:22Z",
"path": "string"
}