API DocsGetting StartedOverview

Overview

GET/api/videos
videos:read

The Flare API lets you programmatically manage your video library, automate uploads, customize embeds, and retrieve analytics data.

Base URL

All API requests should be made to:

  • https://flare.link

Authentication

Include your API key as a Bearer token in the Authorization header:

  • Authorization: Bearer flr_pat_...

Available Scopes

API keys can be configured with the following permission scopes:

  • videos:read - List and fetch video details
  • videos:write - Create, update, and delete videos
  • uploads:write - Generate presigned upload URLs
  • embeds:write - Modify embed settings and get embed codes

Examples

curl
curl https://flare.link/api/videos \
  -H "Authorization: Bearer flr_pat_..."
node
const res = await fetch("https://flare.link/api/videos", {
  headers: {
    Authorization: "Bearer flr_pat_..."
  }
});
const data = await res.json();
python
import requests

res = requests.get(
  "https://flare.link/api/videos",
  headers={"Authorization": "Bearer flr_pat_..."}
)
print(res.json())

Expected response

{
  "success": true,
  "videos": []
}