GET https://sudomain.cobot.me/api/membership/booking_passes

This returns the number of remaining pass hours for a member.

Authentication required:
yes, additionally user must be a space member
Scope required
read_booking_passes

Returns 404 if member's plan does not support booking passes.

GET https://co-up.cobot.me/api/membership/booking_passes

{
  "<resource_id>": {
    "hours_remaining": "8.5",
    "resource_name": "Room"
  }
}
GET https://subdomain.cobot.me/api/memberships/:membership_id/booking_passes

This returns the number of remaining booking pass hours for a member.

Authentication required:
yes, additionally user must be a space admin
Scope required
read_booking_passes

Returns 404 if member's plan does not support booking passes.

GET https://co-up.cobot.me/api/memberships/4305876/booking_passes

Response:

{
  "<resource_id>": {
    "hours_remaining": "8.5",
    "resource_name": "Room"
  }
}

back to index