Answered

Custom Welcome and Thank You screen not in form API payload

  • 24 February 2023
  • 4 replies
  • 87 views

Userlevel 1

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"
}
}
],

 

icon

Best answer by mathio 1 March 2023, 12:04

View original

4 replies

Userlevel 7
Badge +5

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

Userlevel 7
Badge +5

Hello @nickola 

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

Userlevel 1

Hello @mathio,

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

 

 

Userlevel 7
Badge +5

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