Skip to Content
API reference

App API

The API key's own app: its URLs, scopes, token lifetime and signing keys.

The key's own app

GET /v1/app

The key's own app. base_url is the media origin playback URLs start with; upload_origins are where a browser sends parts. With base_url, they are what a page's Content-Security-Policy must allow. A token's exp - iat may not exceed max_token_lifetime_seconds; signing_keys are the keys that still verify tokens, newest first.

Authentication: An API key.

Response 200

The app

{
  "id": "app_01j6hrm8vmt8f27hd13py42rdc",
  "name": "Course site",
  "scopes": [
    "uploads:write",
    "assets:read",
    "assets:write"
  ],
  "public_url": "https://video.example.com",
  "base_url": "https://media.example.com",
  "max_token_lifetime_seconds": 604800,
  "upload_origins": [
    "https://video.example.com"
  ],
  "signing_keys": [
    {
      "kid": "kid_01jsxwyx7223sqpr1we59kgw33",
      "public_key_pem": "-----BEGIN PUBLIC KEY-----\nMFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAE...\n-----END PUBLIC KEY-----\n",
      "created_at": "2026-11-18T09:30:00Z"
    }
  ]
}

Errors

On this page