Codinzy free trial class booking
Find free times and book a free trial of Codinzy's live online AI and coding classes for kids 5-17.
Should I use this
Quality & Safety
Based on automated analysis of tool definitions and protocol compliance.
Context Cost
This is the approximate number of tokens consumed each time the server's tools are loaded into a model's context. Higher counts reduce the attention available for other tasks.
Install
One-Click Install
Add this to your `claude_desktop_config.json` file:
{
"mcpServers": {
"trial-booking": {
"url": "https://codinzy.com/mcp"
}
}
}Remote endpoints
https://codinzy.com/mcpstreamable-httpWhat it can do
Tool inventory
Tools (7)
🟢list_courses
Codinzy's public course catalogue for kids and teens aged 5-17 (grades 1-12): each course's name, ages, grades, number of lessons, a short description and its page, the coding camps, and the website's prices per class (Plus, Pro, Prime, with the 25% scholarship). Read only. Use it to suggest a course; then help the parent book a free trial class with get_free_trial_times.
Input Schema
{
"type": "object",
"properties": {},
"title": "list_coursesArguments"
}Output Schema
{
"type": "object",
"properties": {
"courses": {
"items": {
"$ref": "#/$defs/Course"
},
"title": "Courses",
"type": "array"
},
"camps": {
"description": "Coding camps: about 1 to 1.5 months, Prime 1-on-1 only",
"items": {
"$ref": "#/$defs/Course"
},
"title": "Camps",
"type": "array"
},
"prices": {
"$ref": "#/$defs/Prices"
},
"free_trial": {
"title": "Free Trial",
"type": "string"
},
"book_free_trial": {
"description": "Next step: call get_free_trial_times with the grade and country",
"title": "Book Free Trial",
"type": "string"
}
},
"required": [
"courses",
"camps",
"prices",
"free_trial",
"book_free_trial"
],
"$defs": {
"Course": {
"properties": {
"name": {
"description": "Course name as on codinzy.com",
"title": "Name",
"type": "string"
},
"page_url": {
"description": "The course page on codinzy.com",
"title": "Page Url",
"type": "string"
},
"ages": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Age range, e.g. \"8-12\"",
"title": "Ages"
},
"grades": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "School grades, e.g. \"3-7\"",
"title": "Grades"
},
"lessons": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"description": "Number of live lessons",
"title": "Lessons"
},
"duration": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "How long the course runs",
"title": "Duration"
},
"about": {
"default": "",
"description": "Short description",
"title": "About",
"type": "string"
},
"category": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Category"
},
"certificate": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Certificate earned at the end, if any",
"title": "Certificate"
},
"format": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Class format when fixed (camps: private 1-on-1)",
"title": "Format"
}
},
"required": [
"name",
"page_url"
],
"title": "Course",
"type": "object"
},
"PlanPrice": {
"properties": {
"plan": {
"title": "Plan",
"type": "string"
},
"class_type": {
"title": "Class Type",
"type": "string"
},
"lesson_minutes": {
"title": "Lesson Minutes",
"type": "integer"
},
"regular_per_class_usd": {
"title": "Regular Per Class Usd",
"type": "string"
},
"with_scholarship_usd": {
"title": "With Scholarship Usd",
"type": "string"
}
},
"required": [
"plan",
"class_type",
"lesson_minutes",
"regular_per_class_usd",
"with_scholarship_usd"
],
"title": "PlanPrice",
"type": "object"
},
"Prices": {
"properties": {
"currency": {
"const": "USD",
"default": "USD",
"title": "Currency",
"type": "string"
},
"scholarship_percent": {
"title": "Scholarship Percent",
"type": "integer"
},
"plans": {
"items": {
"$ref": "#/$defs/PlanPrice"
},
"title": "Plans",
"type": "array"
},
"note": {
"title": "Note",
"type": "string"
}
},
"required": [
"scholarship_percent",
"plans",
"note"
],
"title": "Prices",
"type": "object"
}
},
"title": "CourseCatalogue"
}🟢get_free_trial_times(grade, country, timezone, days, utm_source)
The free trial class times a Codinzy tutor has for a child, in the family's time zone: the same times the booking page offers that child. Needs the child's school grade (1-12) and the country the family lives in. Each time has a `slot_token` (valid 6 hours): when the parent picks a time, pass it to create_booking_link (the parent books on the page) or, with the parent's go-ahead, to request_trial_booking. Read only: nothing is booked or held, and times can fill up.
Input Schema
{
"type": "object",
"properties": {
"grade": {
"description": "The child's school grade, 1-12 (under grade 1: 1)",
"maximum": 12,
"minimum": 1,
"title": "Grade",
"type": "integer"
},
"country": {
"description": "Where the family lives: ISO 3166-1 alpha-2 code (BD, US, GB, IN, AE, ...) or the country name",
"maxLength": 60,
"minLength": 2,
"title": "Country",
"type": "string"
},
"timezone": {
"anyOf": [
{
"maxLength": 64,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "IANA time zone for the times, e.g. Asia/Dhaka (default: the country's main zone)",
"title": "Timezone"
},
"days": {
"default": 7,
"description": "How many days ahead, 1-14",
"maximum": 14,
"minimum": 1,
"title": "Days",
"type": "integer"
},
"utm_source": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Who is asking, kept in the links for attribution, e.g. chatgpt.com, claude.ai",
"title": "Utm Source"
}
},
"required": [
"grade",
"country"
],
"title": "get_free_trial_timesArguments"
}Output Schema
{
"type": "object",
"properties": {
"grade": {
"title": "Grade",
"type": "integer"
},
"grade_band": {
"description": "\"1-5\" or \"6-12\"",
"title": "Grade Band",
"type": "string"
},
"fits": {
"description": "What the free class is for this grade",
"title": "Fits",
"type": "string"
},
"country": {
"title": "Country",
"type": "string"
},
"timezone": {
"title": "Timezone",
"type": "string"
},
"days": {
"title": "Days",
"type": "integer"
},
"count": {
"title": "Count",
"type": "integer"
},
"times": {
"items": {
"$ref": "#/$defs/FreeTime"
},
"title": "Times",
"type": "array"
},
"times_page_url": {
"description": "The same times as a web page",
"title": "Times Page Url",
"type": "string"
},
"how_to_book": {
"title": "How To Book",
"type": "string"
}
},
"required": [
"grade",
"grade_band",
"fits",
"country",
"timezone",
"days",
"count",
"times",
"times_page_url",
"how_to_book"
],
"$defs": {
"FreeTime": {
"properties": {
"start_utc": {
"description": "Start, UTC, ISO 8601",
"title": "Start Utc",
"type": "string"
},
"start_local": {
"description": "Start in the requested time zone, ISO 8601 with offset",
"title": "Start Local",
"type": "string"
},
"day_label": {
"description": "e.g. \"Friday 28 November 2026\" (local)",
"title": "Day Label",
"type": "string"
},
"time_label": {
"description": "e.g. \"5:00 PM\" (local)",
"title": "Time Label",
"type": "string"
},
"relative_day": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "\"today\", \"tomorrow\" or null",
"title": "Relative Day"
},
"slot_token": {
"description": "Opaque reference to this time (valid 6 hours): pass it to create_booking_link (as slot) or request_trial_booking",
"title": "Slot Token",
"type": "string"
},
"book_url": {
"description": "Opens the booking page with this time selected (no phone prefilled)",
"title": "Book Url",
"type": "string"
}
},
"required": [
"start_utc",
"start_local",
"day_label",
"time_label",
"slot_token",
"book_url"
],
"title": "FreeTime",
"type": "object"
}
},
"title": "FreeTimes"
}🟡create_booking_link(grade, phone, timezone, slot, utm_source, ...)
A link the PARENT opens to book the free trial class: the Codinzy booking page with the chosen time selected (pass the `slot` from get_free_trial_times) and, if given, their phone number filled in. This tool books NOTHING and holds nothing: tell the parent to open the link, check the details and press "Book my free class". Without a phone number the page asks for it first, then shows the time. With a phone number, Codinzy also keeps the number and the grade so its team can help the parent on WhatsApp if they do not book: pass it only when the parent gave it to you for booking. language "bn" gives the Bangla booking page for a Bangla-speaking parent.
Input Schema
{
"type": "object",
"properties": {
"grade": {
"description": "The child's school grade, 1-12",
"maximum": 12,
"minimum": 1,
"title": "Grade",
"type": "integer"
},
"phone": {
"anyOf": [
{
"maxLength": 20,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Parent's mobile number in E.164, e.g. +8801712345678 (optional; used for the class link on WhatsApp)",
"title": "Phone"
},
"timezone": {
"anyOf": [
{
"maxLength": 64,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "IANA time zone the parent uses (optional; the booking page shows times in it)",
"title": "Timezone"
},
"slot": {
"anyOf": [
{
"maxLength": 600,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The `slot_token` of the time the parent picked (from get_free_trial_times)",
"title": "Slot"
},
"utm_source": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Who is asking, e.g. chatgpt.com",
"title": "Utm Source"
},
"country": {
"anyOf": [
{
"maxLength": 60,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO code or name of the country the family lives in (optional)",
"title": "Country"
},
"language": {
"anyOf": [
{
"enum": [
"en",
"bn"
],
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The booking page language: en (default) or bn for the Bangla booking page",
"title": "Language"
}
},
"required": [
"grade"
],
"title": "create_booking_linkArguments"
}Output Schema
{
"type": "object",
"properties": {
"booking_url": {
"description": "Give this link to the parent; they open it and press Book",
"title": "Booking Url",
"type": "string"
},
"books_anything": {
"const": false,
"default": false,
"description": "Always false: this tool books nothing",
"title": "Books Anything",
"type": "boolean"
},
"slot_status": {
"description": "free: the time is selected on the page; taken/started/invalid: the link has no time, offer other times (call get_free_trial_times again); no_slot: none was given",
"enum": [
"free",
"taken",
"started",
"invalid",
"no_slot",
"not_checked"
],
"title": "Slot Status",
"type": "string"
},
"what_the_parent_does": {
"title": "What The Parent Does",
"type": "string"
},
"note": {
"default": "",
"title": "Note",
"type": "string"
}
},
"required": [
"booking_url",
"slot_status",
"what_the_parent_does"
],
"title": "BookingLink"
}🟡request_trial_booking(phone, grade, timezone, slot_token, start_time, ...)
Request a FREE Codinzy trial class for a parent's child at a time from `get_free_trial_times`. Use it only after the parent chose the time and agreed. Nothing is booked yet: the time is held for about 30 minutes and the parent confirms from their own WhatsApp (a Confirm button in a WhatsApp message, or the `confirm_url` you show them, where they enter a code we send to their WhatsApp). Inputs: `phone` (the parent's WhatsApp number in E.164, e.g. +8801712345678), `grade` (1-12), `timezone` (IANA, e.g. Asia/Dhaka), `slot_token` (from the free times), optional `child_name`. Returns `request_id`, `status` ("pending"), `expires_at` and `confirmation` (`channel` "whatsapp" or "link" with `confirm_url`): tell the parent what to do, then poll `get_trial_booking_request` until "confirmed", "expired" or "cancelled". On a refusal, tell the parent the `error` sentence; for `slot_unavailable` or `slot_taken` offer new times, or `request_more_trial_times` if none suit them. Codinzy keeps the family's number and grade from this request, booked or not, so its team can help on WhatsApp. Never ask for passwords, emails or payment details.
Input Schema
{
"type": "object",
"properties": {
"phone": {
"description": "The parent's WhatsApp number in E.164, e.g. +8801712345678",
"maxLength": 20,
"title": "Phone",
"type": "string"
},
"grade": {
"description": "The child's school grade, 1-12",
"maximum": 12,
"minimum": 1,
"title": "Grade",
"type": "integer"
},
"timezone": {
"description": "The parent's IANA time zone, e.g. Asia/Dhaka",
"maxLength": 64,
"title": "Timezone",
"type": "string"
},
"slot_token": {
"anyOf": [
{
"maxLength": 400,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The slot_token of the time the parent chose (from get_free_trial_times)",
"title": "Slot Token"
},
"start_time": {
"anyOf": [
{
"maxLength": 40,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO 8601 start with offset, only when there is no slot_token",
"title": "Start Time"
},
"child_name": {
"anyOf": [
{
"maxLength": 60,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The child's first name (optional)",
"title": "Child Name"
},
"utm_source": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your assistant, e.g. chatgpt.com",
"title": "Utm Source"
},
"agent_name": {
"anyOf": [
{
"maxLength": 40,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Shown to the parent, e.g. ChatGPT",
"title": "Agent Name"
}
},
"required": [
"phone",
"grade",
"timezone"
],
"title": "request_trial_bookingArguments"
}Output Schema
{
"type": "object",
"properties": {
"request_id": {
"description": "Opaque reference (tbr_...): poll get_trial_booking_request with it",
"title": "Request Id",
"type": "string"
},
"status": {
"enum": [
"pending",
"confirmed",
"expired",
"cancelled"
],
"title": "Status",
"type": "string"
},
"booked": {
"description": "True only once the parent confirmed: the class is booked",
"title": "Booked",
"type": "boolean"
},
"expires_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "UTC; the hold ends then unless the parent confirms",
"title": "Expires At"
},
"trial_class": {
"anyOf": [
{
"$ref": "#/$defs/TrialClassTime"
},
{
"type": "null"
}
],
"default": null
},
"confirmation": {
"anyOf": [
{
"$ref": "#/$defs/Confirmation"
},
{
"type": "null"
}
],
"default": null
},
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Why it ended (not pending)",
"title": "Reason"
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"next_step": {
"title": "Next Step",
"type": "string"
}
},
"required": [
"request_id",
"status",
"booked",
"next_step"
],
"$defs": {
"Confirmation": {
"properties": {
"channel": {
"description": "whatsapp: the parent taps Confirm in WhatsApp; link: show them confirm_url",
"enum": [
"whatsapp",
"link"
],
"title": "Channel",
"type": "string"
},
"confirm_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Only for channel \"link\": show it to the parent",
"title": "Confirm Url"
},
"message_for_parent": {
"default": "",
"title": "Message For Parent",
"type": "string"
}
},
"required": [
"channel"
],
"title": "Confirmation",
"type": "object"
},
"TrialClassTime": {
"properties": {
"start_time": {
"description": "UTC, ISO 8601",
"title": "Start Time",
"type": "string"
},
"start_time_local": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO 8601 in the parent's zone",
"title": "Start Time Local"
},
"timezone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Timezone"
},
"display": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "e.g. \"Thu 27 Nov 2026, 4:00 PM (Asia/Dhaka)\"",
"title": "Display"
},
"grade": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Grade"
},
"child_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Child Name"
}
},
"required": [
"start_time"
],
"title": "TrialClassTime",
"type": "object"
}
},
"title": "TrialBookingRequest"
}🟢request_more_trial_times(phone, grade, timezone, child_name, preferred_times, ...)
Ask Codinzy's team for MORE free trial class times for a parent when none of the times from `get_free_trial_times` suit them (or there are none). Use it only after the parent agreed that Codinzy contacts them. Inputs: `phone` (the parent's WhatsApp number in E.164, e.g. +8801712345678), `grade` (1-12), `timezone` (IANA, e.g. Asia/Dhaka), optional `child_name` and `preferred_times` (short text, e.g. "weekdays after 6 pm, or Saturday morning"). Codinzy keeps the family's details and its team contacts the parent on WhatsApp to find a time; nothing is booked. One request per family every 12 hours is passed on (a repeat gives the same answer). Tell the parent `message_for_parent`. Never ask for passwords, emails or payment details.
Input Schema
{
"type": "object",
"properties": {
"phone": {
"description": "The parent's WhatsApp number in E.164, e.g. +8801712345678",
"maxLength": 20,
"title": "Phone",
"type": "string"
},
"grade": {
"description": "The child's school grade, 1-12",
"maximum": 12,
"minimum": 1,
"title": "Grade",
"type": "integer"
},
"timezone": {
"description": "The parent's IANA time zone, e.g. Asia/Dhaka",
"maxLength": 64,
"title": "Timezone",
"type": "string"
},
"child_name": {
"anyOf": [
{
"maxLength": 60,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "The child's first name (optional)",
"title": "Child Name"
},
"preferred_times": {
"anyOf": [
{
"maxLength": 300,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Days and times that suit the family, short text (optional), e.g. \"weekends after 5 pm\"",
"title": "Preferred Times"
},
"utm_source": {
"anyOf": [
{
"maxLength": 100,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your assistant, e.g. chatgpt.com",
"title": "Utm Source"
},
"agent_name": {
"anyOf": [
{
"maxLength": 40,
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Your name, e.g. ChatGPT",
"title": "Agent Name"
}
},
"required": [
"phone",
"grade",
"timezone"
],
"title": "request_more_trial_timesArguments"
}Output Schema
{
"type": "object",
"properties": {
"status": {
"const": "received",
"description": "Always \"received\": the team has the request",
"title": "Status",
"type": "string"
},
"books_anything": {
"const": false,
"default": false,
"description": "Always false: nothing is booked or held",
"title": "Books Anything",
"type": "boolean"
},
"message_for_parent": {
"description": "Tell the parent this",
"title": "Message For Parent",
"type": "string"
},
"next_step": {
"title": "Next Step",
"type": "string"
}
},
"required": [
"status",
"message_for_parent",
"next_step"
],
"title": "MoreTimesRequest"
}🟢get_trial_booking_request(request_id)
The status of a request made with request_trial_booking: "pending" (waiting for the parent to confirm on WhatsApp), "confirmed" (booked), "expired" or "cancelled". Poll at most every 30 seconds. Read only.
Input Schema
{
"type": "object",
"properties": {
"request_id": {
"description": "The request_id request_trial_booking returned",
"maxLength": 40,
"title": "Request Id",
"type": "string"
}
},
"required": [
"request_id"
],
"title": "get_trial_booking_requestArguments"
}Output Schema
{
"type": "object",
"properties": {
"request_id": {
"description": "Opaque reference (tbr_...): poll get_trial_booking_request with it",
"title": "Request Id",
"type": "string"
},
"status": {
"enum": [
"pending",
"confirmed",
"expired",
"cancelled"
],
"title": "Status",
"type": "string"
},
"booked": {
"description": "True only once the parent confirmed: the class is booked",
"title": "Booked",
"type": "boolean"
},
"expires_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "UTC; the hold ends then unless the parent confirms",
"title": "Expires At"
},
"trial_class": {
"anyOf": [
{
"$ref": "#/$defs/TrialClassTime"
},
{
"type": "null"
}
],
"default": null
},
"confirmation": {
"anyOf": [
{
"$ref": "#/$defs/Confirmation"
},
{
"type": "null"
}
],
"default": null
},
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Why it ended (not pending)",
"title": "Reason"
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"next_step": {
"title": "Next Step",
"type": "string"
}
},
"required": [
"request_id",
"status",
"booked",
"next_step"
],
"$defs": {
"Confirmation": {
"properties": {
"channel": {
"description": "whatsapp: the parent taps Confirm in WhatsApp; link: show them confirm_url",
"enum": [
"whatsapp",
"link"
],
"title": "Channel",
"type": "string"
},
"confirm_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Only for channel \"link\": show it to the parent",
"title": "Confirm Url"
},
"message_for_parent": {
"default": "",
"title": "Message For Parent",
"type": "string"
}
},
"required": [
"channel"
],
"title": "Confirmation",
"type": "object"
},
"TrialClassTime": {
"properties": {
"start_time": {
"description": "UTC, ISO 8601",
"title": "Start Time",
"type": "string"
},
"start_time_local": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO 8601 in the parent's zone",
"title": "Start Time Local"
},
"timezone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Timezone"
},
"display": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "e.g. \"Thu 27 Nov 2026, 4:00 PM (Asia/Dhaka)\"",
"title": "Display"
},
"grade": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Grade"
},
"child_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Child Name"
}
},
"required": [
"start_time"
],
"title": "TrialClassTime",
"type": "object"
}
},
"title": "TrialBookingRequest"
}🔴cancel_trial_booking_request(request_id)
Release a PENDING request made with request_trial_booking (for example the parent wants another time). A confirmed class is not cancelled here: the parent manages it from their trial dashboard.
Input Schema
{
"type": "object",
"properties": {
"request_id": {
"description": "The request_id request_trial_booking returned",
"maxLength": 40,
"title": "Request Id",
"type": "string"
}
},
"required": [
"request_id"
],
"title": "cancel_trial_booking_requestArguments"
}Output Schema
{
"type": "object",
"properties": {
"request_id": {
"description": "Opaque reference (tbr_...): poll get_trial_booking_request with it",
"title": "Request Id",
"type": "string"
},
"status": {
"enum": [
"pending",
"confirmed",
"expired",
"cancelled"
],
"title": "Status",
"type": "string"
},
"booked": {
"description": "True only once the parent confirmed: the class is booked",
"title": "Booked",
"type": "boolean"
},
"expires_at": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "UTC; the hold ends then unless the parent confirms",
"title": "Expires At"
},
"trial_class": {
"anyOf": [
{
"$ref": "#/$defs/TrialClassTime"
},
{
"type": "null"
}
],
"default": null
},
"confirmation": {
"anyOf": [
{
"$ref": "#/$defs/Confirmation"
},
{
"type": "null"
}
],
"default": null
},
"reason": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Why it ended (not pending)",
"title": "Reason"
},
"message": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Message"
},
"next_step": {
"title": "Next Step",
"type": "string"
}
},
"required": [
"request_id",
"status",
"booked",
"next_step"
],
"$defs": {
"Confirmation": {
"properties": {
"channel": {
"description": "whatsapp: the parent taps Confirm in WhatsApp; link: show them confirm_url",
"enum": [
"whatsapp",
"link"
],
"title": "Channel",
"type": "string"
},
"confirm_url": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "Only for channel \"link\": show it to the parent",
"title": "Confirm Url"
},
"message_for_parent": {
"default": "",
"title": "Message For Parent",
"type": "string"
}
},
"required": [
"channel"
],
"title": "Confirmation",
"type": "object"
},
"TrialClassTime": {
"properties": {
"start_time": {
"description": "UTC, ISO 8601",
"title": "Start Time",
"type": "string"
},
"start_time_local": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "ISO 8601 in the parent's zone",
"title": "Start Time Local"
},
"timezone": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Timezone"
},
"display": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"description": "e.g. \"Thu 27 Nov 2026, 4:00 PM (Asia/Dhaka)\"",
"title": "Display"
},
"grade": {
"anyOf": [
{
"type": "integer"
},
{
"type": "null"
}
],
"default": null,
"title": "Grade"
},
"child_name": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Child Name"
}
},
"required": [
"start_time"
],
"title": "TrialClassTime",
"type": "object"
}
},
"title": "TrialBookingRequest"
}Community
Evidence