Pult Docs
ReferenceBookings

Get a booking

Beta

GET
/bookings/{bookingId}

Gets one booking of your organization by id. Bookings of guests and of users without an active seat are not found.

Authorization

headerAuthorizationBearer <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_.

Path Parameters

bookingId*string

The booking's id.

Response Body

OK

application/json
  1. response
data*

A workplace booking: one person, one day or half-day, one type.

Example Request
curl -X GET 'https://api.pult.com/v1beta/bookings/string' \  -H 'Authorization: Bearer pult_<key>'
Example Response
{  "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"    }  }}