Video Ask change recording method to upload via api | Community
Skip to main content
Question

Video Ask change recording method to upload via api


Austin McMichael

I am using the “Create a form” endpoint of the Video Ask API to dynamically create new forms. Is it possible to set the recording method to “uploaded” vs “streaming” using the api?

Thanks

7 replies

Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14921 replies
  • August 12, 2024

Hi @Austin McMichael This is a great question! Let me check with the VA support team on this, as I’m not quite sure on this one!


Austin McMichael

@Liz I was able to solve the problem for now by using the duplicate form endpoint on a form that already had this setting.


Ash.NZ
Forum|alt.badge.img+4
  • Community Wizard
  • 119 replies
  • August 13, 2024

That’s good to know @Austin McMichael , I was wondering about this following your post. Thanks for sharing that further feedback


Liz
Community Team
Forum|alt.badge.img+5
  • Tech Community Advocate
  • 14921 replies
  • August 13, 2024

Ah, glad it was an easy fix, @Austin McMichael ! 

Our support team also let me know that, to do this, you just have to add ""metadata":{"live_recording":false}" to the body of the POST request whenever you are creating a form. The same works for the PATCH request if you want to update a form. If you want to turn back on the streaming, just set that to true
This is the curl to create a form with the recording method set to uploading

 

curl --location 'https://api.videoask.com/forms' \ --header 'Authorization: Bearer {{token}}' \ --header 'Content-Type: application/json' \ --header 'organization-id: {{organization_id}}' \ --data '{ "title": "My VideoAsk", "show_contact_name": false, "show_contact_email": false, "show_contact_phone_number": false, "show_consent": false, "requires_contact_name": false, "requires_contact_email": false, "requires_contact_phone_number": false, "requires_consent": false, "metadata":{ "live_recording":false } }'

 

Let me know if you end up utilizing this in the future, too!


Ash.NZ
Forum|alt.badge.img+4
  • Community Wizard
  • 119 replies
  • August 13, 2024

That is really useful information @Liz, thanks for sharing!

 


  • Navigating the Land
  • 2 replies
  • November 13, 2024

@Austin McMichael 

Regarding the "Create a form" endpoint in the Video Ask API, unfortunately, the option to set the recording method to "uploaded" versus "streaming" is not explicitly available via the API. You'll likely need to upload the file separately through the appropriate API calls or interface that supports the "uploaded" method.

As for the "Castle APK," it's an unofficial app and could pose security risks. Always ensure you're downloading from trusted sources to avoid any vulnerabilities.


  • Navigating the Land
  • 2 replies
  • November 13, 2024

@Austin McMichael

Regarding the "Create a form" endpoint in the Video Ask API, unfortunately, the option to set the recording method to "uploaded" versus "streaming" is not explicitly available via the API. You'll likely need to upload the file separately through the appropriate API calls or interface that supports the "uploaded" method.

As for the "Castle APK," it's an unofficial app and could pose security risks. Always ensure you're downloading from trusted sources to avoid any vulnerabilities.


Reply