/openapi.jsonThis API's OpenAPI 3.1 document (no key needed).
Scope: none · Success: 200
curl -s "https://<your app>/backend/api/v1/openapi.json"Connect smart lockers, building systems, accounting and your own tools: read and write a building's data with an API key, and get webhooks when things happen.
An organization's managers (or a vendor's office admins) create keys in Settings → Developers. A key belongs to the organization, not to the person who made it: it reaches the organization's buildings (all of them, or a list), only with the scopes it was given, and keeps working until it expires or someone revokes it. The secret is shown once; we keep only its SHA-256.
Base URL:
https://<your app>/backend/api/v1curl -s "https://<your app>/backend/api/v1/key" -H "Authorization: Bearer $LOBBY_API_KEY"API and webhooks are included in the Pro plan. Vendors' keys don't need a plan.
Send the key in the Authorization: Bearer lbk_live_… header over HTTPS. Never put it in a URL or in a browser app. A key may be limited to IP addresses or ranges; requests from elsewhere get ip_not_allowed. Every route needs one scope; a missing one is insufficient_scope. Nobody can give a key a scope their own role doesn't have.
residents:read returns names; emails and phone numbers also need residents.contact:read. Payments never include card or bank details. Documents are metadata only.
JSON in camelCase. Times are ISO 8601 in UTC (2026-10-04T15:30:00.000Z), days are YYYY-MM-DD, money is in cents. A record comes as { "data": { … } }, a list as { "data": [ … ], "next": "…" }.
Every successful GET carries an ETag; send it back in If-None-Match and an unchanged answer is 304 Not Modified with no body.
Lists are ordered by when records last changed. limit is 1 to 100 (default 50). When next isn't null, ask again with cursor=<next>. To sync, keep the newest updatedAt you saw and ask with updatedSince: you get what changed since, oldest first.
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/packages?status=received&updatedSince=2026-10-04T00:00:00Z&limit=100" \
-H "Authorization: Bearer $LOBBY_API_KEY"Errors have a stable code and an English message:
{ "error": { "code": "insufficient_scope", "message": "This key doesn't have the scope this route needs (packages:write)." } }Records outside the key's organization or buildings are not_found, whether they exist or not. A read-only account (trial ended, payment overdue) refuses writes with read_only; reads keep working.
Each key may make 600 requests a minute and 10,000 a day (UTC). Every answer says where you stand in X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (Unix seconds), X-RateLimit-Daily-Limit and X-RateLimit-Daily-Remaining. Over the limit, the answer is 429 rate_limited with Retry-After in seconds. Every request (method, path, status, time; never a body) is in the organization's request log for 30 days.
Send an Idempotency-Key header (a UUID) with every POST. If the network drops and you send the same request again with the same key within 24 hours, you get the first answer (marked Idempotent-Replayed: true) and nothing happens twice. The same key with a different request is 422 idempotency_mismatch; while the first is still running, 409 idempotency_in_progress.
Subscribe an https address in Settings → Developers (or with POST /webhooks and the webhooks:manage scope). Addresses must be on the public internet: private, loopback and link-local addresses are refused when you save the subscription and again at every delivery. We POST each event as JSON:
{
"id": "0192f0c2-7a4e-7cc1-9f3e-2b8d1c0a5e17",
"type": "package.logged",
"createdAt": "2026-10-04T15:30:00.000Z",
"buildingId": "0192f0c1-1111-7aaa-8bbb-123456789abc",
"data": {
"packageId": "0192f0c2-…",
"unitId": "0192f0c1-…",
"unitNumber": "1204",
"carrier": "UPS",
"tracking": "1Z999AA10123456784",
"shelf": "Locker 12",
"status": "received",
"loggedAt": "2026-10-04T15:30:00.000Z"
}
}Headers: X-Lobby-Event, X-Lobby-Event-Id, X-Lobby-Delivery, X-Lobby-Attempt and X-Lobby-Signature: t=<Unix seconds>,v1=<hex>, an HMAC-SHA256 of t + "." + body with the subscription's signing secret (shown once). Check it on the raw body before parsing, and refuse old timestamps:
const crypto = require("node:crypto");
// rawBody: the request body exactly as received (a string or Buffer), before any JSON parsing.
function verifyLobbySignature(secret, header, rawBody, toleranceSeconds = 300) {
const parts = Object.fromEntries(String(header).split(",").map((p) => p.trim().split("=")));
const t = Number(parts.t);
if (!Number.isInteger(t) || !/^[0-9a-f]{64}$/.test(parts.v1 ?? "")) return false;
if (Math.abs(Date.now() / 1000 - t) > toleranceSeconds) return false;
const expected = crypto.createHmac("sha256", secret).update(t + "." + rawBody).digest("hex");
return crypto.timingSafeEqual(Buffer.from(parts.v1, "hex"), Buffer.from(expected, "hex"));
}Answer with any 2xx within 10 seconds. Anything else is retried after 1 min, 5 min, 30 min, 2 h, 6 h, 12 h (7 attempts within 24 hours). Delivery is at least once: drop duplicates by the event id, which stays the same across retries and replays. After 5 deliveries in a row fail every attempt, the subscription is turned off and the organization's managers are told. Payloads carry ids and minimal details; names (recipient, visitor, payer, resident) only when the subscription includes them, which needs the permission to read residents. The console can send a test event, and shows each delivery with its attempts and the first 1 KB of your answer.
packageId, unitId, unitNumber, carrier, tracking, shelf, status, loggedAt · with names: recipientName
packageId, unitId, unitNumber, carrier, status, loggedAt, pickedUpAt · with names: recipientName, pickedUpBy
visitId, unitId, unitNumber, kind, company, arrivedAt · with names: visitorName
requestId, unitId, unitNumber, area, title, category, urgency, status, createdAt
requestId, unitId, unitNumber, title, status, previousStatus
workOrderId, requestId, unitId, title, status, vendorOrgId, completedAt
reservationId, amenityId, amenityName, unitId, unitNumber, startsAt, endsAt, status, guests · with names: bookedByName
reservationId, amenityId, amenityName, unitId, unitNumber, startsAt, endsAt, status · with names: bookedByName
announcementId, title, audience, urgent, publishedAt
eventId, title, startsAt, endsAt, location, audience
chargeId, unitId, unitNumber, kind, description, amountCents, dueDate
paymentId, unitId, unitNumber, chargeId, amountCents, method, paidAt · with names: payerName
occupancyId, unitId, unitNumber, personId, relation, startDate · with names: firstName, lastName
occupancyId, unitId, unitNumber, personId, relation, startDate, endDate · with names: firstName, lastName
jobId, workOrderId, status, title, windowStart, windowEnd
/openapi.jsonThis API's OpenAPI 3.1 document (no key needed).
Scope: none · Success: 200
curl -s "https://<your app>/backend/api/v1/openapi.json"/keyThe key making the request: its organization, scopes, buildings and limits.
Scope: any key · Success: 200 · { data: KeyInfo }
KeyInfo
curl -s "https://<your app>/backend/api/v1/key" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildingsBuildings the key reaches.
Scope: any building scope · Success: 200 · { data: Building[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Building
curl -s "https://<your app>/backend/api/v1/buildings?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingIdOne building.
Scope: any building scope · Success: 200 · { data: Building }
Parameters
Building
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingId/unitsThe building's units.
Scope: units:read · Success: 200 · { data: Unit[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Unit
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/units?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/units/:unitId/residentsPeople living in or owning the unit now.
Emails and phone numbers only for keys with residents.contact:read.
Scope: residents:read · Success: 200 · { data: Resident[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Resident
The occupancy (a person living in the unit, or owning it)
Only with residents.contact:read
Only with residents.contact:read
curl -s "https://<your app>/backend/api/v1/units/$UNIT_ID/residents?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingId/packagesPackages logged at the desk.
Scope: packages:read · Success: 200 · { data: Package[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Package
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/packages?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingId/packagesLog a package (from a smart locker or a mailroom system).
The resident is told, as when the desk logs one. Send an Idempotency-Key so a retry doesn't log it twice.
Scope: packages:write · Success: 201 · { data: Package }
Parameters
Any unique string (a UUID): the same request sent again within 24 hours gets the first answer instead of running twice.
Body (JSON)
up to 20 characters
up to 120 characters
up to 60 characters
Where it is: a shelf, or a locker number; up to 30 characters
up to 500 characters
Package
curl -s -X POST "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/packages" \
-H "Authorization: Bearer $LOBBY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"unitId":"0192f0c2-7a4e-7cc1-9f3e-2b8d1c0a5e17","unitNumber":"…","recipientName":"…","carrier":"UPS","tracking":"…","shelf":"…","notes":"…"}'/buildings/:buildingId/packages/:packageId/pickupMark a package picked up.
Scope: packages:write · Success: 200 · { data: Package }
Parameters
Any unique string (a UUID): the same request sent again within 24 hours gets the first answer instead of running twice.
Body (JSON)
Who took it, or the locker that released it; up to 120 characters
default "staff_override"
The resident's 4-digit pickup code (method code)
Package
curl -s -X POST "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/packages/$PACKAGE_ID/pickup" \
-H "Authorization: Bearer $LOBBY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"pickedUpBy":"…","method":"code","code":"…"}'/buildings/:buildingId/locker-eventsSend a smart locker event (a parcel deposited, picked up or removed; a bank full).
The same event a locker system can send to the building's signed webhook (ADR 0046), authenticated by the key instead. Each event id is applied once. The building must have a locker system set up (Settings → Lockers) and a plan with lockers.
Scope: packages:write · Success: 200 · { data: LockerEventResult }
Parameters
Any unique string (a UUID): the same request sent again within 24 hours gets the first answer instead of running twice.
Body (JSON)
up to 100 characters
up to 64 characters
up to 512 characters
LockerEventResult
curl -s -X POST "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/locker-events" \
-H "Authorization: Bearer $LOBBY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"id":"…","type":"parcel.deposited","occurredAt":"2026-10-04T15:30:00.000Z","bank":{"ref":"…"},"door":{"label":"…","size":"small"},"parcel":{"ref":"…","packageId":"0192f0c2-7a4e-7cc1-9f3e-2b8d1c0a5e17","unitNumber":"…","recipientName":"…","carrier":"…","tracking":"…"},"code":"…","qr":"…","codeExpiresAt":"2026-10-04T15:30:00.000Z","status":"ok","reason":"returned_to_desk"}'/buildings/:buildingId/visitorsVisitors checked in at the desk.
Scope: visitors:read · Success: 200 · { data: Visit[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Visit
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/visitors?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingId/expected-visitorsVisitors the desk expects (guest and contractor passes).
Scope: visitors:read · Success: 200 · { data: ExpectedVisitor[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
ExpectedVisitor
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/expected-visitors?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingId/visitorsTell the desk to expect a visitor.
Scope: visitors:write · Success: 201 · { data: ExpectedVisitor }
Parameters
Any unique string (a UUID): the same request sent again within 24 hours gets the first answer instead of running twice.
Body (JSON)
up to 20 characters
up to 120 characters
up to 120 characters
default "guest"
up to 500 characters
ExpectedVisitor
curl -s -X POST "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/visitors" \
-H "Authorization: Bearer $LOBBY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"unitId":"0192f0c2-7a4e-7cc1-9f3e-2b8d1c0a5e17","unitNumber":"…","visitorName":"…","company":"…","kind":"guest","windowStart":"2026-10-04T15:30:00.000Z","windowEnd":"2026-10-04T15:30:00.000Z","instructions":"…"}'/buildings/:buildingId/requestsMaintenance requests.
Scope: requests:read · Success: 200 · { data: Request[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Request
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/requests?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingId/requestsOpen a maintenance request (from a building system's alarm, for example).
Scope: requests:write · Success: 201 · { data: Request }
Parameters
Any unique string (a UUID): the same request sent again within 24 hours gets the first answer instead of running twice.
Body (JSON)
up to 20 characters
Where, when it isn't a unit ("Boiler room"); up to 120 characters
up to 120 characters
up to 4000 characters
up to 60 characters
Request
curl -s -X POST "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/requests" \
-H "Authorization: Bearer $LOBBY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"unitId":"0192f0c2-7a4e-7cc1-9f3e-2b8d1c0a5e17","unitNumber":"…","area":"…","title":"…","description":"…","category":"…","urgency":"low"}'/requests/:requestIdOne maintenance request.
Scope: requests:read · Success: 200 · { data: Request }
Parameters
Request
curl -s "https://<your app>/backend/api/v1/requests/$REQUEST_ID" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingId/work-ordersWork orders.
Scope: work_orders:read · Success: 200 · { data: WorkOrder[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
WorkOrder
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/work-orders?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingId/amenitiesAmenities.
Scope: amenities:read · Success: 200 · { data: Amenity[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Amenity
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/amenities?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingId/reservationsAmenity reservations.
Scope: reservations:read · Success: 200 · { data: Reservation[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Reservation
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/reservations?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingId/announcementsPublished announcements.
Scope: announcements:read · Success: 200 · { data: Announcement[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Announcement
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/announcements?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingId/eventsPublished building events.
Scope: events:read · Success: 200 · { data: Event[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Event
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/events?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingId/chargesCharges posted to units.
Scope: charges:read · Success: 200 · { data: Charge[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Charge
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/charges?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingId/paymentsPayments: amounts and status.
Scope: payments:read · Success: 200 · { data: Payment[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Payment
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/payments?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/buildings/:buildingId/documentsDocuments (metadata only).
Scope: documents:read · Success: 200 · { data: Document[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Document
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/documents?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/jobsJobs sent to the vendor (vendor keys).
Scope: jobs:read · Success: 200 · { data: Job[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Job
curl -s "https://<your app>/backend/api/v1/jobs?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/jobs/:jobIdOne job (vendor keys).
Scope: jobs:read · Success: 200 · { data: Job }
Parameters
Job
curl -s "https://<your app>/backend/api/v1/jobs/$JOB_ID" \
-H "Authorization: Bearer $LOBBY_API_KEY"/webhooksThe organization's webhook subscriptions.
Scope: webhooks:manage · Success: 200 · { data: Webhook[], next }
Parameters
Page size, 1 to 100.
The `next` value of the previous page.
Only records changed at or after this time (for syncing).
Webhook
Only in the answer to creating it: keep it, it isn't shown again
curl -s "https://<your app>/backend/api/v1/webhooks?limit=50" \
-H "Authorization: Bearer $LOBBY_API_KEY"/webhooksSubscribe a URL to events.
The answer holds the signing secret, this once. Addresses must be https and public.
Scope: webhooks:manage · Success: 201 · { data: Webhook }
Parameters
Any unique string (a UUID): the same request sent again within 24 hours gets the first answer instead of running twice.
Body (JSON)
up to 2000 characters
default true
default []
default false
Webhook
Only in the answer to creating it: keep it, it isn't shown again
curl -s -X POST "https://<your app>/backend/api/v1/webhooks" \
-H "Authorization: Bearer $LOBBY_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: $(uuidgen)" \
-d '{"url":"…","description":"…","events":["package.logged"],"allBuildings":false,"buildingIds":["0192f0c2-7a4e-7cc1-9f3e-2b8d1c0a5e17"],"personalData":false}'/webhooks/:webhookIdDelete a webhook subscription.
Scope: webhooks:manage · Success: 204
Parameters
Any unique string (a UUID): the same request sent again within 24 hours gets the first answer instead of running twice.
curl -s -X DELETE "https://<your app>/backend/api/v1/webhooks/$WEBHOOK_ID" \
-H "Authorization: Bearer $LOBBY_API_KEY"