Custom Welcome and Thank You screen not in form API payload | Community
Skip to main content
Answered

Custom Welcome and Thank You screen not in form API payload

  • February 24, 2023
  • 4 replies
  • 105 views

Hi,

After testing End Screens with Redirect Url, and Welcome Screen with image, layout, and recall Information, it appears that they are not reference in the form JSON payload if we make a GET request.

 

For this form using a “Redirect To Url” end screen, the extract of the payload is the following :

  1. No “welcome_screens” object array for the welcome screen
  2. 1 record different than the usual DefaultTyScreen, but no “redirect_url” property on the url to redirect the user to.

The Create API include documentation of the welcome_screens & thankyou_screens Array, but those fields are not in the payload.

Any help from the support Team will be greatly appreciated 

Best regards

"thankyou_screens":[
   {
      "id":"9OBofKAfh5yc",
      "ref":"01GQZMB6XVEK3G2Y85DQ3MACGM",
      "title":"",
      "type":"thankyou_screen",
      "properties":{
         "show_button":true,
         "share_icons":true,
         "button_mode":"default_redirect",
         "button_text":"Create a typeform"
      }
   },
   {
      "id":"DefaultTyScreen",
      "ref":"default_tys",
      "title":"Thanks for completing this typeform\nNow *create your own* — it's free, easy, & beautiful",
      "type":"thankyou_screen",
      "properties":{
         "show_button":true,
         "share_icons":false,
         "button_mode":"default_redirect",
         "button_text":"Create a *typeform*"
      },
      "attachment":{
         "type":"image",
         "href":"https://images.typeform.com/images/2dpnUBBkz2VN"
      }
   }
],

 

Best answer by mathio-tf

When I retrieve the form definition I can see definition for the “default typeform” you start with:

 

This is because your typeform was not published yet. The forms endpoint returns latest published form definition of your typeform. Once you publish your typeform, you should see the response as you expect.

If you think this is not expected, feel free to raise a support ticket.

View original

4 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14884 replies
  • February 24, 2023

@mathio do you happen to know anything about these two in the APIs? 


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

Hello @nickola 

which API endpoint(s) are you using? What is your form ID?


  • Author
  • Explorer
  • 4 replies
  • February 27, 2023

Hello @mathio,

The form ID is : jZJT7bcX and the GET request is on the https://api.typeform.com/forms endpoint.

 

 


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

When I retrieve the form definition I can see definition for the “default typeform” you start with:

 

This is because your typeform was not published yet. The forms endpoint returns latest published form definition of your typeform. Once you publish your typeform, you should see the response as you expect.

If you think this is not expected, feel free to raise a support ticket.


Reply