Open a video, download or thumbnail link
curl --request GET \
--url https://platform.demosmith.ai/v1/media/{token}import requests
url = "https://platform.demosmith.ai/v1/media/{token}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://platform.demosmith.ai/v1/media/{token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": {
"code": "needs_answers",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "needs_answers",
"message": "<string>",
"details": {}
}
}Demos
Open a video, download or thumbnail link
A form a demo’s video.url, video.download_url and video.thumbnail_url can take (most point at dl.demosmith.ai instead, which serves the file itself). No API key needed: the link itself is the credential. It redirects to the file and lasts 2 hours; get the demo again for a fresh link.
GET
/
media
/
{token}
Open a video, download or thumbnail link
curl --request GET \
--url https://platform.demosmith.ai/v1/media/{token}import requests
url = "https://platform.demosmith.ai/v1/media/{token}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://platform.demosmith.ai/v1/media/{token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"error": {
"code": "needs_answers",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "needs_answers",
"message": "<string>",
"details": {}
}
}Path Parameters
Response
Redirects to the file

