History
Base URL: https://api.gatevia.app
Openings
GET /api/v1/openings — scope history:read
Every gate-opening attempt (dashboard, magic link or API), newest first.
Query params: limit (default 50, max 200), offset.
{ "openings": [ { "id": "665f…", "gateId": "665f1c2ab9d1a2c3d4e5f601", "gateName": "Main entrance", "status": "completed", "duration": 4, "calledAt": "2026-07-10T10:12:00.000Z", "completedAt": "2026-07-10T10:12:06.000Z", "errorMessage": null, "openedBy": { "type": "guest", "name": "Ana Popescu", "email": null } } ], "pagination": { "limit": 50, "offset": 0 }}openedBy.type is guest for magic-link openings and owner for app users.
status is one of initiated, connected, completed, failed, timeout.
Activity log
GET /api/v1/activity — scope history:read
Admin/audit actions in the Space: members created or edited, accesses
granted/updated/revoked, gates changed, API keys managed. Changes made
through the API appear with the key as actor ("api:<key name>").
Query params: limit (default 50, max 200).
{ "activity": [ { "id": "665f…", "action": "guest.access_added", "actor": "api:PMS integration", "targetType": "guest", "targetLabel": "Ana Popescu", "details": { "deviceName": "Main entrance" }, "timestamp": "2026-07-11T09:30:00.000Z" } ]}