---
title: [V1] Custom API and iFrame
description: Learn how to send leads, set up Custom API, use Zapier, and embed iFrame on your martial arts website with simple step-by-step guidance.
---

[Skip to content](https://help.mystudio.io/custom-api-and-iframe#main-content)

English

Show submenu for translations

[![MS\_appicon-2](https://help.mystudio.io/hs-fs/hubfs/MS_appicon-2.webp?width=63&height=63&name=MS_appicon-2.webp)](https://help.mystudio.io/?hsLang=en)

Open main navigation

Close main navigation

- English
  
  Show submenu for translations
- [Go to mystudio.io](https://www.mystudio.io/)

[Go to mystudio.io](https://www.mystudio.io/)

 Hello. How can we help you?

- There are no suggestions because the search field is empty.

1. [Help Center](https://help.mystudio.io/?hsLang=en)
2. [Classic Version \[V1\]](https://help.mystudio.io/classic-version-v1?hsLang=en)
3. [Integrations](https://help.mystudio.io/classic-version-v1?hsLang=en#integrations)

# \[V1\] Custom API and iFrame

## Send leads from your website to MyStudio and integrate your product offerings into your website.

### Table of contents

- [Permissions and accessibility](https://help.mystudio.io/custom-api-and-iframe#permissions)
- [Pricing](https://help.mystudio.io/custom-api-and-iframe#pricing)
- [Custom API](https://help.mystudio.io/custom-api-and-iframe#custom-api) 
    - [What is a custom API used for?](https://help.mystudio.io/custom-api-and-iframe#what-is-custom-api-used-for)
    - [What is needed before setting up a custom API?](https://help.mystudio.io/custom-api-and-iframe#what-is-needed)
    - [Create API key](https://help.mystudio.io/custom-api-and-iframe#create-api-key)
    - [Code API key into your website](https://help.mystudio.io/custom-api-and-iframe#code-api)
- [iFrame](https://help.mystudio.io/custom-api-and-iframe#iFrame) 
    - [What is iFrame?](https://help.mystudio.io/custom-api-and-iframe#what-is-iframe)
    - [Locating product offering URLs](https://help.mystudio.io/custom-api-and-iframe#locating-urls)
    - [Set up iFrame on your website](https://help.mystudio.io/custom-api-and-iframe#setup-iframe)
- [Frequently asked questions (FAQs)](https://help.mystudio.io/custom-api-and-iframe#faqs)  
    - [For iFrame, can I get URLs for specific class times or event date/options?](https://help.mystudio.io/custom-api-and-iframe#specific-class-time-urls)
    - [For iFrame, what happens if I have private memberships or events?](https://help.mystudio.io/custom-api-and-iframe#private-iframe)
    - [Can I use custom API to import information besides leads?](https://help.mystudio.io/custom-api-and-iframe#info-besides-leads)
    - [Can I delete a custom API connection?](https://help.mystudio.io/custom-api-and-iframe#delete-api-key)
    - [I want to use Zapier.](https://help.mystudio.io/custom-api-and-iframe#zapier)
- [Was this helpful?](https://help.mystudio.io/custom-api-and-iframe#was-this-helpful)

 

---

### Permissions and accessibility

#### Staff access:

- **Admin**: Full access
- **Manager**: No access
- **Staff**: No access

#### MyStudio plan restrictions:

- **Starter**: Not available
- **Growth**: 2 custom API keys allowed
- **Scale**: 5 custom API keys allowed

 

[^ back to top](https://help.mystudio.io/custom-api-and-iframe#TABLE_OF_CONTENTS)

---

### Pricing

If using Zapier in conjunction with the custom API, you will need to pay for a Zapier pro account and will be charged per zap according to their pricing. See Zapier’s pricing page here: [Workflow automation plans](https://zapier.com/pricing?utm_source=google&utm_medium=cpc&utm_campaign=gaw-usa-nua-search-desktop-brand-long_tail_usa_brandmarginalbidtesting_tcpa-ads&utm_term=how%20much%20is%20zapier&utm_content=9010850&utm_ads_campaign_id=21370343161&utm_ads_adset_id=164948819922&utm_ads_ad_id=608807048142&gad_source=1&gclid=Cj0KCQjwsuSzBhCLARIsAIcdLm6_dD9fGxt_encR3ohOAi0RdPXaPDZzclz7FKiQU1p3mUczWvXRvCoaAhJrEALw_wcB)

 

[^ back to top](https://help.mystudio.io/custom-api-and-iframe#TABLE_OF_CONTENTS)

---

### Custom API

#### What is a custom API used for?

While our Zapier integration allows you to send leads from MyStudio to other platforms or from other platforms to MyStudio, our custom API keys only send leads from other platforms to MyStudio.

 

Custom API keys allow for direct access whereas Zapier connections create a pipeline. This, in turn, allows more control and less dependence on third party connections.

![custom api](https://help.mystudio.io/hs-fs/hubfs/Knowledge%20Base%20Article%20Screenshots/V2/V2%20-%20Integrations/Custom%20API%20and%20iFrame/custom%20api.png?width=670&height=328&name=custom%20api.png)

 

[^ back to top](https://help.mystudio.io/custom-api-and-iframe#TABLE_OF_CONTENTS)

---

#### What is needed before setting up a custom API?

Before setting up a custom API, you will need to ensure you have sources and program interests set up for your leads. To do so:

1. In V1, go to all customers \> leads.
2. Go to the “settings” subsection.
3. Click the drop down for sources and add all possible options.
4. Click the drop down for program interests and add all possible options. We recommend that these reflect your product offerings for better tracking and data analytics.

**Important**: if these are not set up, any leads coming into MyStudio will show as source and/or program interest as “not specified.” These cannot be edited later.

![lead settings](https://help.mystudio.io/hs-fs/hubfs/Knowledge%20Base%20Article%20Screenshots/V2/V2%20-%20Integrations/Custom%20API%20and%20iFrame/lead%20settings.png?width=670&height=330&name=lead%20settings.png)

 

[^ back to top](https://help.mystudio.io/custom-api-and-iframe#TABLE_OF_CONTENTS)

---

#### Create API key

To create a custom API key:

1. In V2, go to integrations \> custom API.
2. Click “connect.”
3. Click “create a new key.”
4. Name the API key and click “create API key.” The key will be successfully added to the list.

**Note**: the number of keys you are able to create is related to your MyStudio plan.

- **Starter**: not available
- **Growth**: 2 custom API keys allowed
- **Scale**: 5 custom API keys allowed

![create new key](https://help.mystudio.io/hs-fs/hubfs/Knowledge%20Base%20Article%20Screenshots/V2/V2%20-%20Integrations/Custom%20API%20and%20iFrame/create%20new%20key.png?width=670&height=327&name=create%20new%20key.png)

 

[^ back to top](https://help.mystudio.io/custom-api-and-iframe#TABLE_OF_CONTENTS)

---

#### Code API key into your website

If you are hard coding the API callback, you will need to parameterize the data by entering the following code snippet, where the text after the colon (:) symbolizes the data customers will enter into the lead capture fields.

{

"Buyer\_first\_name":"Rajesh",

"Buyer\_last\_name":"S",

"Email":"rajeshsankar.k@technogemsinc.com",

"Phone":"123789456",

"Source":"\_\_\_\_",

"Program\_interest":"\_\_\_\_",

"Participant\_first\_name":"Jeeva",

"Participant\_last\_name":"R",

"Campaign":"Yes"

}

 

**Important:**

**Source**: enter one of your source options such as “Facebook” instead of the underscores. This would be the platform you are hard coding the lead capture into, such as “website” when you’re placing this code into your website. This must match EXACTLY as you’ve entered in your all customers \> leads \> settings \> source section. It is case sensitive.

 

**Program\_interest**: enter one of your program interest options such as “After School Program” instead of the underscores. If you have more than one program interest listed in all customers \> leads \> settings \> program interests, then you will need to fill out this parameter listing for each program interest. This must match EXACTLY as you’ve entered in your all customers \> leads \> settings \> program interest section. It is case sensitive.

 

**Campaign**: you can either enter “yes” or “no,” but you can also enter a specific lead campaign title that you created in automations \> lead campaigns.

 

[^ back to top](https://help.mystudio.io/custom-api-and-iframe#TABLE_OF_CONTENTS)

---

### iFrame

#### What is iFrame?

iFrame tags allow you to embed product offering links into your website. This means you could attach different offering URLs directly into your website. 

 

[^ back to top](https://help.mystudio.io/custom-api-and-iframe#TABLE_OF_CONTENTS)

---

#### Locating product offering URLs

Product URLs are currently in V1.

- **Trials**: Go to services and products (the sales tag icon) \> trials. 
    - For all trials, go to the settings subsection and copy the trials URL.
    - For specific trials, click the “URL” button on the specific trial listed under live trials.
- **Memberships/Programs**: Go to services and products (the sales tag icon) \> programs/memberships. 
    - For all programs/memberships, go to the settings subsection and copy the programs URL.
    - For specific programs, click the “URL” button on the specific program listed under live programs.
    - For specific membership options, click the pencil icon on the program and click the “URL” button on the specific membership option listed under live membership options.
- **Classes**: Go to services and products (the sales tag icon) \> class schedule. 
    - For all classes, go to the settings subsection and copy the class appointment URL.
    - For specific classes, click “copy URL” on the specific class listed under live programs.
- **Events**: Go to services and products (the sales tag icon) \> events. 
    - For all events, go to the settings subsection and copy the events URL.
    - For specific events, click the “URL” button on the specific event listed under live events.
- **Retail**: Go to services and products (the sales tag icon) \> retail. 
    - For all retail, go to the settings subsection and copy the retail URL.
    - For specific retail categories, click “copy URL” on the specific retail category listed under live products.
    - For specific retail items, click “copy URL” either on the item listed under live products or click “edit items” on a product category and “copy URL” from within a product category.

 

[^ back to top](https://help.mystudio.io/custom-api-and-iframe#TABLE_OF_CONTENTS)

---

#### Setup iFrame on your website

1. Locate the URL you would like to post. Remember that most offerings have a main URL that will show all listings and specific URLs that will show individual listings.
2. Place the URL inside the iframe tag within your desired website code location.

**iFrame tag**:

\<iframe src="**https://putyourURLhere**"\>\</iframe\>

 

[^ back to top](https://help.mystudio.io/custom-api-and-iframe#TABLE_OF_CONTENTS)

---

### Frequently asked questions (FAQs)

#### For iFrame, can I get URLs for specific class times or event date/options?

No, unfortunately there are currently no URLs for individual event date/options or class times.

 

[^ back to top](https://help.mystudio.io/custom-api-and-iframe#TABLE_OF_CONTENTS)

---

#### For iFrame, what happens if I have private memberships or events?

Private memberships and events will not show as a listing option if you are using general URLs. Private memberships and events will only display in the staff POS or if you use the specific URL for the individual membership or event.

 

[^ back to top](https://help.mystudio.io/custom-api-and-iframe#TABLE_OF_CONTENTS)

---

#### Can I use custom API to import information besides leads?

No, at this time our custom API will only work for lead info retrieval.

 

[^ back to top](https://help.mystudio.io/custom-api-and-iframe#TABLE_OF_CONTENTS)

---

#### Can I delete a custom API connection?

Yes! To delete a custom API connection:

1. In V2, go to integrations \> custom API.
2. Click "modify."
3. Click the trash can icon next to the listed API key.

![delete custom key](https://help.mystudio.io/hs-fs/hubfs/Knowledge%20Base%20Article%20Screenshots/V2/V2%20-%20Integrations/Custom%20API%20and%20iFrame/delete%20custom%20key.png?width=670&height=261&name=delete%20custom%20key.png)

[^ back to top](https://help.mystudio.io/custom-api-and-iframe#TABLE_OF_CONTENTS)

---

#### I want to use Zapier.

Zapier is great for both retrieving and sending lead information between MyStudio and other platforms. For more information on this set up, check out one of our articles below:

- [Zapier: Get Leads from Another Platform into MyStudio](https://help.mystudio.io/zapier-get-leads-from-another-platform-into-mystudio?hsLang=en)
- [Zapier: Send Leads from MyStudio to Another Platform](https://help.mystudio.io/zapier-send-leads-from-mystudio-to-another-platform?hsLang=en)
- [Zapier: Facebook Lead Ads](https://help.mystudio.io/zapier-facebook-lead-ads?hsLang=en)
- [Zapier: Twilio](https://help.mystudio.io/zapier-twilio?hsLang=en)

 

[^ back to top](https://help.mystudio.io/custom-api-and-iframe#TABLE_OF_CONTENTS)

---

 

- [Navigation & FAQs](https://help.mystudio.io/navigation-faqs?hsLang=en#main-content)

    - [Code Ninjas Onboarding](https://help.mystudio.io/navigation-faqs?hsLang=en#code-ninjas-onboarding)
- [Classic Version \[V1\]](https://help.mystudio.io/classic-version-v1?hsLang=en#main-content)

    - [Analytics](https://help.mystudio.io/classic-version-v1?hsLang=en#analytics)
    - [Payments](https://help.mystudio.io/classic-version-v1?hsLang=en#payments)
    - [All Customers](https://help.mystudio.io/classic-version-v1?hsLang=en#all-customers)
    - [Participant Management](https://help.mystudio.io/classic-version-v1?hsLang=en#participant-management)
    - [Member Migration](https://help.mystudio.io/classic-version-v1?hsLang=en#member-migration)
    - [Leads](https://help.mystudio.io/classic-version-v1?hsLang=en#leads)
    - [Primary Customers](https://help.mystudio.io/classic-version-v1?hsLang=en#primary-customers)
    - [Communications](https://help.mystudio.io/classic-version-v1?hsLang=en#communications)
    - [Attendance Automations](https://help.mystudio.io/classic-version-v1?hsLang=en#attendance-automations)
    - [Program Automations](https://help.mystudio.io/classic-version-v1?hsLang=en#program-automations)
    - [Event Automations](https://help.mystudio.io/classic-version-v1?hsLang=en#event-automations)
    - [Lead/Trial Automations](https://help.mystudio.io/classic-version-v1?hsLang=en#lead-trial-automations)
    - [Custom Automations](https://help.mystudio.io/classic-version-v1?hsLang=en#custom-automations)
    - [Task Manager](https://help.mystudio.io/classic-version-v1?hsLang=en#task-manager)
    - [Point of Sale](https://help.mystudio.io/classic-version-v1?hsLang=en#point-of-sale)
    - [Attendance](https://help.mystudio.io/classic-version-v1?hsLang=en#attendance)
    - [Class/Appointment Calendar](https://help.mystudio.io/classic-version-v1?hsLang=en#class-appointment-calendar)
    - [Retail Order](https://help.mystudio.io/classic-version-v1?hsLang=en#retail-order)
    - [Staff Schedule](https://help.mystudio.io/classic-version-v1?hsLang=en#staff-schedule)
    - [Trials](https://help.mystudio.io/classic-version-v1?hsLang=en#trials)
    - [Memberships](https://help.mystudio.io/classic-version-v1?hsLang=en#memberships)
    - [Class Schedule](https://help.mystudio.io/classic-version-v1?hsLang=en#class-schedule)
    - [Events](https://help.mystudio.io/classic-version-v1?hsLang=en#events)
    - [Retail](https://help.mystudio.io/classic-version-v1?hsLang=en#retail)
    - [Sales Channel](https://help.mystudio.io/classic-version-v1?hsLang=en#sales-channel)
    - [Integrations](https://help.mystudio.io/classic-version-v1?hsLang=en#integrations)
- [Version 2 \[V2\]](https://help.mystudio.io/version-2-v2?hsLang=en#main-content)

    - [Insights](https://help.mystudio.io/version-2-v2?hsLang=en#insights)
    - [Payments](https://help.mystudio.io/version-2-v2?hsLang=en#payments)
    - [Contacts](https://help.mystudio.io/version-2-v2?hsLang=en#contacts)
    - [Amplify](https://help.mystudio.io/version-2-v2?hsLang=en#amplify)
    - [Communications](https://help.mystudio.io/version-2-v2?hsLang=en#communications)
    - [Services and Products](https://help.mystudio.io/version-2-v2?hsLang=en#services-and-products)
    - [Attendance](https://help.mystudio.io/version-2-v2?hsLang=en#attendance)
    - [Rank Promotions](https://help.mystudio.io/version-2-v2?hsLang=en#rank-promotions)
    - [Marketplace](https://help.mystudio.io/version-2-v2?hsLang=en#marketplace)
    - [Tools](https://help.mystudio.io/version-2-v2?hsLang=en#tools)
    - [Sales Channel](https://help.mystudio.io/version-2-v2?hsLang=en#sales-channel)
    - [User Settings](https://help.mystudio.io/version-2-v2?hsLang=en#user-settings)
- [Stripe](https://help.mystudio.io/stripe?hsLang=en)
- [Twilio](https://help.mystudio.io/twilio?hsLang=en)
- [Amplify](https://help.mystudio.io/amplify?hsLang=en)
- [My Account](https://help.mystudio.io/my-account?hsLang=en#main-content)

    - [Plan and Billing](https://help.mystudio.io/my-account?hsLang=en#plan-and-billing)
    - [Users and Permissions](https://help.mystudio.io/my-account?hsLang=en#users-and-permissions)
    - [Business Profile](https://help.mystudio.io/my-account?hsLang=en#business-profile)
    - [Business Account Management](https://help.mystudio.io/my-account?hsLang=en#business-account-management)
- [Member App Actions](https://help.mystudio.io/member-app-actions?hsLang=en)
- [Business Management App](https://help.mystudio.io/business-management-app?hsLang=en#main-content)

    - [Business Manager App Sections](https://help.mystudio.io/business-management-app?hsLang=en#business-manager-app-sections)
- [ATA](https://help.mystudio.io/ata?hsLang=en)
- [Business How-To's](https://help.mystudio.io/business-how-tos?hsLang=en)
- [Multi-Location Franchise System / Management](https://help.mystudio.io/multi-location-franchise-system-management?hsLang=en)
- [Referral Program](https://help.mystudio.io/referral-program?hsLang=en)
- [Custom App Set Up](https://help.mystudio.io/custom-app-set-up?hsLang=en#main-content)

    - [Google](https://help.mystudio.io/custom-app-set-up?hsLang=en#google)

[![MS\_appicon-2](https://help.mystudio.io/hs-fs/hubfs/MS_appicon-2.webp?width=63&height=62&name=MS_appicon-2.webp "MS_appicon-2")](https://www.mystudio.io/)

MyStudio.io Help Center

<https://www.facebook.com/groups/mystudioapp>

Copyright © 2025, MyStudio