There are 2 ways to create programs in Hexfit,
A training
A Training that contains workout (call sessions in the API).
The training cannot contain progression on the load or anything.
Or standalone sessions
Standalone sessions are workout that you can then place in the calendar, thus making progression.
https://docs.hexfit.com/#tag/trainings/POST/sessions/create/standalone
Once the session is created, you can add exercises using an AI prompt:
https://docs.hexfit.com/#tag/ai/POST/ai/training/text
Then, to position the session in the calendar, you need to call https://docs.hexfit.com/#tag/events--calendar/POST/events/.
You can add the "trainings" parameter with the ID of the session created in the previous step.
1 session = 1 day of training.
The session has a title, but also an event. If you want to modify the content of a session, create a new one and call the update of an event.