We use cookies to improve your experience.

    MyGymDesk Website API (API access)

    MyGymDesk’s API Access is a Website API — seven REST endpoints authenticated by one per-gym key — that lets a gym’s own website capture leads into the CRM, display live membership pricing, class and service catalogs and weekly timetables, and take class or service bookings with Razorpay or PayPal payment verified server-side. Full docs live 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.