Skip to main content
Fetch every saved video in your account. Each video object includes a pre-signed URL you can use to stream or download the file.

Endpoint

GET /v1/videos

Authentication

Pass your API key as a Bearer token in the Authorization header.
Authorization
string
required
Your API key. Format: Bearer <api_key>.

Response

data
object
required
The url field is a pre-signed URL valid for a limited time. If the URL expires, re-fetch the video to get a fresh one.

Examples

curl --request GET \
  --url https://api.demomatic.tech/v1/videos \
  --header 'Authorization: Bearer YOUR_API_KEY'

Response

200
{
  "data": {
    "videos": [
      {
        "id": 123,
        "domain_id": 45,
        "filename": "Product Tour Q1 2024",
        "url": "https://signed-url.example.com/video.mp4",
        "created_at": "2024-01-15T10:00:00.000Z",
        "updated_at": "2024-01-15T10:05:00.000Z",
        "size": 15728640
      }
    ]
  }
}