Is there an API to get the Form's EMBED code for an email | Community
Skip to main content
Answered

Is there an API to get the Form's EMBED code for an email


In our product, we are able to generate Forms dynamically using the Typeform API. We would like to use some of these forms in our Email communication. I can see that, from the Dashboard UI, we can get the actual embed code that we would copy and pasted into our email template. I would like to know if there is an API for me to get that embed code for a given form. I don’t want to have to access the UI to get that code.

 

Thanks.

Best answer by mathio-tf

Hello @BrianHenson , unfortunately this API is currently not available for 3rd party use. What is your use case? it sounds quite interesting.

Feel free to contact our technical support with a feature request though 😃

View original

5 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14960 replies
  • May 12, 2023

Hi @BrianHenson I don’t believe we have the email embed code in the Embed SDK or through the API, but @mathio can confirm that!


  • Author
  • Explorer
  • 3 replies
  • May 12, 2023

I’ll wait for @mathio’s confirmation, but thanks for the quick response. Would be a nice addition for customers that are building fully automated systems on top of Typeform.


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • Answer
  • May 15, 2023

Hello @BrianHenson , unfortunately this API is currently not available for 3rd party use. What is your use case? it sounds quite interesting.

Feel free to contact our technical support with a feature request though 😃


  • Author
  • Explorer
  • 3 replies
  • May 15, 2023

@mathio In general, we treat Typeform forms no different than any other piece of infrastructure resource. We generate the forms with code and we isolate these forms among different deployment environments (DEV, STAGING, PROD). 

Our current usecase is simply an EMAIL that will ask users for reasons for leaving the product. We are using Typeform to capture that data by embedding a form in the email template. Again, we would like to do all this programmatically, but embedding a form in email is a bit more verbose than embedding a form in some web site. The embed code has the HTML markup of the first page of the form. It would be nice to have access to an API that would give us that markup so we can programmatically build the template for the email.

Without this API, I’ve been forced to create a well known Form and manually copy paste the embed code into out email template.

 

Hope that explanation makes sense


mathio-tf
Typeform
Forum|alt.badge.img+5
  • Typeform
  • 888 replies
  • May 16, 2023

I have forwarded your use case to our product manager as a feature request. However i am unable to give any deadlines at the moment.


Reply