Open a gate with PalGate Cloud via OpenApp
PalGate Cloud controls gates and controllers through PAL’s cloud API. OpenApp links your PalGate account as an integration, maps each gate to a device, and exposes standard entity actions (switchable.open) — so automations, SDKs, and agents use one API regardless of vendor.
This guide is for homeowners, building operators, and integrators who already use PalGate and want API-driven gate control. Setup details: PalGate Cloud integration. Sector context: Model by sector (private home, shared building parking).
Prerequisites
Section titled “Prerequisites”- PalGate Cloud integration created in the dashboard (QR linking or manual credentials).
- A device per gate with PalGate gate ID as
external_id(e.g.DEVICEorDEVICE:2). - API key and entity id for the gate’s switchable entity.
Open the gate (HTTP API)
Section titled “Open the gate (HTTP API)”export OPENAPP_API_BASE='https://api.openapp.house/api/v1'export OPENAPP_API_KEY='v1_openapp_YOUR_SECRET'export OPENAPP_ORG_ID='01HORG00000000000000000000'export ENTITY_ID='01HENTITY000000000000000000'
curl -sS -X POST \ -H "Authorization: Bearer ${OPENAPP_API_KEY}" \ -H "Content-Type: application/json" \ -H "X-Org: ${OPENAPP_ORG_ID}" \ -d '{}' \ "${OPENAPP_API_BASE}/entities/${ENTITY_ID}/actions/switchable.open"Find ENTITY_ID from the device page or GET /integrations/{id}/entities.
Python (SDK)
Section titled “Python (SDK)”await client.entities.by_id(entity_id).open()Link a new PalGate device (API)
Section titled “Link a new PalGate device (API)”Custom provisioning can use the integration-setup flow the dashboard wizard calls:
POST /api/v1/integration-setup/v1/sessionswith"flow": "palgate_cloud_device_link"- Poll
POST .../sessions/{session_id}/polluntilsucceeded - Create the integration with returned
config+secrets
See PalGate Cloud — Integration-setup API.
Agent safety
Section titled “Agent safety”- Confirm which gate entity maps to which parking entry before unattended automation.
- PalGate rate limits and account policy still apply under the hood.
- For comparison with using the PalGate app alone, see PalGate via OpenApp vs native app.