We use cookies to improve your experience.

    MyGymDesk Website API (API access)

    MyGymDesk’s Website API has twelve REST endpoints behind one per-gym key. Lead capture into the CRM is included on the Pro plan (the Leads API); the full API β€” live pricing, class/service catalogs and timetables, bookings, shop checkout and membership purchase with server-verified payment β€” comes with the Enterprise plan or the Full Website API add-on for Pro gyms. Docs at mygymdesk.in/developers.

    What you can do with it

    Put a working enquiry form on your own website

    POST a visitor’s name and phone from your site’s contact or β€˜book a trial’ form to the lead-capture endpoint, and the enquiry appears instantly in Leads β†’ Enquiries, de-duplicated by phone number.

    Show always-current membership prices and a class timetable

    Fetch live pricing and the weekly class schedule from the read endpoints so your marketing site reflects what’s configured in MyGymDesk instead of hand-maintained HTML. Cache server-side to stay within the rate limit.

    Take a paid class booking from your site, end-to-end

    Create a Razorpay order via the booking endpoint, run Checkout in the browser, then record the booking only after MyGymDesk verifies the capture on the gym’s own gateway β€” the amount is resolved server-side, so a leaked key can’t mint free bookings.

    Sell bookable services online

    List active, published services with member and non-member pricing, and take payment for physio, massage or court-hire bookings with the same server-side verification as classes.

    Route multi-branch leads and schedules

    Filter the display endpoints by location to render one branch’s timetable, and let captured leads file against the branch configured on the key.

    How to set it up

    1. 1As the owner (or a staff member with the β€˜Manage Integrations’ permission), open Settings β†’ Growth & Apps β†’ Integrations.
    2. 2Select the β€˜Website Integration’ sub-tab. A key is auto-created the first time you open it β€” it starts inactive.
    3. 3Flip the toggle in the tab header to ON. Until it’s on, every API request returns a 403 and the configuration fields stay hidden.
    4. 4Copy the revealed key immediately from the β€˜Your New API Key’ panel β€” it’s shown exactly once (stored only as a hash). If lost, use β€˜Regenerate Key’, which invalidates the old key instantly.
    5. 5Set β€˜Assign Leads to Location’, the hourly rate limit (default 30 requests/hour, shared across all endpoints), and β€˜Allowed Origins’ (full origins with scheme, e.g. https://www.yourgym.com), then save.
    6. 6Use the in-tab code snippets or open the full endpoint reference at mygymdesk.in/developers, and send the key from your server in the x-mgd-api-key header.

    Frequently asked questions

    Ready to use API Access with MyGymDesk?

    Free 7-day trial. No credit card required.