QueryGet LPR event history

Get LPR event history

Returns paginated license plate recognition audit history for a camera. Supports from/to date filters.

curl -X GET "https://api.spkey.co/cameras/example_string/lpr-events?from=example_string&to=example_string&page=example_string&pageSize=example_string" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer YOUR_API_TOKEN (JWT)" \
  -H "X-API-Key: YOUR_API_KEY"
{
  "cameraId": "example_string",
  "events": [
    {
      "id": "example_string",
      "cameraId": "example_string",
      "lockId": "null",
      "plate": "example_string",
      "confidence": 3.14,
      "matched": true,
      "matchedUserId": "null",
      "actionTaken": "example_string",
      "timestamp": "example_string"
    }
  ],
  "page": 3.14,
  "pageSize": 3.14,
  "total": 3.14,
  "hasMore": true
}
GET
/cameras/{id}/lpr-events
GET
Base URLstring

Target server for requests. Edit to use your own host.

Bearer Token (JWT)
Bearer Tokenstring
Required

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.
API Key (header: X-API-Key)
X-API-Keystring
Required

API key for B2B organization access. Provided during organization onboarding.

API key for B2B organization access. Provided during organization onboarding.
query
fromstring

Inclusive ISO-8601 start timestamp

query
tostring

Inclusive ISO-8601 end timestamp

query
pagestring

1-based page number

query
pageSizestring

Events per page, maximum 100

Request Preview
Response

Response will appear here after sending the request

Authentication

header
Authorizationstring
Required

Bearer token (JWT). JWT token from SmartphoneKey authentication. Identifies the B2C user or B2B service.

header
X-API-Keystring
Required

API Key for authentication. API key for B2B organization access. Provided during organization onboarding.

Path Parameters

Query Parameters

fromstring

Inclusive ISO-8601 start timestamp

tostring

Inclusive ISO-8601 end timestamp

pagestring

1-based page number

pageSizestring

Events per page, maximum 100

Responses

cameraIdstring
Required
eventsarray
Required
pagenumber
Required
pageSizenumber
Required
totalnumber
Required
hasMoreboolean
Required