Hi,
I have an existing Web App that has its own user (contact in VideoAsk terms) creation infrastructure.
As part of the onboarding process, users will first sign up in the existing app, and then will be asked to provide video answers via the VideAsk embedded iframe.
Once all video answers are collected and transcoded, I want to downloaded the video answers and connect them to the existing user via the web app’s DB. This will be done via a the form_response web hook.
I thought of one of these ways to complete the integration, but I have a few gaps in each one of them, and would love to get your thoughts on how to overcome these gaps:
- Create the VideoAsk contact via the https://api.videoask.com/respondents API, and then pass the contact ID to the VideoAsk iframe ==> Missing gap here: Does the iframe support such an option? If so, what is the URL parameter name?
- I will pass my Web App’s user ID to the VideoAsk iframe; VideoAsk will create the contact, and then the web hook will get this ID back via the payload. ==> Missing gap here: Does the iframe support such an option? If so, what is the URL parameter name? When the payload is received by the web hook, how will this value be returned to me? I saw that there is a respondent_id field in the payload - could that field be used for this purpose?
As a workaround, I thought of storing the timestamp of opening the iframe in my DB, and try to match it with the created_at payload filed that is sent to the web hook. This will work as long as there are not too many concurrent users answering the video questions, and so might not be robust enough.
Any help will be appreciated.
Regards,
Yehuda