The weekly schedule as visitors see it at /schedule: every entry with its id (needed to change or remove it), day, times, type and coach, plus upcoming closures and one-day changes.
Add a class or session to the weekly schedule Changesdry_run
Add one entry to the weekly schedule. Ask the owner for the day, the times and what it is before calling. Entries repeat every week; for a single date use add_schedule_change or add_closure.
Parameter
Type
Description
dayrequired
string
Day of the week, e.g. Saturday
start
string
Start time, e.g. 4:00 PM. Leave both times out for things offered by booking.
end
string
End time, e.g. 6:00 PM
namerequired
string
What it is, e.g. Open Gym (up to 60 characters)
type
string: open | class | team | homeschool | toddler | party | other
Decides the color on the schedule
note
string
Short note such as an age range, e.g. Ages 6–8
coach
string
Who coaches it; separate several names with commas
location
string
Which location, by name (only when the gym has more than one)
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Choose which days the public weekly schedule shows, e.g. hide Sunday for a gym that runs Monday to Saturday. Entries on a hidden day stay saved, they just don't show. At least one day stays shown.
Parameter
Type
Description
hidden_daysrequired
array of string
Days to leave off the public weekly schedule, e.g. ["Sunday"]; an empty list shows all seven
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Add a day (or days) the gym is closed Changesdry_run
Tell visitors the gym is closed on a date or a run of dates. It shows under the schedule and on the home page during the two weeks before, and disappears by itself afterwards.
Parameter
Type
Description
daterequired
string
First day closed, YYYY-MM-DD
last_day
string
Last day closed, YYYY-MM-DD (leave out for one day)
reason
string
Shown to visitors, e.g. Thanksgiving (up to 80 characters)
location
string
With two or more locations: the location it is for (leave out for every location)
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Add a coach to the Coaches page. Only use facts the owner gives you; never invent a bio or achievements. Add their photo afterwards with request_photo_upload.
Parameter
Type
Description
namerequired
string
The coach's name as it shows on the Coaches page
ninja_name
string
Optional nickname shown under the name, e.g. The Hype Guy (up to 60 characters)
role
string
e.g. Coach, Head Coach, Owner & Coach
bio
string
In the gym's own words (up to 4000 characters; a blank line starts a new paragraph; a long bio folds under Read more)
highlights
array of string
Up to 6 short highlights, e.g. "5 seasons on American Ninja Warrior"
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Change a coach's name, ninja name (nickname), role, bio, highlights, link, place in the order, or headshot framing and zoom. Send only what changes. Only use facts the owner gives you.
Parameter
Type
Description
coachrequired
string
The coach's current name
new_name
string
The coach's new name
ninja_name
string
Nickname shown under the name, e.g. The Hype Guy; empty to remove it
role
string
Their role, e.g. Head Coach
bio
string
A short bio in the owner's words. Never invent achievements.
highlights
array of string
Replaces the whole list (up to 6)
link_label
string
e.g. Instagram
link_url
string
https address; empty to remove the link
position
integer
1 = first (the featured coach)
headshot_framing
string
Where the round headshot centers on its photo, as "x% y%" ("50% 30%": the middle, a little above center). Use when the owner says the face is cut off or off-center.
headshot_zoom
number
Zoom the round headshot in on that spot, 1 (none) to 3, when the face looks small
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Every special event (camps, Parents' Night Out, clinics, holiday camps): title, date, time, ages, price, description, picture, and online sign-up, plus the flyers that can be used as pictures. Dated events leave the site by themselves the day after they end.
Add a camp, Parents' Night Out, clinic or other special event to the Special events page and the Coming up row on the schedule. Ask the owner for the date, time, ages and price; never guess them. With online_options families sign up and pay on the website. If the owner has a flyer, add the event first, then call request_photo_upload (or upload_photo) with purpose event_flyer and the event's title.
Parameter
Type
Description
titlerequired
string
e.g. Black Friday Ninja Camp (up to 100 characters)
date
string
YYYY-MM-DD. Leave out for something offered on request
last_day
string
YYYY-MM-DD, only for events over several days
when
string
Only without a date, e.g. Whenever Cobb schools go digital
time
string
e.g. 9 AM–5 PM
ages
string
e.g. Ages 6–12 (online sign-up takes these ages; 3 to 18 when empty)
price
string
As shown to families, e.g. $85 per child
description
string
A few sentences in the gym's own words (up to 600 characters)
details
array of string
Bullet points, e.g. Bring a packed lunch, a snack and a water bottle (up to 12)
picture
string
A flyer's name (get_special_events lists them) or a photo_id from list_photos; empty for an automatic picture. For a new flyer, add the event first, then upload it with purpose event_flyer
online_options
array of object
Turns on sign-up and card payment on the website (up to 6 options; needs Stripe connected). An empty list turns it off
online_options[].labelrequired
string
e.g. Full day, 9 AM–5 PM
online_options[].pricerequired
number
Dollars, e.g. 85
online_days
array of string
The days families can sign up for, YYYY-MM-DD (a dated event's own date is used when left out)
spots_per_day
integer
Most kids per day; 0 = no limit
extra_question
object
An optional question at sign-up with 2 to 12 choices
extra_question.questionrequired
string
The question families answer when they sign up, e.g. "T-shirt size"
extra_question.choicesrequired
array of string
The answers to pick from; leave empty for a typed answer
signup_link
string
Only when families sign up somewhere else: a full https:// address
button_label
string
Words on that sign-up button, e.g. Book now
location
string
Which location it is at, by name (only for gyms with several locations); empty = every location
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Change a special event: send only what changes (title, date, time, ages, price, description, details, picture, online sign-up options and days). For example, add a newly announced camp day with online_days.
Parameter
Type
Description
eventrequired
string
The event's current title
title
string
e.g. Black Friday Ninja Camp (up to 100 characters)
date
string
YYYY-MM-DD. Leave out for something offered on request
last_day
string
YYYY-MM-DD, only for events over several days
when
string
Only without a date, e.g. Whenever Cobb schools go digital
time
string
e.g. 9 AM–5 PM
ages
string
e.g. Ages 6–12 (online sign-up takes these ages; 3 to 18 when empty)
price
string
As shown to families, e.g. $85 per child
description
string
A few sentences in the gym's own words (up to 600 characters)
details
array of string
Bullet points, e.g. Bring a packed lunch, a snack and a water bottle (up to 12)
picture
string
A flyer's name (get_special_events lists them) or a photo_id from list_photos; empty for an automatic picture. For a new flyer, add the event first, then upload it with purpose event_flyer
online_options
array of object
Turns on sign-up and card payment on the website (up to 6 options; needs Stripe connected). An empty list turns it off
online_options[].labelrequired
string
e.g. Full day, 9 AM–5 PM
online_options[].pricerequired
number
Dollars, e.g. 85
online_days
array of string
The days families can sign up for, YYYY-MM-DD (a dated event's own date is used when left out)
spots_per_day
integer
Most kids per day; 0 = no limit
extra_question
object
An optional question at sign-up with 2 to 12 choices
extra_question.questionrequired
string
The question families answer when they sign up, e.g. "T-shirt size"
extra_question.choicesrequired
array of string
The answers to pick from; leave empty for a typed answer
signup_link
string
Only when families sign up somewhere else: a full https:// address
button_label
string
Words on that sign-up button, e.g. Book now
location
string
Which location it is at, by name (only for gyms with several locations); empty = every location
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Take a special event off the website. Past dated events already hide by themselves. Ask the owner to confirm first, then send confirm: true. Families who already signed up stay in the back office; it can be put back from History.
Parameter
Type
Description
eventrequired
string
The event's title
confirm
boolean
Must be true, after the owner has said yes
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
The reports sent by email on a schedule: the person's own (owners see every one at the gym), each with what it sends, how often and when (in the gym's time zone), who gets it, whether it is paused, the next and last send and how the last one went.
Parameter
Type
Description
report
string
Optional: only this report's (a key from list_reports)
Sets up a report to be emailed on its own: every day, every week on a day, every month on a day, or after each pay period, at a time of day in the gym's time zone, to the person asking and any of the gym's other owners and managers (managers never get money reports). Each email has the report's numbers, the first 25 rows, the whole table as a spreadsheet file, a link to the report and a one-click Stop link. Sends a saved view exactly as saved (view_id), or the report with the dates, columns, filters and sort given. Nothing is sent before the website is live. Use dry_run first and confirm who gets it with the owner.
Parameter
Type
Description
report
string
The report to send (a key from list_reports); leave out when view_id is given
view_id
string
Or a saved view or My report to send as saved (an id from list_report_views)
name
string
The email's name, for example Monday sales (default: the report's or view's name)
how_oftenrequired
string: day | week | month | payperiod
day: every day; week: every week on day_of_week; month: every month on day_of_month; payperiod: the day after each pay period ends, for that pay period
day_of_week
string
For week: Monday to Sunday (default Monday)
day_of_month
string
For month: 1 to 28, or last (default 1)
time
string
The time of day in the gym's time zone, 24-hour HH:MM (default 07:00; rounded to 15 minutes)
send_to
array of string
Email addresses of the gym's owners and managers who get it (default: only the person asking; managers never get money reports)
period
string
Without a saved view: the dates each email covers, such as yesterday, lastweek, lastmonth, week, month or 30 (default: the report's own)
location
string
Without a saved view: a location key from list_reports, or leave out for all
choice
string
Without a saved view: the report's own choice as name=value, for example by=type
columns
array of string
Without a saved view: the columns, in order (column keys)
filters
array of object
Without a saved view: filters on columns, as in save_report_view
filters[].fieldrequired
string
The column to filter, by its key in the report
filters[].oprequired
string: contains | in | gte | lte | after | before
How to compare: contains, in, gte (at least), lte (at most), after, before
filters[].valuesrequired
array of string
The value or values to compare with
sort
string
Without a saved view: the column to sort by
dir
string: asc | desc
Sort order: asc (smallest or oldest first) or desc (largest or newest first)
Change, pause or test a scheduled report email Changes
Changes a scheduled report email: its name, how often, day, time or who gets it, pauses or resumes it (the person who set it up, or an owner for anyone's), or sends one now to the person asking to check it.
Parameter
Type
Description
idrequired
string
The id from list_report_schedules
name
string
A new name
how_often
string: day | week | month | payperiod
How often, as in schedule_report_email
day_of_week
string
For week: Monday to Sunday
day_of_month
string
For month: 1 to 28, or last
time
string
The time of day in the gym's time zone, HH:MM
send_to
array of string
Everyone who should get it from now on (owners and managers of the gym)
Deletes a scheduled report email (the person's own; owners may delete anyone's). Nothing more is sent. Needs confirm: true; it can't be undone (pausing with change_report_schedule can).
Every bookable class (Schedule > Classes & enrollment): name, type, days and times, ages, tuition and how it is charged, capacity and spots left, location, description, free trials, whether it is on the website, and where it came from. Also the gym's class types and locations. Numbers only, never who is enrolled.
Add a bookable class (owners only): its days and times go on the weekly schedule and families can book it on the Book a class page. Ask the owner for the days and times, ages, tuition and capacity; never guess a price or a time. Use dry_run first to show them what will be added.
Parameter
Type
Description
namerequired
string
e.g. Ninja Basics (up to 80 characters)
days_and_timesrequired
array of string
Each weekly meeting as words, e.g. ["Monday 4:30 PM - 5:30 PM", "Wednesday 4:30 PM - 5:30 PM"] or ["Mon & Wed 4:30-5:30 PM"]. Replaces all of the class's times
ages_from
integer
Youngest age, 0 to 99
ages_to
integer
Oldest age, 0 to 99; leave out for no upper age
tuition
number
Dollars, charged as 'charged' says
charged
string: month | class | session
month = monthly tuition (families enroll and are billed each month), class = a drop-in price per class, session = one price for a whole session
capacity
integer
Most athletes in the class, 1 to 500; 0 = no limit. Spots left = capacity minus everyone enrolled
type
string
The schedule type (its color): Class, Open gym, Competition team, Homeschool PE, Toddlers & minis or Other (get_classes lists the gym's types)
location
string
Which location, when the gym has several
description
string
What athletes do and who it is for, shown on the class's booking page (up to 1,500 characters)
free_trials
boolean
true = families can book a free trial class
on_website
boolean
false = hidden from the Book a class page and the weekly schedule (kept, not deleted)
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Change any detail of a bookable class (owners only): name, days and times, ages, tuition, how it is charged, capacity, type, location, description, free trials, or hide/show it. Send only what changes; everything else stays. Enrolled families keep their tuition. A class that came from iClassPro is replaced by the next iClassPro download.
Parameter
Type
Description
classrequired
string
The class's current name
new_name
string
The class's new name
days_and_times
array of string
Each weekly meeting as words, e.g. ["Monday 4:30 PM - 5:30 PM", "Wednesday 4:30 PM - 5:30 PM"] or ["Mon & Wed 4:30-5:30 PM"]. Replaces all of the class's times
ages_from
integer
Youngest age, 0 to 99
ages_to
integer
Oldest age, 0 to 99; leave out for no upper age
tuition
number
Dollars, charged as 'charged' says
charged
string: month | class | session
month = monthly tuition (families enroll and are billed each month), class = a drop-in price per class, session = one price for a whole session
capacity
integer
Most athletes in the class, 1 to 500; 0 = no limit. Spots left = capacity minus everyone enrolled
type
string
The schedule type (its color): Class, Open gym, Competition team, Homeschool PE, Toddlers & minis or Other (get_classes lists the gym's types)
location
string
Which location, when the gym has several
description
string
What athletes do and who it is for, shown on the class's booking page (up to 1,500 characters)
free_trials
boolean
true = families can book a free trial class
on_website
boolean
false = hidden from the Book a class page and the weekly schedule (kept, not deleted)
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Remove a class from the website and the weekly schedule (owners only). A class families have booked is hidden instead of deleted, so their enrollments and history stay. Needs the owner's yes and confirm: true.
Parameter
Type
Description
classrequired
string
The class's id or exact name, from get_classes
confirm
boolean
Must be true, after the owner has said yes
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
The rules for monthly class tuition (Settings > Classes and enrollment): one billing day with a prorated first month, the registration fee and how often it is charged, and the sibling discounts.
Change the monthly tuition rules (owners only): billing day and proration, registration fee, sibling discounts. Send only what changes. Changes apply to new enrollments.
Parameter
Type
Description
bill_everyone_on_one_day
boolean
true = every monthly class is billed on the billing day, and the first month is prorated by the classes left before it
billing_day
integer
1 to 28
registration_fee
number
Dollars; 0 for none
registration_fee_charged
string: yearly | once
yearly = every 12 months per family; once = once per family, ever
second_child_discount_percent
integer
0 to 50
third_and_later_children_discount_percent
integer
0 to 50
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Set the short description visitors see when they tap or hover an entry on the weekly schedule (Schedule > Schedule > What each entry is). Owners and managers.
Parameter
Type
Description
entryrequired
string
The entry's name as it shows on the schedule, e.g. Open Gym (get_schedule lists them)
description
string
What visitors see when they tap or hover the entry, up to 400 characters; empty or left out = use the default (the matching class's text, or a general line for its type)
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
The private lessons the gym sells (Schedule > Private lessons): each lesson type with its coach, length, price in dollars, how families book it (pick an open time, pay first and set the time later, or either), whether it's on sale and how many open times it has; and how many lessons are waiting for a time, coming up and waiting to be marked done. No families' names.
Add or change a private lesson type Changesdry_run
Add a private lesson type (owners and managers) or change one (give its id): the coach, length, price and how families book it. With how = times or either, add its open times next with add_private_lesson_times.
Parameter
Type
Description
titlerequired
string
What families see, e.g. Private Lesson or Competition Prep
coach
string
A coach's name from the Coaches page, or leave out for any coach
minutes
integer
Length, 10 to 240
price
number
Dollars
how
string: times | arrange | either
times = families pick one of the gym's open times; arrange = families pay first and the gym calls to set the time; either = both
about
string
Optional: who it's for and what to expect
on_sale
boolean
false = saved but not on the website
id
string
To change one: its id from get_private_lessons
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
What one visit costs without a membership: for each location (or the gym), the open gym price for each kind of visitor (standard, college, age 5 and under, spectators) and any class with its own drop-in price. Also says whether families can pay for a drop-in online.
Set what a drop-in costs at one location (owners): the open gym price for each kind of visitor and any class with its own drop-in price. Families then pick the gym, who is coming and the day on the drop-in page and pay online. Send only the list that changes; the other stays.
Parameter
Type
Description
location
string
The location's name or key. Leave out for a gym with one location
open_gym
array of object
Replaces this location's open gym prices; the first is the usual price. An empty list removes them
open_gym[].whorequired
string
The kind of visitor, e.g. Standard, College student, Age 5 and under, Spectators
open_gym[].pricerequired
number
Dollars for one visit; 0 = free (shown, not sold)
open_gym[].note
string
Optional, e.g. Show your student ID
classes
array of object
Replaces the classes with their own drop-in price at this location. An empty list removes them
classes[].classrequired
string
The class as named on the schedule
classes[].pricerequired
number
Dollars for one class
classes[].shown_as
string
Optional: the name families see
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Remove a private lesson type Changesdry_runconfirm
Remove a private lesson type from Schedule > Private lessons and the website (owners and managers); its open times go too. Lessons families already bought stay on the list. To only hide it for a while, use add_private_lesson_type with its id and on_sale: false instead. Needs confirm: true after the owner says yes.
Parameter
Type
Description
lesson_type_idrequired
string
The id from get_private_lessons
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.
Remove an open private lesson time Changesdry_runconfirm
Take one open time off a private lesson type (owners, managers or the lesson's own coach), so families can't pick it. A time a family has booked can't be removed here. Needs confirm: true after the owner says yes.
Parameter
Type
Description
lesson_type_idrequired
string
The id from get_private_lessons
daterequired
string
YYYY-MM-DD
start_timerequired
string
e.g. 16:00 or 4:30 PM
dry_run
boolean
true = only show what would change, save nothing. Use it first for anything the owner hasn't seen yet.