Skip to content

Pass Management

Pass Management

Administrators have the same pass capabilities as residents, plus can manage any user’s passes via API.

Available Commands

CommandDescription
/pass_createCreate a pass
/my_passesOwn active passes
/pass_cancelCancel own pass
/verify_passVerify any vehicle’s pass
/export_passesExport all passes to CSV
/export_blacklistExport blacklist to CSV
/export_periodExport passes by period to CSV
/import_passesImport 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,status
A123BC777,permanent,2025-06-01,,user:12345,active
B456DE178,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_at
C789FG199,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-30

CSV 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_date
X123YZ77,permanent,2025-07-01,
Y456WX178,temporary,2025-07-10,2025-07-20

Important:

  • 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

TypeCodeValidity
PermanentpermanentNo expiration
One-timeone_timeSingle guard check
TemporarytemporaryUntil specified date