> ## Documentation Index
> Fetch the complete documentation index at: https://openapi-docs.yidianting.cc/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Remote Gate & Lane Control

> Monitor hardware health, execute audited remote gate controls, switch lane modes, and send signage prompts.

Facility command centers and event management systems can integrate directly with physical lane controls while maintaining a complete compliance audit trail.

> [!WARNING]
>
> **High-Privilege Operations:** `gates:control`, `facilities:write` (`POST /v1/facilities/occupancy/adjust`), and `POST /v1/sessions/manualEntry` are disabled by default for standard payment or merchant partners and are enabled only for certified facility operators and system integrators.

## Audited Remote Gate Control

Every call to `POST /v1/gates/control` supports raising (`OPEN`) or lowering (`CLOSE`) a barrier with optional synchronized `displayLines` / `voiceText` and requires:

* `operator`: The identity of the staff member or automated service initiating the action.
* `reason`: Human-readable justification saved in facility audit logs.
* `Idempotency-Key`: Header preventing accidental double-actuation during retries.

```bash theme={null}
curl -X POST https://api.akeparking.com/v1/gates/control \
  -H "Authorization: Bearer ak_live_your_api_key" \
  -H "Idempotency-Key: 9920c1a4-7b12-4a8e-91fd-2c44f82e10a1" \
  -H "Content-Type: application/json" \
  -d '{
    "facilityId": "MY-KL-001",
    "laneId": "LN-OUT-01",
    "action": "OPEN",
    "operator": "building_command_center",
    "reason": "VIP escort verified via CCTV",
    "displayLines": ["VIP ESCORT CLEARED", "HAVE A SAFE TRIP"],
    "voiceText": "Barrier opening. Have a safe trip."
  }'
```

## Peak Traffic & Signage Control

* **Event Egress (`POST /v1/lanes/setMode`)**: High-privilege endpoint to switch lanes between `NORMAL`, `PEAK` (high-throughput), `ALWAYS_OPEN` (free-flow barrier-up after concerts or stadium events), and `DISABLED` maintenance lock.
* **LED Display, Voice & Payment QR (`POST /v1/devices/displayAndAnnounce`)**: Show up to 4 custom display lines, trigger spoken lane announcements, and set `showPaymentQrCode: true` to display a dynamic scan-to-pay QR on compatible exit terminals.
* **Manual Capture (`POST /v1/lanes/capture`)**: Capture an on-demand license plate snapshot from any entry or exit camera.
* **Health Monitoring**: Poll `POST /v1/devices/list` or subscribe to `device.statusChanged` webhooks to detect offline cameras or barriers immediately.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.