For developers
Signed download URLs for exercise videos
A signed URL is a link that works for one file and only for a short time. MoveKit uses them to hand you your exercise videos, and your app should use them to show those videos to your users. This page covers both: how MoveKit's download links work today, with real responses, and how to serve exercise clips from your own storage.
How MoveKit's download links work
This is what your browser does when you press Download on the Purchases page. Nothing here needs an API key.
- While you are signed in, the Purchases page asks for one file: the videos, posters or metadata of one exercise or pack.
- MoveKit checks that you own it and answers with a link for that one file, valid for 5 minutes and tied to your account, the item and the file type.
- The link itself needs no login header, so you can hand it to curl, wget or a download manager on a server.
- When the link is used, ownership is checked again. A single exercise streams straight back. A pack answers with a redirect to a storage URL valid for 1 hour, signed for both GET and HEAD, so download managers can check the size first.
- An expired or altered link answers 401: press Download again for a fresh one.
Pack downloads, one ZIP per file type
| Pack | Exercises | Videos ZIP | Posters ZIP | Print posters ZIP |
|---|---|---|---|---|
| Starter | 157 | 562 MB | 78 MB | 448 MB |
| Home | 352 | 1.25 GB | 172 MB | 1000 MB |
| Gym | 429 | 1.51 GB | 219 MB | 1.24 GB |
| Complete | 588 | 2.04 GB | 303 MB | 1.71 GB |
{ "type": "signed_url", "downloadUrl": "/api/downloads/pack-12?artifact=video&ticket=…", "filename": "complete-exercise-library.zip", "expiresAt": "2026-11-02T09:05:00.000Z", "expiresInSeconds": 300}# Paste the link from the response within 5 minutescurl -L -o complete-exercise-library.zip "https://movekit.com/api/downloads/pack-12?artifact=video&ticket=…"
# An expired link:# HTTP 401 {"error":"Download link expired or invalid. Please download again from your purchases."}Copy the files into your own storage
A download link is for moving a file once, not for playing it in your app: it expires on purpose. Download each ZIP, unpack it and upload the clips to your own bucket under a stable key such as movekit/<slug>.mp4.
Store the key, never a signed URL. Your app makes a fresh signed URL each time it needs one.
unzip complete-exercise-library.zip -d movekitaws s3 cp movekit/ s3://your-app-media/movekit/ --recursive --exclude "*" --include "*.mp4"Serve clips to your users with signed URLs
Keep the bucket private and give each signed-in user a short-lived link when a clip plays. That meets the license, which lets you stream the clips to your users but not publish raw file links (License Agreement, section 3).
The same function works for workout screens, exercise pickers and coach dashboards: pass in the videoFile from the metadata.
import { S3Client, GetObjectCommand } from "@aws-sdk/client-s3"import { getSignedUrl } from "@aws-sdk/s3-request-presigner"
// For R2, add endpoint: "https://<account>.r2.cloudflarestorage.com"const s3 = new S3Client({ region: "auto" })
export function clipUrl(videoFile: string) { return getSignedUrl(s3, new GetObjectCommand({ Bucket: "your-app-media", Key: `movekit/${videoFile}`, }), { expiresIn: 60 * 60 })}import { Storage } from "@google-cloud/storage"
const bucket = new Storage().bucket("your-app-media")
export async function clipUrl(videoFile: string) { const [url] = await bucket.file(`movekit/${videoFile}`).getSignedUrl({ version: "v4", action: "read", expires: Date.now() + 60 * 60 * 1000, }) return url}import { issueSignedToken, presignUrl } from "@vercel/blob"
export async function clipUrl(videoFile: string) { const pathname = `movekit/${videoFile}` const validUntil = Date.now() + 60 * 60 * 1000 const token = await issueSignedToken({ pathname, operations: ["get"], validUntil }) const { presignedUrl } = await presignUrl(token, { operation: "get", pathname, access: "private", validUntil }) return presignedUrl}Choose an expiry
Make the link outlive one viewing, not one session: about an hour suits a workout screen. Shorter links are safer to leak but fail more often on slow phones; longer links are easier to share.
Signatures are tied to the HTTP method on most services. If a download manager or CDN probes with HEAD, sign HEAD too, as MoveKit does for pack downloads.
Do not add or reorder query parameters after signing, and expect a resumed download to fail once the link has expired.
From each service's own documentation
| Service | Link lifetime | Worth knowing | Source |
|---|---|---|---|
| Amazon S3 presigned URL | Up to 7 days from the SDKs; 1 minute to 12 hours from the console | A download that has started finishes after expiry; restarting it after expiry fails. | source |
| Amazon CloudFront signed URL | You choose, from minutes to years | Range requests after expiry fail. Adding a query string after signing returns 403. | source |
| Google Cloud Storage | Up to 7 days | Anyone holding the link can use it while it is active. | source |
| Vercel Blob | 1 hour by default, up to 7 days | GET and HEAD are signed separately: a GET link cannot be used for HEAD. | source |
| Cloudflare Stream | 1 hour by default, up to 24 hours | Streams by default; MP4 downloads need a flag in the token. | source |
| Mux signed playback | You choose | When the link expires the video stops playing, even mid-playback. | source |
Checked 31 Oct 2026.
Questions
Why did my MoveKit download link expire?
Each link lasts 5 minutes on purpose, so a forwarded link stops working. Press Download on your Purchases page again for a fresh one; you can download as often as you like.
Can I use MoveKit's download links in my app?
No. They expire and are tied to your account. Copy the files into your own storage and make signed URLs from there.
Do signed URLs stop people from saving the video?
No. They limit who can fetch the file and for how long. Anyone who can play a video can record it; signed URLs stop links from being shared and scraped.
Does MoveKit have an API for this?
Not yet. A MoveKit API is on a waitlist. Today the download links on the Purchases page are how you get the files.