v1

latestOpenAPI 3.0.0Apache 2.02026-07-143281,4552.1 MB
Bookings

BulkRetrieveTeamMemberBookingProfiles

Retrieves one or more team members' booking profiles.

post/v2/bookings/team-member-booking-profiles/bulk-retrieve

Request body

team_member_idsstring[] required

A non-empty list of IDs of team members whose booking profiles you want to retrieve.

Response

Success

team_member_booking_profilesobject

The returned team members' booking profiles, as a map with team_member_id as the key and TeamMemberBookingProfile the value.

Example response

{
  "errors": [],
  "team_member_booking_profiles": {
    "TMXUrsBWWcHTt79t": {
      "errors": [
        {
          "category": "INVALID_REQUEST_ERROR",
          "code": "NOT_FOUND",
          "detail": "Resource not found."
        }
      ]
    },
    "TMaJcbiRqPIGZuS9": {
      "errors": [],
      "team_member_booking_profile": {
        "display_name": "Sandbox Staff 1",
        "is_bookable": true,
        "team_member_id": "TMaJcbiRqPIGZuS9"
      }
    },
    "TMtdegug1fqni3wh": {
      "errors": [],
      "team_member_booking_profile": {
        "display_name": "Sandbox Staff 2",
        "is_bookable": true,
        "team_member_id": "TMtdegug1fqni3wh"
      }
    }
  }
}