Embedding Zapier in your Product

There are two ways to embed Zapier in your product: the embed widget or the Partner API (using an iframe).


Learn more about embedding with the widget.js and creating your own widget here.

Partner API (using an iframe)


  1. Lookup Zap templates for your app using the Zap templates endpoint
  2. Display the Zap templates to the user (see Examples page for inspiration)
  3. Upon the user clicking to create a Zap based on the Zap template, use the create_url (see Zap template object definition) as the src attribute in an iframe injected in your page. Note that Zapier blocks embeds if they are not registered with us. Learn more in the Security section on this page.
  4. Your product can listen to postMessages sent by the iframe out to any listener when a user turns on the Zap (message: zap:unpause,)
  5. The above can be repeated for Zaps returned from the Zap endpoint, instead of the create_url use the Zap’s url (see Zap object definition) in the iframe’s src attribute.


Create a Zap from a Zap template create_url

<iframe src="https://zapier.com/partner/embed/trello/create/113"></iframe>

Edit a Zap from a Zap’s url

<iframe src="https://zapier.com/app/editor/123456"></iframe>


Our user’s security is paramount. By default, we deny any embedding of our product unless you provide us with a list of domains that you expect to embed Zapier in. This protects the user from malicious activities like Clickjacking. An example of what the user would see if you were to attempt to embed Zapier and the embedding domain was not registered with us:

To provide us a list of unique domains you’ll embed Zapier in:

  • if you’ve already embedded our Product, you’re in luck! We should have already captured this and have permitted your product domains. Should we have missed any, please reach out to us so we can add your domain.
  • else if you’ve already applied for a Partner API access: contact partners@zapier.com and include the domains you’d like to register.
  • otherwise, when you apply for the Partner API access you’ll have the opportunity to supply us the embedding domains inside of the form.

Common Questions:

  • Why do you need to block the iframe embed by default? This is a more secure option!
  • Why do I need to provide Zapier with a list of domains I intend to embed Zapier in? We’ll use this to permit these specific domains to embed our product.
  • Which domains are appropriate and which ones are not, if any? We do not support wildcard, or other patterns, within domains. Being explicit about the specific domains ensures we do not inadvertedly allow custom/user domains from being permitted. Example: {username}.github.io is a scheme used by Github to allow any user to create their own websites. In this example, only github.io would be permitted but not any subdomain of that domain. Moreover, the domains provided by you should be registered with your company with a public registrar. That is to say a randomcnamedomain.com is not valid for the same reason that a user or bad actor could register that domain.
  • What about when I’m developing the embed? Indeed this is tricky because localhost, yourcomp.local and are not valid domains that we support. An option would be to use a tunnel service like ngrok and to register that ngrok tunnel with us. Be advised, that we will ask for a static domain from ngrok.com or similar tunneling service.
  • What if my product requires wildcard support (e.g. {account}.myproduct.com)? While this is unsupported, we’d like to chat with you to understand your use case and to discuss other options.