Video • Switchboard Canvas Developers

Video Support With Switchboard Canvas you can overlay an image created from a template onto a video. Currently, the video must be publicly visible on the web. This can be with any hosting provider, or on a cloud storage service such as AWS S3. Authorization To authorize your requests to Switchboard Canvas, you'll need your API key. Your API key can be found in the top-right corner on the main Templates page, after you sign in at Switchboard. Add your API key to the Headers collection of your request: X-API-Key: Request Format To make a request to overlay an image onto a video, you need to specify two additional properties: videos An array of objects containing a single property, url , which is the URL of the publicly available video file An array of objects containing a single property, , which is the URL of the publicly available video file webhook The URL of a webhook that will receive a POST request when processing has completed. Example request { "template" : "video-test" , "sizes" : [ { "width" : 1920 , "height" : 1080 } ] , "videos" : [ { "url" : "https://example.com/video.mp4" } ] , "webhook" : "https://example.com/webhook" } Example response The URL supplied in the webhook property receives a POST request when video processing is complete. An example of the JSON payload is shown below. Review the status and result properties of the summary array to determine if processing of the videos supplied was successful. The summary.result.url property contains a link to the generated video file.
Was this article helpful?

Still puzzling over something?

The agent has read this article — and everything around it. Ask a follow-up and it answers in seconds.