Cookies help us deliver our services. By using our services, you agree to our use of cookies.
GET https://sudomain.cobot.me/api/booking_credits

This returns the number of remaining booking credits for a member.

Authentication required:
yes, additionally user must be a space member
Scope required
read_booking_credits
GET https://co-up.cobot.me/api/booking_credits

{
  "<resource_id>": {
    "total_hours": "10",
    "hours_remaining": "8.5",
    "resource_name": "Room",
    "price_per_hour": "15.0"
  }
}
GET https://subdomain.cobot.me/api/memberships/:membership_id/booking_credits

This returns the number of remaining booking credits for a member.

Authentication required:
yes, additionally user must be a space admin
Scope required
read_booking_credits
GET https://co-up.cobot.me/api/memberships/4305876/booking_credits

Response:

{
  "<resource_id>": {
    "total_hours": "10",
    "hours_remaining": "8.5",
    "resource_name": "Room",
    "price_per_hour": "15.0"
  }
}

back to index