Fetch Videoselfie Video File
An introduction to fetching the video selfie file for an Incode onboarding session
What is the videoselfie video file?
This file is available only when the videoselfie module is part of your onboarding flow. In this case, you can fetch the final video file once the user has completed the module. The video might not be immediately available, because it can take a period of time for the video encoded video file to be ready.
How do I know when the video file is ready?
You can learn when the file is ready in either of these ways:
- Incode can notify you via the videoselfie upload webhook
- You can apply polling to our fetch scores endpoint, and check for the
videoFileIsPresentflag as shown in the following example:
{
// other scores
"videoConference": {
// ... other scores
"videoFileIsPresent": {
"status": "OK" // this one is OK once we have the file available for download
}
}
}How can I fetch video file?
Use the get download URL of video recording endpoint to obtain a signed, temporary URL to download the video file. The URL is valid for one hour, but if it expires you can regenerate the URL as many times as needed.
Sample response
{
"url": "<signed_url>"
}Updated about 6 hours ago
