Partner API

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.

Getting started

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/v1
curl -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.

Authentication and scopes

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.

  • units:readneeds the building.settings permission to grant
  • residents:readneeds the residents.directory permission to grant
  • residents.contact:readneeds the residents.directory permission to grant
  • packages:readneeds the desk.packages permission to grant
  • packages:writeneeds the desk.packages permission to grant
  • visitors:readneeds the desk.visitors permission to grant
  • visitors:writeneeds the desk.visitors permission to grant
  • requests:readneeds the maintenance.requests permission to grant
  • requests:writeneeds the maintenance.requests permission to grant
  • work_orders:readneeds the maintenance.work_orders permission to grant
  • amenities:readneeds the building.amenities permission to grant
  • reservations:readneeds the building.amenities permission to grant
  • announcements:readneeds the communication.announcements permission to grant
  • events:readneeds the communication.events permission to grant
  • charges:readneeds the money.charges permission to grant
  • payments:readneeds the money.payments permission to grant
  • documents:readneeds the governance.documents permission to grant
  • webhooks:manageneeds the building.api permission to grant
  • jobs:readvendor keys: the jobs sent to the vendor

residents:read returns names; emails and phone numbers also need residents.contact:read. Payments never include card or bank details. Documents are metadata only.

Requests and responses

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.

Pagination and sync

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

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)." } }
  • 401invalid_keyNo key, an unknown key, or a revoked or expired one.
  • 403ip_not_allowedThe key has an IP allowlist and this address isn't on it.
  • 403insufficient_scopeThe key lacks the scope this route needs.
  • 403plan_requiredThe building's plan doesn't include the API.
  • 403read_onlyThe account is read-only (trial ended, payment overdue, cancelled or suspended): reads work, writes don't.
  • 403forbiddenThe key may not do this.
  • 404not_foundNo such record, or it is outside the key's organization and buildings.
  • 400validation_failedThe request's parameters or body are invalid; `details` says which.
  • 409conflictThe record's state doesn't allow this (e.g. a package already picked up).
  • 409idempotency_in_progressA request with this Idempotency-Key is still running.
  • 422idempotency_mismatchThis Idempotency-Key was used with a different request.
  • 429rate_limitedToo many requests: see Retry-After.
  • 500internalSomething went wrong on our side. Retrying with the same Idempotency-Key is safe.

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.

Rate limits

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.

Idempotency

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.

Webhooks

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.

  • package.logged

    packageId, unitId, unitNumber, carrier, tracking, shelf, status, loggedAt · with names: recipientName

  • package.picked_up

    packageId, unitId, unitNumber, carrier, status, loggedAt, pickedUpAt · with names: recipientName, pickedUpBy

  • visitor.arrived

    visitId, unitId, unitNumber, kind, company, arrivedAt · with names: visitorName

  • request.created

    requestId, unitId, unitNumber, area, title, category, urgency, status, createdAt

  • request.status_changed

    requestId, unitId, unitNumber, title, status, previousStatus

  • work_order.completed

    workOrderId, requestId, unitId, title, status, vendorOrgId, completedAt

  • reservation.created

    reservationId, amenityId, amenityName, unitId, unitNumber, startsAt, endsAt, status, guests · with names: bookedByName

  • reservation.cancelled

    reservationId, amenityId, amenityName, unitId, unitNumber, startsAt, endsAt, status · with names: bookedByName

  • announcement.published

    announcementId, title, audience, urgent, publishedAt

  • event.published

    eventId, title, startsAt, endsAt, location, audience

  • charge.posted

    chargeId, unitId, unitNumber, kind, description, amountCents, dueDate

  • payment.succeeded

    paymentId, unitId, unitNumber, chargeId, amountCents, method, paidAt · with names: payerName

  • resident.moved_in

    occupancyId, unitId, unitNumber, personId, relation, startDate · with names: firstName, lastName

  • resident.moved_out

    occupancyId, unitId, unitNumber, personId, relation, startDate, endDate · with names: firstName, lastName

  • job.dispatchedvendors

    jobId, workOrderId, status, title, windowStart, windowEnd

Meta

GET/openapi.json

This API's OpenAPI 3.1 document (no key needed).

Scope: none · Success: 200

curl -s "https://<your app>/backend/api/v1/openapi.json"
GET/key

The key making the request: its organization, scopes, buildings and limits.

Scope: any key · Success: 200 · { data: KeyInfo }

KeyInfo

  • iduuidrequired
  • namestringrequired
  • orgIduuidrequired
  • orgNamestringrequired
  • kind"org" | "vendor"required
  • scopesstring[]required
  • allBuildingsbooleanrequired
  • buildingIdsuuid[]required
  • expiresAtdatetime | nullrequired
  • rateLimitobjectrequired
curl -s "https://<your app>/backend/api/v1/key" \
  -H "Authorization: Bearer $LOBBY_API_KEY"

Buildings

GET/buildings

Buildings the key reaches.

Scope: any building scope · Success: 200 · { data: Building[], next }

Parameters

  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

Building

  • iduuidrequired
  • namestringrequired
  • streetstring | nullrequired
  • citystring | nullrequired
  • statestring | nullrequired
  • zipstring | nullrequired
  • neighborhoodstring | nullrequired
  • profile"high_rise" | "condo_hoa" | "rental"required
  • unitCountinteger | nullrequired
  • timezonestringrequired
  • createdAtdatetimerequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"
GET/buildings/:buildingId

One building.

Scope: any building scope · Success: 200 · { data: Building }

Parameters

  • buildingIduuidpathrequired

Building

  • iduuidrequired
  • namestringrequired
  • streetstring | nullrequired
  • citystring | nullrequired
  • statestring | nullrequired
  • zipstring | nullrequired
  • neighborhoodstring | nullrequired
  • profile"high_rise" | "condo_hoa" | "rental"required
  • unitCountinteger | nullrequired
  • timezonestringrequired
  • createdAtdatetimerequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID" \
  -H "Authorization: Bearer $LOBBY_API_KEY"

Units

GET/buildings/:buildingId/units

The building's units.

Scope: units:read · Success: 200 · { data: Unit[], next }

Parameters

  • buildingIduuidpathrequired
  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

Unit

  • iduuidrequired
  • buildingIduuidrequired
  • numberstringrequired
  • floorinteger | nullrequired
  • typestring | nullrequired
  • sizeSqFtinteger | nullrequired
  • createdAtdatetimerequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/units?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"
GET/units/:unitId/residents

People 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

  • unitIduuidpathrequired
  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

Resident

  • iduuidrequired

    The occupancy (a person living in the unit, or owning it)

  • personIduuidrequired
  • unitIduuidrequired
  • firstNamestringrequired
  • lastNamestringrequired
  • relation"owner" | "tenant" | "family" | "agent"required
  • startDatedaterequired
  • endDatedate | nullrequired
  • languagestring | nullrequired
  • emailsstring[]

    Only with residents.contact:read

  • phonesstring[]

    Only with residents.contact:read

  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/units/$UNIT_ID/residents?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"

Packages

GET/buildings/:buildingId/packages

Packages logged at the desk.

Scope: packages:read · Success: 200 · { data: Package[], next }

Parameters

  • buildingIduuidpathrequired
  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

  • status"received" | "picked_up" | "returned"query

Package

  • iduuidrequired
  • buildingIduuidrequired
  • unitIduuidrequired
  • unitNumberstring | nullrequired
  • recipientNamestringrequired
  • carrierstringrequired
  • trackingstring | nullrequired
  • shelfstring | nullrequired
  • status"received" | "picked_up" | "returned"required
  • loggedAtdatetimerequired
  • pickedUpAtdatetime | nullrequired
  • pickedUpBystring | nullrequired
  • pickupMethod"signature" | "code" | "staff_override" | nullrequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/packages?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"
POST/buildings/:buildingId/packages

Log 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

  • buildingIduuidpathrequired
  • Idempotency-Keystringheader

    Any unique string (a UUID): the same request sent again within 24 hours gets the first answer instead of running twice.

Body (JSON)

  • unitIduuid
  • unitNumberstring

    up to 20 characters

  • recipientNamestringrequired

    up to 120 characters

  • carrier"UPS" | "FedEx" | "USPS" | "Amazon" | "DHL" | "OnTrac" | "Other"required
  • trackingstring

    up to 60 characters

  • shelfstring

    Where it is: a shelf, or a locker number; up to 30 characters

  • notesstring

    up to 500 characters

Package

  • iduuidrequired
  • buildingIduuidrequired
  • unitIduuidrequired
  • unitNumberstring | nullrequired
  • recipientNamestringrequired
  • carrierstringrequired
  • trackingstring | nullrequired
  • shelfstring | nullrequired
  • status"received" | "picked_up" | "returned"required
  • loggedAtdatetimerequired
  • pickedUpAtdatetime | nullrequired
  • pickedUpBystring | nullrequired
  • pickupMethod"signature" | "code" | "staff_override" | nullrequired
  • updatedAtdatetimerequired
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":"…"}'
POST/buildings/:buildingId/packages/:packageId/pickup

Mark a package picked up.

Scope: packages:write · Success: 200 · { data: Package }

Parameters

  • buildingIduuidpathrequired
  • packageIduuidpathrequired
  • Idempotency-Keystringheader

    Any unique string (a UUID): the same request sent again within 24 hours gets the first answer instead of running twice.

Body (JSON)

  • pickedUpBystringrequired

    Who took it, or the locker that released it; up to 120 characters

  • method"code" | "staff_override"

    default "staff_override"

  • codestring

    The resident's 4-digit pickup code (method code)

Package

  • iduuidrequired
  • buildingIduuidrequired
  • unitIduuidrequired
  • unitNumberstring | nullrequired
  • recipientNamestringrequired
  • carrierstringrequired
  • trackingstring | nullrequired
  • shelfstring | nullrequired
  • status"received" | "picked_up" | "returned"required
  • loggedAtdatetimerequired
  • pickedUpAtdatetime | nullrequired
  • pickedUpBystring | nullrequired
  • pickupMethod"signature" | "code" | "staff_override" | nullrequired
  • updatedAtdatetimerequired
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":"…"}'
POST/buildings/:buildingId/locker-events

Send 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

  • buildingIduuidpathrequired
  • Idempotency-Keystringheader

    Any unique string (a UUID): the same request sent again within 24 hours gets the first answer instead of running twice.

Body (JSON)

  • idstringrequired

    up to 100 characters

  • type"parcel.deposited" | "parcel.picked_up" | "parcel.removed" | "parcel.code_changed" | "bank.status" | "test"required
  • occurredAtdatetime
  • bankobject
  • doorobject
  • parcelobject
  • codestring

    up to 64 characters

  • qrstring

    up to 512 characters

  • codeExpiresAtdatetime
  • status"ok" | "full" | "offline"
  • reason"returned_to_desk" | "courier_return" | "expired" | "other"

LockerEventResult

  • outcome"applied" | "duplicate" | "ignored" | "unmatched" | "error"required
  • packageIduuid | null
  • errorstring | null
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"}'

Visitors

GET/buildings/:buildingId/visitors

Visitors checked in at the desk.

Scope: visitors:read · Success: 200 · { data: Visit[], next }

Parameters

  • buildingIduuidpathrequired
  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

Visit

  • iduuidrequired
  • buildingIduuidrequired
  • unitIduuid | nullrequired
  • unitNumberstring | nullrequired
  • kind"guest" | "contractor" | "vendor_job" | "delivery"required
  • visitorNamestringrequired
  • companystring | nullrequired
  • arrivedAtdatetimerequired
  • departedAtdatetime | nullrequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/visitors?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"
GET/buildings/:buildingId/expected-visitors

Visitors the desk expects (guest and contractor passes).

Scope: visitors:read · Success: 200 · { data: ExpectedVisitor[], next }

Parameters

  • buildingIduuidpathrequired
  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

ExpectedVisitor

  • iduuidrequired
  • buildingIduuidrequired
  • unitIduuid | nullrequired
  • unitNumberstring | nullrequired
  • kind"guest" | "contractor" | "vendor_job"required
  • visitorNamestringrequired
  • companystring | nullrequired
  • windowStartdatetime | nullrequired
  • windowEnddatetime | nullrequired
  • instructionsstring | nullrequired
  • revokedAtdatetime | nullrequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/expected-visitors?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"
POST/buildings/:buildingId/visitors

Tell the desk to expect a visitor.

Scope: visitors:write · Success: 201 · { data: ExpectedVisitor }

Parameters

  • buildingIduuidpathrequired
  • Idempotency-Keystringheader

    Any unique string (a UUID): the same request sent again within 24 hours gets the first answer instead of running twice.

Body (JSON)

  • unitIduuid
  • unitNumberstring

    up to 20 characters

  • visitorNamestringrequired

    up to 120 characters

  • companystring

    up to 120 characters

  • kind"guest" | "contractor"

    default "guest"

  • windowStartdatetimerequired
  • windowEnddatetimerequired
  • instructionsstring

    up to 500 characters

ExpectedVisitor

  • iduuidrequired
  • buildingIduuidrequired
  • unitIduuid | nullrequired
  • unitNumberstring | nullrequired
  • kind"guest" | "contractor" | "vendor_job"required
  • visitorNamestringrequired
  • companystring | nullrequired
  • windowStartdatetime | nullrequired
  • windowEnddatetime | nullrequired
  • instructionsstring | nullrequired
  • revokedAtdatetime | nullrequired
  • updatedAtdatetimerequired
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":"…"}'

Maintenance

GET/buildings/:buildingId/requests

Maintenance requests.

Scope: requests:read · Success: 200 · { data: Request[], next }

Parameters

  • buildingIduuidpathrequired
  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

  • status"open" | "in_progress" | "resolved" | "cancelled"query

Request

  • iduuidrequired
  • buildingIduuidrequired
  • unitIduuid | nullrequired
  • unitNumberstring | nullrequired
  • areastring | nullrequired
  • titlestringrequired
  • descriptionstringrequired
  • categorystring | nullrequired
  • urgency"low" | "normal" | "urgent" | "emergency"required
  • status"open" | "in_progress" | "resolved" | "cancelled"required
  • createdAtdatetimerequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/requests?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"
POST/buildings/:buildingId/requests

Open a maintenance request (from a building system's alarm, for example).

Scope: requests:write · Success: 201 · { data: Request }

Parameters

  • buildingIduuidpathrequired
  • Idempotency-Keystringheader

    Any unique string (a UUID): the same request sent again within 24 hours gets the first answer instead of running twice.

Body (JSON)

  • unitIduuid
  • unitNumberstring

    up to 20 characters

  • areastring

    Where, when it isn't a unit ("Boiler room"); up to 120 characters

  • titlestringrequired

    up to 120 characters

  • descriptionstringrequired

    up to 4000 characters

  • categorystring

    up to 60 characters

  • urgency"low" | "normal" | "urgent" | "emergency"

Request

  • iduuidrequired
  • buildingIduuidrequired
  • unitIduuid | nullrequired
  • unitNumberstring | nullrequired
  • areastring | nullrequired
  • titlestringrequired
  • descriptionstringrequired
  • categorystring | nullrequired
  • urgency"low" | "normal" | "urgent" | "emergency"required
  • status"open" | "in_progress" | "resolved" | "cancelled"required
  • createdAtdatetimerequired
  • updatedAtdatetimerequired
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"}'
GET/requests/:requestId

One maintenance request.

Scope: requests:read · Success: 200 · { data: Request }

Parameters

  • requestIduuidpathrequired

Request

  • iduuidrequired
  • buildingIduuidrequired
  • unitIduuid | nullrequired
  • unitNumberstring | nullrequired
  • areastring | nullrequired
  • titlestringrequired
  • descriptionstringrequired
  • categorystring | nullrequired
  • urgency"low" | "normal" | "urgent" | "emergency"required
  • status"open" | "in_progress" | "resolved" | "cancelled"required
  • createdAtdatetimerequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/requests/$REQUEST_ID" \
  -H "Authorization: Bearer $LOBBY_API_KEY"
GET/buildings/:buildingId/work-orders

Work orders.

Scope: work_orders:read · Success: 200 · { data: WorkOrder[], next }

Parameters

  • buildingIduuidpathrequired
  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

  • status"open" | "assigned" | "dispatched" | "completed" | "closed" | "cancelled"query

WorkOrder

  • iduuidrequired
  • buildingIduuidrequired
  • requestIduuid | nullrequired
  • unitIduuid | nullrequired
  • titlestringrequired
  • priority"low" | "normal" | "urgent" | "emergency"required
  • status"open" | "assigned" | "dispatched" | "completed" | "closed" | "cancelled"required
  • vendorOrgIduuid | nullrequired
  • slaDueAtdatetime | nullrequired
  • closedAtdatetime | nullrequired
  • createdAtdatetimerequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/work-orders?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"

Amenities

GET/buildings/:buildingId/amenities

Amenities.

Scope: amenities:read · Success: 200 · { data: Amenity[], next }

Parameters

  • buildingIduuidpathrequired
  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

Amenity

  • iduuidrequired
  • buildingIduuidrequired
  • namestringrequired
  • descriptionstring | nullrequired
  • locationstring | nullrequired
  • capacityinteger | nullrequired
  • requiresApprovalbooleanrequired
  • feeCentsintegerrequired
  • depositCentsintegerrequired
  • activebooleanrequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/amenities?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"
GET/buildings/:buildingId/reservations

Amenity reservations.

Scope: reservations:read · Success: 200 · { data: Reservation[], next }

Parameters

  • buildingIduuidpathrequired
  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

  • status"pending" | "approved" | "declined" | "cancelled"query

Reservation

  • iduuidrequired
  • buildingIduuidrequired
  • amenityIduuidrequired
  • unitIduuid | nullrequired
  • unitNumberstring | nullrequired
  • bookedByNamestring | nullrequired
  • startsAtdatetimerequired
  • endsAtdatetimerequired
  • guestsinteger | nullrequired
  • status"pending" | "approved" | "declined" | "cancelled"required
  • createdAtdatetimerequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/reservations?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"

Communication

GET/buildings/:buildingId/announcements

Published announcements.

Scope: announcements:read · Success: 200 · { data: Announcement[], next }

Parameters

  • buildingIduuidpathrequired
  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

Announcement

  • iduuidrequired
  • buildingIduuidrequired
  • titlestringrequired
  • bodystringrequired
  • audience"building" | "floors" | "units" | "owners" | "tenants" | "board" | "staff"required
  • urgentbooleanrequired
  • publishedAtdatetimerequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/announcements?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"
GET/buildings/:buildingId/events

Published building events.

Scope: events:read · Success: 200 · { data: Event[], next }

Parameters

  • buildingIduuidpathrequired
  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

Event

  • iduuidrequired
  • buildingIduuidrequired
  • titlestringrequired
  • descriptionstring | nullrequired
  • startsAtdatetimerequired
  • endsAtdatetime | nullrequired
  • locationstring | nullrequired
  • capacityinteger | nullrequired
  • status"published" | "cancelled"required
  • publishedAtdatetime | nullrequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/events?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"

Money

GET/buildings/:buildingId/charges

Charges posted to units.

Scope: charges:read · Success: 200 · { data: Charge[], next }

Parameters

  • buildingIduuidpathrequired
  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

Charge

  • iduuidrequired
  • buildingIduuidrequired
  • unitIduuidrequired
  • unitNumberstring | nullrequired
  • kindstringrequired
  • descriptionstring | nullrequired
  • amountCentsintegerrequired
  • dueDatedate | nullrequired
  • voidedAtdatetime | nullrequired
  • createdAtdatetimerequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/charges?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"
GET/buildings/:buildingId/payments

Payments: amounts and status.

Scope: payments:read · Success: 200 · { data: Payment[], next }

Parameters

  • buildingIduuidpathrequired
  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

  • status"pending" | "processing" | "succeeded" | "failed" | "cancelled"query

Payment

  • iduuidrequired
  • buildingIduuidrequired
  • unitIduuidrequired
  • unitNumberstring | nullrequired
  • chargeIduuid | nullrequired
  • amountCentsintegerrequired
  • feeCentsintegerrequired
  • method"ach" | "card" | "check" | "cash" | "other"required
  • status"pending" | "processing" | "succeeded" | "failed" | "cancelled"required
  • paidAtdatetime | nullrequired
  • createdAtdatetimerequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/payments?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"

Documents

GET/buildings/:buildingId/documents

Documents (metadata only).

Scope: documents:read · Success: 200 · { data: Document[], next }

Parameters

  • buildingIduuidpathrequired
  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

Document

  • iduuidrequired
  • buildingIduuidrequired
  • titlestringrequired
  • categorystring | nullrequired
  • audience"everyone" | "owners" | "tenants" | "board" | "staff" | "public"required
  • currentVersionintegerrequired
  • archivedAtdatetime | nullrequired
  • createdAtdatetimerequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/buildings/$BUILDING_ID/documents?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"

Vendor jobs

GET/jobs

Jobs sent to the vendor (vendor keys).

Scope: jobs:read · Success: 200 · { data: Job[], next }

Parameters

  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

  • status"sent" | "accepted" | "declined" | "quoted" | "scheduled" | "on_site" | "completed" | "closed" | "cancelled"query

Job

  • iduuidrequired
  • workOrderIduuidrequired
  • buildingIduuidrequired
  • status"sent" | "accepted" | "declined" | "quoted" | "scheduled" | "on_site" | "completed" | "closed" | "cancelled"required
  • titlestring | nullrequired
  • descriptionstring | nullrequired
  • categorystring | nullrequired
  • urgencystring | nullrequired
  • buildingNamestring | nullrequired
  • addressstring | nullrequired
  • unitNumberstring | nullrequired
  • areastring | nullrequired
  • accessNotesstring | nullrequired
  • entryPermissionboolean | nullrequired
  • windowStartdatetime | nullrequired
  • windowEnddatetime | nullrequired
  • techNamestring | nullrequired
  • closedAtdatetime | nullrequired
  • createdAtdatetimerequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/jobs?limit=50" \
  -H "Authorization: Bearer $LOBBY_API_KEY"
GET/jobs/:jobId

One job (vendor keys).

Scope: jobs:read · Success: 200 · { data: Job }

Parameters

  • jobIduuidpathrequired

Job

  • iduuidrequired
  • workOrderIduuidrequired
  • buildingIduuidrequired
  • status"sent" | "accepted" | "declined" | "quoted" | "scheduled" | "on_site" | "completed" | "closed" | "cancelled"required
  • titlestring | nullrequired
  • descriptionstring | nullrequired
  • categorystring | nullrequired
  • urgencystring | nullrequired
  • buildingNamestring | nullrequired
  • addressstring | nullrequired
  • unitNumberstring | nullrequired
  • areastring | nullrequired
  • accessNotesstring | nullrequired
  • entryPermissionboolean | nullrequired
  • windowStartdatetime | nullrequired
  • windowEnddatetime | nullrequired
  • techNamestring | nullrequired
  • closedAtdatetime | nullrequired
  • createdAtdatetimerequired
  • updatedAtdatetimerequired
curl -s "https://<your app>/backend/api/v1/jobs/$JOB_ID" \
  -H "Authorization: Bearer $LOBBY_API_KEY"

Webhook subscriptions

GET/webhooks

The organization's webhook subscriptions.

Scope: webhooks:manage · Success: 200 · { data: Webhook[], next }

Parameters

  • limitintegerquery

    Page size, 1 to 100.

  • cursorstringquery

    The `next` value of the previous page.

  • updatedSincedatetimequery

    Only records changed at or after this time (for syncing).

Webhook

  • iduuidrequired
  • urlstringrequired
  • descriptionstring | nullrequired
  • eventsstring[]required
  • allBuildingsbooleanrequired
  • buildingIdsuuid[]required
  • personalDatabooleanrequired
  • status"active" | "disabled"required
  • createdAtdatetimerequired
  • secretstring

    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"
POST/webhooks

Subscribe 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

  • Idempotency-Keystringheader

    Any unique string (a UUID): the same request sent again within 24 hours gets the first answer instead of running twice.

Body (JSON)

  • urlstringrequired

    up to 2000 characters

  • descriptionstring | null
  • events"package.logged" | "package.picked_up" | "visitor.arrived" | "request.created" | "request.status_changed" | "work_order.completed" | "reservation.created" | "reservation.cancelled" | "announcement.published" | "event.published" | "charge.posted" | "payment.succeeded" | "resident.moved_in" | "resident.moved_out" | "job.dispatched"[]required
  • allBuildingsboolean

    default true

  • buildingIdsuuid[]

    default []

  • personalDataboolean

    default false

Webhook

  • iduuidrequired
  • urlstringrequired
  • descriptionstring | nullrequired
  • eventsstring[]required
  • allBuildingsbooleanrequired
  • buildingIdsuuid[]required
  • personalDatabooleanrequired
  • status"active" | "disabled"required
  • createdAtdatetimerequired
  • secretstring

    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}'
DELETE/webhooks/:webhookId

Delete a webhook subscription.

Scope: webhooks:manage · Success: 204

Parameters

  • webhookIduuidpathrequired
  • Idempotency-Keystringheader

    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"
Partner API · Lobbyline