---
updatedAt: 2026-08-03T21:02:51.000Z
agentTools:
  projectIndex: https://developers.envoy.com/hub/llms.txt
---

# Get reservations

Retrieve a list of reservations limited to a maximum of 30 days' worth of data.

# OpenAPI definition

```json
{
  "openapi": "3.0.3",
  "info": {
    "title": "Spaces API",
    "version": "0.1.0",
    "description": "The REST interface for the Envoy Spaces API and Rooms API."
  },
  "paths": {
    "/v1/reservations": {
      "get": {
        "operationId": "reservations",
        "description": "Retrieve a list of reservations limited to a maximum of 30 days' worth of data.",
        "parameters": [
          {
            "name": "floorIds",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ID"
              }
            },
            "description": "Return reservations for specific floors by providing floorIds in a comma-seperated list."
          },
          {
            "name": "neighborhoodIds",
            "in": "query",
            "required": false,
            "schema": {
              "type": "array",
              "items": {
                "$ref": "#/components/schemas/ID"
              }
            },
            "description": "Return reservations for specific neighborhoods by providing neighborhoodIds in a comma-seperated list."
          },
          {
            "name": "emails",
            "in": "query",
            "required": false,
            "description": "A comma-separated list of emails. Allows lookup for multiple reservation's by emails at once.",
            "schema": {
              "allOf": [
                {},
                {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/String",
                    "type": "string"
                  }
                }
              ]
            }
          },
          {
            "name": "startTime",
            "in": "query",
            "required": false,
            "schema": {
              "allOf": [
                {},
                {
                  "$ref": "#/components/schemas/Date"
                }
              ],
              "type": "string"
            },
            "description": "The time (UTC) of when the reservation was set to start. If no time is provided this will default to 14 days prior to the current UTC time."
          },
          {
            "name": "endTime",
            "in": "query",
            "required": false,
            "schema": {
              "allOf": [
                {},
                {
                  "$ref": "#/components/schemas/Date"
                }
              ],
              "type": "string"
            },
            "description": "The time (UTC) of when the reservation was set to end. If no time is provided this will default to 14 days after the current UTC time."
          },
          {
            "name": "startDate",
            "in": "query",
            "required": false,
            "deprecated": true,
            "schema": {
              "allOf": [
                {},
                {
                  "$ref": "#/components/schemas/Date"
                }
              ],
              "type": "string"
            },
            "description": "The start of the search period formatted as (YYYY-MM-DD). Deprecated, please use the startTime filter for this purpose instead."
          },
          {
            "name": "endDate",
            "in": "query",
            "required": false,
            "deprecated": true,
            "schema": {
              "allOf": [
                {},
                {
                  "$ref": "#/components/schemas/Date"
                }
              ],
              "type": "string"
            },
            "description": "The end of the search period formatted as  (YYYY-MM-DD). Deprecated, please use the endTime filter for this purpose instead."
          },
          {
            "name": "status",
            "in": "query",
            "required": false,
            "schema": {
              "allOf": [
                {},
                {
                  "type": "array",
                  "items": {
                    "$ref": "#/components/schemas/status"
                  }
                }
              ],
              "enum": [
                "PENDING",
                "ACTIVE",
                "COMPLETED"
              ],
              "type": "string"
            },
            "description": "The current status of the reservation in the approval chain. Possible values are \"PENDING\", \"ACTIVE\", and \"COMPLETED\"."
          },
          {
            "schema": {
              "type": "string",
              "enum": [
                "DESK",
                "ROOM"
              ]
            },
            "in": "query",
            "name": "type",
            "description": "Filters for type of Space. Current possible options are \"DESK\" or \"ROOM\"."
          },
          {
            "schema": {
              "type": "string"
            },
            "in": "query",
            "name": "page",
            "description": "Controls which page is returned in the results. Use with perPage."
          },
          {
            "schema": {
              "type": "number"
            },
            "in": "query",
            "name": "perPage",
            "description": "Controls how many results to show in each page of the results. Use with page."
          }
        ],
        "security": [
          {
            "oauth2": [
              "reservations.read",
              "spaces.read",
              "employees.read"
            ]
          },
          {
            "ApiKeyAuth": []
          }
        ],
        "responses": {
          "200": {
            "description": "",
            "content": {
              "application/json": {
                "schema": {
                  "type": "object",
                  "required": [
                    "data"
                  ],
                  "properties": {
                    "data": {
                      "type": "array",
                      "items": {
                        "$ref": "#/components/schemas/Reservation"
                      }
                    },
                    "meta": {
                      "type": "object",
                      "properties": {
                        "relationships": {
                          "type": "array",
                          "description": "Optional relationships to load with the `relationships` query param.",
                          "items": {
                            "type": "string"
                          }
                        },
                        "messages": {
                          "type": "array",
                          "description": "Optional scope information.",
                          "items": {
                            "type": "string"
                          }
                        }
                      }
                    }
                  }
                },
                "examples": {
                  "example": {
                    "value": {
                      "data": [
                        {
                          "id": "string",
                          "startTime": "2019-08-24T14:15:22Z",
                          "endTime": "2019-08-24T14:15:22Z",
                          "checkedInAt": "2019-08-24T14:15:22Z",
                          "checkedOutAt": "2019-08-24T14:15:22Z",
                          "space": {
                            "id": "1000",
                            "name": "AE100",
                            "type": "DESK",
                            "createdAt": "2019-08-24T14:15:22Z",
                            "updatedAt": "2019-08-24T14:15:22Z",
                            "isAvailable": true,
                            "assignedTo": "desk@envoy.com",
                            "locationId": "12000",
                            "floorId": "1991",
                            "floorName": "3rd floor",
                            "neighborhoodId": "9831",
                            "neighborhoodName": "Developer Way"
                          },
                          "status": "PENDING",
                          "reservedBy": {
                            "name": "John",
                            "email": "Snow"
                          }
                        }
                      ],
                      "meta": {
                        "relationships": [
                          "string"
                        ],
                        "messages": [
                          "string"
                        ]
                      }
                    }
                  }
                }
              }
            }
          },
          "default": {
            "description": ""
          }
        },
        "tags": [
          "Reservations"
        ],
        "summary": "Get reservations"
      }
    }
  },
  "components": {
    "schemas": {
      "ID": {
        "type": "string",
        "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID."
      },
      "String": {
        "type": "string",
        "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text."
      },
      "Boolean": {
        "type": "boolean",
        "description": "The `Boolean` scalar type represents `true` or `false`."
      },
      "Reservation": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The unique identifier of the reservation."
              },
              {
                "$ref": "#/components/schemas/ID"
              }
            ]
          },
          "startTime": {
            "allOf": [
              {
                "description": "The time at which this reservation starts."
              },
              {
                "$ref": "#/components/schemas/DateTime"
              }
            ]
          },
          "endTime": {
            "allOf": [
              {
                "description": "The time at which this reservation ends."
              },
              {
                "$ref": "#/components/schemas/DateTime"
              }
            ]
          },
          "checkedInAt": {
            "allOf": [
              {
                "description": "The time at which someone checked in for this reservation."
              },
              {
                "$ref": "#/components/schemas/DateTime"
              }
            ]
          },
          "checkedOutAt": {
            "allOf": [
              {
                "description": "The time at which someone checked out for this reservation."
              },
              {
                "$ref": "#/components/schemas/DateTime"
              }
            ]
          },
          "space": {
            "allOf": [
              {
                "description": "The space for which this reservation reserves."
              },
              {
                "$ref": "#/components/schemas/Space"
              }
            ]
          },
          "status": {
            "allOf": [
              {
                "description": "The status of this reservation. (active, pending, completed)"
              },
              {
                "$ref": "#/components/schemas/status"
              }
            ]
          },
          "reservedBy": {
            "allOf": [
              {
                "description": "The employee who reserved this space."
              },
              {
                "$ref": "#/components/schemas/ReservationReservedBy"
              }
            ]
          }
        },
        "required": [
          "id"
        ],
        "description": "A reservation for a space."
      },
      "ReservationReservedBy": {
        "type": "object",
        "properties": {
          "name": {
            "allOf": [
              {
                "description": ""
              },
              {
                "$ref": "#/components/schemas/String",
                "type": "string"
              }
            ]
          },
          "email": {
            "allOf": [
              {
                "description": ""
              },
              {
                "$ref": "#/components/schemas/String",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "email"
        ]
      },
      "status": {
        "type": "string",
        "anyOf": [
          {
            "enum": [
              "PENDING"
            ],
            "title": "A reservation is pending when the start time is in the future.",
            "description": "A reservation is pending when the start time is in the future."
          },
          {
            "enum": [
              "ACTIVE"
            ],
            "title": "A reservation is active when the start time is in the past and the end time is in the future, and when there is no checkout time. ",
            "description": "A reservation is active when the start time is in the past and the end time is in the future, and when there is no checkout time. "
          },
          {
            "enum": [
              "COMPLETED"
            ],
            "title": "A reservation is completed when there is a checkout for this reservation, or the reservation end time is in the past.",
            "description": "A reservation is completed when there is a checkout for this reservation, or the reservation end time is in the past."
          }
        ]
      },
      "Space": {
        "type": "object",
        "properties": {
          "id": {
            "allOf": [
              {
                "description": "The unique identifier of the space."
              },
              {
                "$ref": "#/components/schemas/ID"
              }
            ]
          },
          "name": {
            "allOf": [
              {
                "description": "A short descriptor or label of the space. This is displayed to the user when they reserve or find a space."
              },
              {
                "$ref": "#/components/schemas/String",
                "type": "string"
              }
            ]
          },
          "type": {
            "allOf": [
              {
                "description": "A categorical descriptor of the space like DESK or ROOM."
              },
              {
                "$ref": "#/components/schemas/SpaceType"
              }
            ]
          },
          "createdAt": {
            "allOf": [
              {
                "description": "The date and time (ISO 8601 format) when the space was created."
              },
              {
                "$ref": "#/components/schemas/DateTime"
              }
            ]
          },
          "updatedAt": {
            "allOf": [
              {
                "description": "The date and time (ISO 8601 format) when the space was last updated."
              },
              {
                "$ref": "#/components/schemas/DateTime"
              }
            ]
          },
          "isAvailable": {
            "allOf": [
              {
                "description": "Denotes whether the space is currently occupied or free."
              },
              {
                "$ref": "#/components/schemas/Boolean",
                "type": "boolean"
              }
            ]
          },
          "assignedTo": {
            "allOf": [
              {
                "description": "The assigned user's email if the space is pre-assigned. If a space is assigned to a user reservations can only be created by the assigned user."
              },
              {
                "$ref": "#/components/schemas/String",
                "type": "string"
              }
            ]
          },
          "locationId": {
            "allOf": [
              {
                "description": "The unique identifier of the location the space belongs to."
              },
              {
                "$ref": "#/components/schemas/ID"
              }
            ]
          },
          "floorId": {
            "allOf": [
              {
                "description": "The unique identifier of the level / floor within the location that the space belongs to."
              },
              {
                "$ref": "#/components/schemas/ID"
              }
            ]
          },
          "floorName": {
            "allOf": [
              {
                "description": "A short descriptor of the floor that the space belongs to. This is displayed to the user when they reserve or find a space."
              },
              {
                "$ref": "#/components/schemas/String",
                "type": "string"
              }
            ]
          },
          "neighborhoodId": {
            "allOf": [
              {
                "description": "The unique identifier of the zone or collection of spaces / neighborhoods that the space belongs to."
              },
              {
                "$ref": "#/components/schemas/ID"
              }
            ]
          },
          "neighborhoodName": {
            "allOf": [
              {
                "description": "A short descriptor of the neighborhood that the space belongs to."
              },
              {
                "$ref": "#/components/schemas/String",
                "type": "string"
              }
            ]
          }
        },
        "required": [
          "id",
          "name",
          "type",
          "createdAt",
          "updatedAt",
          "locationId",
          "floorId",
          "floorName"
        ],
        "description": "An area of a floor for a building like a conference room, desk, or lobby."
      },
      "SpaceType": {
        "type": "string",
        "anyOf": [
          {
            "enum": [
              "DESK",
              "ROOM"
            ],
            "title": "DESK"
          }
        ]
      },
      "Date": {
        "type": "object",
        "description": "A date string, such as 2007-12-03, compliant with the `full-date` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar."
      },
      "DateTime": {
        "type": "string",
        "description": "A date-time string at UTC, such as 2007-12-03T10:15:30Z, compliant with the `date-time` format outlined in section 5.6 of the RFC 3339 profile of the ISO 8601 standard for representation of dates and times using the Gregorian calendar.",
        "format": "date-time"
      }
    },
    "securitySchemes": {
      "oauth2": {
        "type": "oauth2",
        "flows": {
          "authorizationCode": {
            "authorizationUrl": "/authorize",
            "tokenUrl": "/token",
            "scopes": {
              "flows.read": "read flows",
              "agreements.read": "read agreements",
              "employees.read": "read employees",
              "entries.read": "read entries",
              "invites.read": "read invites",
              "locations.read": "read locations",
              "reservations.read": "read reservations",
              "spaces.read": "read spaces",
              "sign-in-fields.read": "read sign-in-fields",
              "signed-documents.read": "read signed-documents",
              "reservations.write": "write reservations"
            }
          }
        }
      },
      "ApiKeyAuth": {
        "type": "apiKey",
        "in": "header",
        "name": "X-API-Key"
      }
    }
  },
  "x-readme": {
    "explorer-enabled": true,
    "proxy-enabled": true,
    "samples-enabled": true
  },
  "servers": [
    {
      "url": "https://api.envoy.com",
      "description": ""
    }
  ]
}
```