Proximity Access
Proximity-based access control for courts and facilities.
Provides credentials for proximity-based access to doors/locks using various hardware providers. Currently supports Kisi provider. Other providers return "not supported yet" error.
Returns authentication secrets for offline-capable door access.
Uses camelCase properties following API standards.The proximity access provider to use for authentication.
KISIPossible values: Device brand (e.g., Apple, Samsung)
AppleDevice model (e.g., iPhone 15, Galaxy S24)
iPhone 15Operating system name (e.g., iOS, Android)
iOSReturns proximity access credentials for the specified provider
The login session ID from Kisi
118161420The authentication token used for this login
eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...Bad request - invalid provider or device info
Authentication failed - invalid PodPlay user
Validation errors in request data
Internal server error or proximity service unavailable
POST /apis/v2/proximity-access/login HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 82
{
"provider": "KISI",
"deviceBrand": "Apple",
"deviceModel": "iPhone 15",
"osName": "iOS"
}{
"id": 118161420,
"secret": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"scramCredentials": {
"phoneKey": "4d37cc2a36c4cf9d4b429334d07b575e",
"onlineCertificate": "80058d94b8070b000c0585dd658a8cc47c43e8aad2a7790ca2eb30ef12888f82241a5c3045d5df247e"
}
}Executes the proximity sync for a specific user by email which: 1. Finds the user by email 2. Gets areas from user's membership subscription 3. Calculates sync operations (add/remove access) 4. Creates operations and processes them (ORDER mode) OR returns preview of operations (PREVIEW mode)
Can be run in PREVIEW mode to see what would be processed,
or ORDER mode to actually perform the operations.The job type
PREVIEWPossible values: User email to sync
user@example.comJob execution completed. Returns ProximitySyncUserJobResultDto with operation summary for both PREVIEW and ORDER modes.
The job type
PREVIEWUser email that was processed
user@example.comTotal number of operations that would be created
3Number of ADD operations
2Number of REMOVE operations
1Job execution time in milliseconds
1500Proximity access feature disabled
Insufficient permissions
User not found
Internal server error
POST /apis/v2/proximity-access/sync/email HTTP/1.1
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 45
{
"type": "PREVIEW",
"email": "user@example.com"
}{
"type": "PREVIEW",
"email": "user@example.com",
"totalOperations": 3,
"addOperations": 2,
"removeOperations": 1,
"operations": [
{
"operation": "user@example.com add area-123",
"action": "add",
"area": {
"id": "123e4567-e89b-12d3-a456-426614174001"
}
}
],
"executionTimeMs": 1500
}No content
POST /apis/v2/proximity-access/jobs/process-expired HTTP/1.1
Accept: */*
No content
Last updated
Was this helpful?

