Coach Availability
Use the coachAvailability query to retrieve a list of available time slots for scheduling a meeting with a coach (or multiple coaches), based on the specified appointment type.
Arguments
Argument
Type
Description
appointmentType
ID!
ID of the appointment type.
start
DateTime!
Set start date to retrieve results. YYYY-MM-DDT hh:mm:ss
end
DateTime!
Set end date to retrieve results. YYYY-MM-DDT hh:mm:ss
coaches
[ID]
ID of the coach or coaches.
Available Fields
Field
Type
Description
start
DateTime!
Start date and time of the available block YYYY-MM-DDT hh:mm:ss
end
DateTime!
End date and time of the available blockYYYY-MM-DDT hh:mm:ss
Example
query{
coachAvailability(
appointmentType:"QXBwb2ludG11brRUeXBlOjEwNTc="
start:"2025-09-18"
end:"2025-10-15"
){
start
end
coaches{
name
email
id
}
}
}{
"data": {
"coachAvailability": [
{
"start": "2025-10-09T22:00:00+00:00",
"end": "2025-10-09T22:30:00+00:00",
"coaches": [
{
"name": "Alex Morgan",
"email": "[email protected]",
"id": "Q29hY2g6MDAwMDE="
}
]
},
{
"start": "2025-10-09T22:30:00+00:00",
"end": "2025-10-09T23:00:00+00:00",
"coaches": [
{
"name": "Alex Morgan",
"email": "[email protected]",
"id": "Q29hY2g6MDAwMDE="
}
]
},
{
"start": "2025-10-11T15:00:00+00:00",
"end": "2025-10-11T15:30:00+00:00",
"coaches": [
{
"name": "Alex Morgan",
"email": "[email protected]",
"id": "Q29hY2g6MDAwMDE="
}
]
},
{
"start": "2025-10-11T15:30:00+00:00",
"end": "2025-10-11T16:00:00+00:00",
"coaches": [
{
"name": "Alex Morgan",
"email": "[email protected]",
"id": "Q29hY2g6MDAwMDE="
}
]
},
{
"start": "2025-10-11T16:00:00+00:00",
"end": "2025-10-11T16:30:00+00:00",
"coaches": [
{
"name": "Alex Morgan",
"email": "[email protected]",
"id": "Q29hY2g6MDAwMDE="
}
]
},
{
"start": "2025-10-11T16:30:00+00:00",
"end": "2025-10-11T17:00:00+00:00",
"coaches": [
{
"name": "Alex Morgan",
"email": "[email protected]",
"id": "Q29hY2g6MDAwMDE="
}
]
},
{
"start": "2025-10-11T17:00:00+00:00",
"end": "2025-10-11T17:30:00+00:00",
"coaches": [
{
"name": "Alex Morgan",
"email": "[email protected]",
"id": "Q29hY2g6MDAwMDE="
}
]
},
{
"start": "2025-10-11T17:30:00+00:00",
"end": "2025-10-11T18:00:00+00:00",
"coaches": [
{
"name": "Alex Morgan",
"email": "[email protected]",
"id": "Q29hY2g6MDAwMDE="
}
]
},
{
"start": "2025-10-11T18:00:00+00:00",
"end": "2025-10-11T18:30:00+00:00",
"coaches": [
{
"name": "Alex Morgan",
"email": "[email protected]",
"id": "Q29hY2g6MDAwMDE="
}
]
},
{
"start": "2025-10-11T18:30:00+00:00",
"end": "2025-10-11T19:00:00+00:00",
"coaches": [
{
"name": "Alex Morgan",
"email": "[email protected]",
"id": "Q29hY2g6MDAwMDE="
}
]
},
{
"start": "2025-10-14T15:30:00+00:00",
"end": "2025-10-14T16:00:00+00:00",
"coaches": [
{
"name": "Taylor Brooks",
"email": "[email protected]",
"id": "Q29hY2g6MDAwMDI="
}
]
},
{
"start": "2025-10-14T16:30:00+00:00",
"end": "2025-10-14T17:00:00+00:00",
"coaches": [
{
"name": "Taylor Brooks",
"email": "[email protected]",
"id": "Q29hY2g6MDAwMDI="
}
]
},
{
"start": "2025-10-14T18:00:00+00:00",
"end": "2025-10-14T18:30:00+00:00",
"coaches": [
{
"name": "Taylor Brooks",
"email": "[email protected]",
"id": "Q29hY2g6MDAwMDI="
}
]
}
]
}
}Last updated
Was this helpful?