curl -X GET "https://api.fitsociety.io/public/v1/workout/plans/{planId}/export" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/plans/{planId}/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fitsociety.io/public/v1/workout/plans/{planId}/export"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)"<string>"Export a coach-visible plan as PDF
Exports a saved plan as a PDF. Requires access to the requested plan and client. Flexible plans require the programme calendar feature. Assigned plans use their saved personal prescriptions. Calendar exports include the base programme; occurrence overrides and performance history are excluded. Automatic language uses the assigned member’s language, otherwise the attributed coach’s language. Save editor changes before exporting. If QR links are unavailable, the request returns 500; retry or request qr=false. Export preferences are not saved.
Requires the workout_plans:read scope and the corresponding Workout features and permissions.
curl -X GET "https://api.fitsociety.io/public/v1/workout/plans/{planId}/export" \
-H "Authorization: Bearer <access_token>"const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.fitsociety.io/public/v1/workout/plans/{planId}/export', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.fitsociety.io/public/v1/workout/plans/{planId}/export"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)"<string>"Authorizations
Query Parameters
Supercompact uses two V1-style prescription cards per row, with full-width continuation tables for long exercises. It does not use the legacy V1 data/export endpoint. Handout starts each training day on a new page; worksheet includes blank result fields. Logbook uses landscape A4 with up to four weeks per sheet, exact per-week prescriptions and blank results for each set. Changed exercise sequences are separate blocks; absent weeks or sets have no writing fields.
supercompact, handout, worksheet, logbook Only accepted for layout=logbook. Number of weeks to repeat a recurring single-week programme. Multi-week programmes always use the actual selected weeks and ignore this repeat count. Four weeks per sheet; additional bands start on a new sheet.
4, 8, 12 Response
A4 PDF (landscape for logbook, portrait otherwise); private, no-store. Reuse this file for preview, print and download.
The response is of type file.