# App API

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

Source: https://clipmux.com/docs/reference/api/app

## The key's own app [#the-keys-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 [#response-200]

The app

```json
{
  "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 [#errors]

| Status | Code |
| --- | --- |
| 400 | [`invalid_request`](/docs/reference/errors#invalid_request) |
| 401 | [`unauthorized`](/docs/reference/errors#unauthorized) |
| 403 | [`insufficient_scope`](/docs/reference/errors#insufficient_scope) |
| 429 | [`rate_limited`](/docs/reference/errors#rate_limited) |
