Programs
Create a program
POST
Authorizations
Basic authentication header of the form Basic <encoded-value>
, where <encoded-value>
is the base64-encoded string username:password
.
Headers
Only used by platform integrations
ID of gym to execute on behalf of
Body
application/json
Create program params
POST body for creating a program
Whether all members can access the program, or only people on the access list
Available options:
all_members
, private
Program name
Whether program is a daily group program (continuous
) or fixed-length (fixed
). Note that this can not be changed after a program is created.
Available options:
continuous
, fixed
Hex code for color associated with this program
Program status
Available options:
active
, archived
Response
200 - application/json
Create program response
A program at your organization
Program ID
Program name
Program status
Available options:
active
, archived
Program access
Available options:
all_members
, private
Program period
Available options:
continuous
, fixed
, template