Get a booking
Beta
Gets one booking of your organization by id. Bookings of guests and of users without an active seat are not found.
AuthorizationBearer <pult_<base62>>An API key created by an admin of your organization in the Pult dashboard, sent as Authorization: Bearer <key>. Keys start with pult_.
bookingId*stringThe booking's id.
OK
application/json- response
data*A workplace booking: one person, one day or half-day, one type.
curl -X GET 'https://api.pult.com/v1beta/bookings/string' \ -H 'Authorization: Bearer pult_<key>'{ "data": { "id": "string", "user": { "id": "string", "email": "string", "firstName": "string", "lastName": "string" }, "date": "2019-08-24", "period": "full_day", "type": "office", "category": "work", "approvalStatus": "approved", "office": { "id": "string", "name": "string" } }}List offices GET
Lists your organization's offices, sorted by id. Active offices by default; archived ones with `status=archived`.
List bookings GET
Lists the bookings of a window of at most 31 days, sorted by date and stable within a date. Users with an active seat are included, archived users too; guests are not. A denied office request shows as a home booking, approved. Deleted and cancelled bookings no longer appear; re-read a recent window to see changes.