curl -X POST " https://api.playground.try.be/shop/session-bookings/5dcb47800000000000000000/check-in " \
-H " Authorization: Bearer YOUR_API_KEY " \
-H " Accept: application/json " \
-H " Content-Type: application/json " \
-d ' {
"is_checked_in": true
} ' const response = await fetch ( ' https://api.playground.try.be/shop/session-bookings/5dcb47800000000000000000/check-in ' , {
method : ' POST ' ,
headers : {
Authorization : ' Bearer YOUR_API_KEY ' ,
' Content-Type ' : ' application/json ' ,
Accept : ' application/json ' ,
},
body : JSON . stringify ( {
" is_checked_in " : true
} ) ,
} )
if ( ! response . ok ) {
throw new Error ( ` Trybe API ${ response . status } : ${ await response . text () }` )
}
const data = await response . json () import httpx
response = httpx . post (
" https://api.playground.try.be/shop/session-bookings/5dcb47800000000000000000/check-in " ,
headers = {
" Authorization " : " Bearer YOUR_API_KEY " ,
" Accept " : " application/json " ,
" Content-Type " : " application/json " ,
},
json = {
" is_checked_in " : True
},
)
response . raise_for_status ()
data = response . json () <? php
$ client = new \ GuzzleHttp \ Client ();
$ response = $ client -> request ( ' POST ' , ' https://api.playground.try.be/shop/session-bookings/5dcb47800000000000000000/check-in ' , [
' headers ' => [
' Authorization ' => ' Bearer YOUR_API_KEY ' ,
' Accept ' => ' application/json ' ,
' Content-Type ' => ' application/json ' ,
],
' json ' => [
' is_checked_in ' => true
],
]);
$ data = json_decode ($ response -> getBody (), true ); package main
import (
" bytes "
" encoding/json "
" net/http "
)
func main () {
payload , _ := json . Marshal ( map [ string ] interface {}{
" is_checked_in " : true ,
})
req , _ := http . NewRequest ( " POST " , " https://api.playground.try.be/shop/session-bookings/5dcb47800000000000000000/check-in " , bytes . NewBuffer ( payload ))
req . Header . Set ( " Authorization " , " Bearer YOUR_API_KEY " )
req . Header . Set ( " Accept " , " application/json " )
req . Header . Set ( " Content-Type " , " application/json " )
resp , err := http . DefaultClient . Do ( req )
if err != nil {
panic ( err )
}
defer resp . Body . Close ()
var data map [ string ] interface {}
json . NewDecoder ( resp . Body ). Decode ( & data )
} 200 400 401 403 404 422
A single `SessionBooking`.
{
" data " : {
" id " : " 5dcb47800000000000000000 " ,
" checked_in_at " : " 2022-03-02T09:00:00+00:00 " ,
" customer_id " : " 5dcb47800000000000000020 " ,
" email " : " janedoe@example.com " ,
" first_name " : " Jane " ,
" guests " : [
{
" id " : " 5dcb47800000000000000000 " ,
" checked_in_at " : " 2025-10-01T12:00:00+00:00 " ,
" checked_out_at " : " 2025-10-01T16:30:00+00:00 " ,
" customer_id " : " 5f8a1b2c-9d3e-4a5b-8c6d-7e8f9a0b1c2d " ,
" email " : " jane.doe@example.com " ,
" first_name " : " Jane " ,
" intake_form_submission_id " : " 5dcb47800000000000000010 " ,
" intake_form_complete " : false ,
" is_lead_booker " : true ,
" last_name " : " Doe " ,
" name " : " Jane Doe "
}
],
" intake_forms_completed " : false ,
" intake_form_required " : true ,
" is_no_show " : true ,
" last_name " : " Doe " ,
" order_id " : " 5dcb47800000000000000009 " ,
" order_item_id " : " 5dcb47800000000000000019 " ,
" order_ref " : " TRY00 " ,
" organisation_id " : " 00000000-0000-0000-0000-000000000000 " ,
" phone " : " +447727123456 " ,
" session_id " : " 5dcb47800000000000001111 " ,
" session_type_id " : " 5dcb47800000000000001234 " ,
" session_type_name " : " Spa access " ,
" site_id " : " 00000000-0000-0000-0000-111111111111 " ,
" stage " : " not_arrived " ,
" status " : " none " ,
" created_at " : " 2026-01-15T09:30:00+00:00 " ,
" updated_at " : " 2026-01-15T09:30:00+00:00 "
}
} {
" message " : " Unauthenticated "
} {
" message " : " This action is unauthorized. "
} {
" message " : " The requested resource could not be found "
} {
" errors " : {},
" message " : " The request didn't pass validation "
}