Skip to main content
GET
/
api
/
public
/
bookings
/
team
{
  "Records": [
    {}
  ],
  "CurrentPage": 123,
  "TotalItems": 123,
  "TotalPages": 123,
  "HasNextPage": true,
  "HasPreviousPage": true
}

Team Bookings

Returns active bookings for all members of the authenticated customer’s team. Team administrators use this to see and manage their team’s resource usage.

Authentication

Requires a valid customer bearer token. The customer must be a team member or administrator.

Query Parameters

_shape
string
Comma-separated list of field paths to include in the response. When provided, only the specified fields are returned — useful for reducing payload size. Supports nested paths using dot notation. Example: _shape=Records.ResourceName,Records.FromTime,Records.ToTime,TotalItems.

Response

Returns a MyBookings object (ApiListResult<Booking>) — a paginated wrapper containing an array of team booking records.
Records
Booking[]
Array of booking objects for the current page.
CurrentPage
number
Current page number (1-based).
TotalItems
number
Total number of team bookings.
TotalPages
number
Total number of pages.
HasNextPage
boolean
Whether there are more pages after the current one.
HasPreviousPage
boolean
Whether there are pages before the current one.

Examples

Fetch team bookings

GET /api/public/bookings/team
Authorization: Bearer {token}

TypeScript Integration

import endpoints from '@/api/endpoints'
import { MyBookings } from '@/types/endpoints/MyBookings'
import { useData } from '@/api/fetchData'

const { resource: data } = useData<MyBookings>(httpClient, endpoints.bookings.team)