Please note that your subscription plan determines the specific set of features available to you, which may result in differences between what you see and the images presented in this article. For further details on the features included in your plan, please contact your OfficeSpace Admin.
If you're looking to get data from OfficeSpace for custom reports or other purposes, you can do so with the OfficeSpace API.
GraphQL
RESTful
GraphQL
Many features of OfficeSpace can be queried through the API using GraphQL, including Seat and Room Bookings, Request Manager, Moves, and Safeguard. You can create an API key for use with GraphQL in Admin.
Example GraphQL Query
{
booking {
id
checkInTime
checkOutTime
isCanceled
employee {
id
fullName
}
seat {
id
floor {
id
siteId
}
}
}
}
If you're looking for more information on individual queries that you can make with GraphQL, you can find it in the GraphiQL API Documentation (add /api/base/graphiql following your subdomain URL in your browser).

You can also access the documentation from the API Key page in OfficeSpace, under API Keys.

RESTful
OfficeSpace features support for the REST set of constraints. You can use the RESTful API to get information about sites, floors, seats, seat bookings, and more. As with GraphQL, you can create an API key for use with the RESTful API in Admin. You will see RESTful referred to as the Legacy API in some areas of OfficeSpace, as we are transitioning to the GraphQL API architecture.
Example REST Request
GET api/1/seat_bookings
If you're looking for more examples of requests that can be sent using RESTful, please see the Legacy OfficeSpace API documentation. This documentation is accessible from the API Key page, under Legacy API Keys.
