Pass Management
Pass Management
Administrators have the same pass capabilities as residents, plus can manage any user’s passes via API.
Available Commands
| Command | Description |
|---|---|
/pass_create | Create a pass |
/my_passes | Own active passes |
/pass_cancel | Cancel own pass |
/verify_pass | Verify any vehicle’s pass |
/export_passes | Export all passes to CSV |
/export_blacklist | Export blacklist to CSV |
/export_period | Export passes by period to CSV |
/import_passes | Import passes from CSV |
Creating a Pass
Administrators can create passes just like residents. Full description: Create Pass.
Verifying a Pass
/verify_pass allows checking any vehicle’s pass — not just your own. Useful for resolving disputes.
Cancelling a Pass
Via the bot, administrators can only cancel their own passes (/pass_cancel). To cancel another user’s pass, use the API.
What Happens to Passes When a Vehicle is Blocked
When /block_car is executed, the system automatically cancels all active passes for the blocked plate — regardless of who created them. Pass owners receive notifications.
Export & Import Passes
Administrators can export and import passes in CSV format for bulk operations.
/export_passes — Export All Passes
Exports all active passes to a CSV file:
plate_number,pass_type,start_date,end_date,created_by,statusA123BC777,permanent,2025-06-01,,user:12345,activeB456DE178,temporary,2025-06-10,2025-06-20,user:67890,active/export_blacklist — Export Blacklist
Exports all blacklist entries to CSV:
plate_number,reason,blocked_by,blocked_atC789FG199,Stolen plate,admin:1,2025-06-15T10:00:00Z/export_period — Export Passes by Period
Exports passes created within a specified date range:
/export_period 2025-06-01 2025-06-30CSV format is the same as /export_passes.
/import_passes — Import Passes from CSV
Uploads a CSV file with passes and creates them in the system:
plate_number,pass_type,start_date,end_dateX123YZ77,permanent,2025-07-01,Y456WX178,temporary,2025-07-10,2025-07-20Important:
- Blacklist check is performed for each plate
- Duplicates are ignored (plate + type + dates)
- Max file size: 5 MB
- Supports Russian and foreign plates
Pass Types
| Type | Code | Validity |
|---|---|---|
| Permanent | permanent | No expiration |
| One-time | one_time | Single guard check |
| Temporary | temporary | Until specified date |