# Kaltura

> Add, update and organize Kaltura videos and other media, with their categories, captions, playlists and users.

App · 26 actions. Web page: https://docs.lodol.com/docs/integrations/kaltura

## Actions

### Add media from URL

Create a media entry from a file at a web address. Kaltura downloads and converts it, so it is ready a few minutes later.

**Inputs**

- File address (`url`, text, required): The address of the video, audio or image file, starting with https://.
- Name (`name`, text, required): The entry's name.
- Kind (`media_type`, text): What kind of media the file is. Leave empty for video. One of: `1` (Video), `2` (Image), `5` (Audio).
- Description (`description`, text): The description.
- Tags (`tags`, text): Tags, separated by commas, such as `webinar, 2026`.
- Category (`category_id`, number): A category to put the entry in. At least 1.
- Reference ID (`reference_id`, text): Your own ID for it, such as the ID in another system.
- Available from (`starts_at`, date and time): When the entry becomes available to viewers.
- Available until (`ends_at`, date and time): When the entry stops being available to viewers.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "categories": "example",
    "categoriesIds": "example",
    "createdAt": 1,
    "dataUrl": "example",
    "description": "example",
    "downloadUrl": "example",
    "duration": 1,
    "height": 1,
    "id": "example",
    "mediaType": 1,
    "name": "example",
    "plays": 1,
    "referenceId": "example",
    "status": "example",
    "tags": "example",
    "thumbnailUrl": "example",
    "updatedAt": 1,
    "userId": "example",
    "views": 1,
    "width": 1
  }
}
```

### Add media to category

Put a media entry in a category.

**Inputs**

- Media entry (`entry_id`, text, required): The media entry: a video, audio file or image in Kaltura.
- Category (`category_id`, number, required): The category. At least 1.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "categoryId": 1,
    "createdAt": 1,
    "entryId": "example",
    "status": 1
  }
}
```

### Approve media

Approve a media entry waiting for moderation, so it can be played.

**Inputs**

- Media entry (`entry_id`, text, required): The media entry: a video, audio file or image in Kaltura.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "approved": true,
    "entry_id": "example"
  }
}
```

### Create category

Create a category, at the top level or under another category.

**Inputs**

- Name (`name`, text, required): The category's name. It can't contain <, > or a comma.
- Parent category (`parent_id`, number): The category to put it under. Leave empty for the top level. At least 1.
- Description (`description`, text): The description.
- Tags (`tags`, text): Tags, separated by commas, such as `webinar, 2026`.
- Reference ID (`reference_id`, text): Your own ID for it, such as the ID in another system.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "createdAt": 1,
    "depth": 1,
    "description": "example",
    "directEntriesCount": 1,
    "entriesCount": 1,
    "fullIds": "example",
    "fullName": "example",
    "id": 1,
    "name": "example",
    "parentId": 1,
    "referenceId": "example",
    "status": 1,
    "tags": "example",
    "updatedAt": 1
  }
}
```

### Create playlist

Create a playlist of media entries you choose, in the order you list them.

**Inputs**

- Name (`name`, text, required): The playlist's name.
- Media entries (`entry_ids`, list, required): The media entries, in playing order.
- Description (`description`, text): The description.
- Tags (`tags`, text): Tags, separated by commas, such as `webinar, 2026`.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "createdAt": 1,
    "description": "example",
    "duration": 1,
    "executeUrl": "example",
    "id": "example",
    "name": "example",
    "playlistContent": "example",
    "playlistType": 1,
    "plays": 1,
    "tags": "example",
    "updatedAt": 1,
    "views": 1
  }
}
```

### Create user

Add a user to your Kaltura account, such as someone who will own media entries.

**Inputs**

- User (`kaltura_user_id`, text, required): The new user's ID, such as their email address or username.
- Email (`email`, text): The user's email address.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Screen name (`screen_name`, text): The name Kaltura shows for the user.
- Title (`title`, text): Job title.
- Company (`company`, text): Company.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "company": "example",
    "createdAt": 1,
    "email": "example",
    "firstName": "example",
    "fullName": "example",
    "id": "example",
    "isAdmin": true,
    "lastName": "example",
    "screenName": "example",
    "status": 1,
    "title": "example",
    "updatedAt": 1
  }
}
```

### Delete category

Delete a category and the categories under it. The media entries stay in Kaltura.

**Inputs**

- Category (`category_id`, number, required): The category. At least 1.
- Move entries to parent (`move_entries_to_parent`, true/false): Move the category's entries to its parent category instead of just taking them out.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "category_id": 1,
    "deleted": true
  }
}
```

### Delete media

Delete a media entry and its files.

**Inputs**

- Media entry (`entry_id`, text, required): The media entry: a video, audio file or image in Kaltura.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "entry_id": "example"
  }
}
```

### Delete playlist

Delete a playlist. Its media entries stay in Kaltura.

**Inputs**

- Playlist (`playlist_id`, text, required): The playlist.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "deleted": true,
    "playlist_id": "example"
  }
}
```

### Delete user

Delete a user from your Kaltura account. Their media entries stay.

**Inputs**

- User (`kaltura_user_id`, text, required): The user's ID in Kaltura, often their email address or username.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "company": "example",
    "createdAt": 1,
    "email": "example",
    "firstName": "example",
    "fullName": "example",
    "id": "example",
    "isAdmin": true,
    "lastName": "example",
    "screenName": "example",
    "status": 1,
    "title": "example",
    "updatedAt": 1
  }
}
```

### Get caption download link

Get a link to download a caption file.

**Inputs**

- Caption ID (`caption_id`, text, required): The caption's ID, from List captions.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "url": "example"
  }
}
```

### Get category

Get a category's name, place in the tree and how many entries it holds.

**Inputs**

- Category (`category_id`, number, required): The category. At least 1.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "createdAt": 1,
    "depth": 1,
    "description": "example",
    "directEntriesCount": 1,
    "entriesCount": 1,
    "fullIds": "example",
    "fullName": "example",
    "id": 1,
    "name": "example",
    "parentId": 1,
    "referenceId": "example",
    "status": 1,
    "tags": "example",
    "updatedAt": 1
  }
}
```

### Get media

Get a media entry's details: its name, status, duration, categories, plays, and thumbnail and download links.

**Inputs**

- Media entry (`entry_id`, text, required): The media entry: a video, audio file or image in Kaltura.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "categories": "example",
    "categoriesIds": "example",
    "createdAt": 1,
    "dataUrl": "example",
    "description": "example",
    "downloadUrl": "example",
    "duration": 1,
    "height": 1,
    "id": "example",
    "mediaType": 1,
    "name": "example",
    "plays": 1,
    "referenceId": "example",
    "status": "example",
    "tags": "example",
    "thumbnailUrl": "example",
    "updatedAt": 1,
    "userId": "example",
    "views": 1,
    "width": 1
  }
}
```

### Get playlist

Get a playlist's details and the entries in it.

**Inputs**

- Playlist (`playlist_id`, text, required): The playlist.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "createdAt": 1,
    "description": "example",
    "duration": 1,
    "executeUrl": "example",
    "id": "example",
    "name": "example",
    "playlistContent": "example",
    "playlistType": 1,
    "plays": 1,
    "tags": "example",
    "updatedAt": 1,
    "views": 1
  }
}
```

### Get user

Get a user's details.

**Inputs**

- User (`kaltura_user_id`, text, required): The user's ID in Kaltura, often their email address or username.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "company": "example",
    "createdAt": 1,
    "email": "example",
    "firstName": "example",
    "fullName": "example",
    "id": "example",
    "isAdmin": true,
    "lastName": "example",
    "screenName": "example",
    "status": 1,
    "title": "example",
    "updatedAt": 1
  }
}
```

### List captions

List a media entry's captions, with their language, format and status.

**Inputs**

- Media entry (`entry_id`, text, required): The media entry: a video, audio file or image in Kaltura.
- Page (`page`, number): The page of results to return. Leave empty for the first page. At least 1.
- Results per page (`page_size`, number): How many results to return, up to 500. Leave empty for 30. From 1 to 500.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "objects": [
      {
        "createdAt": 1,
        "entryId": "example",
        "fileExt": "example",
        "format": "example",
        "id": "example",
        "isDefault": 1,
        "label": "example",
        "language": "example",
        "languageCode": "example",
        "status": 1,
        "updatedAt": 1
      }
    ],
    "totalCount": 1
  }
}
```

### List categories

List categories, optionally under one parent or matching words.

**Inputs**

- Search (`search`, text): Words to find in the categories' names and descriptions.
- Parent category (`parent_id`, number): Only the categories directly under this one. At least 1.
- Page (`page`, number): The page of results to return. Leave empty for the first page. At least 1.
- Results per page (`page_size`, number): How many results to return, up to 500. Leave empty for 30. From 1 to 500.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "objects": [
      {
        "createdAt": 1,
        "depth": 1,
        "description": "example",
        "directEntriesCount": 1,
        "entriesCount": 1,
        "fullIds": "example",
        "fullName": "example",
        "id": 1,
        "name": "example",
        "parentId": 1,
        "referenceId": "example",
        "status": 1,
        "tags": "example",
        "updatedAt": 1
      }
    ],
    "totalCount": 1
  }
}
```

### List category media

List the media entries in a category.

**Inputs**

- Category (`category_id`, number, required): The category. At least 1.
- Page (`page`, number): The page of results to return. Leave empty for the first page. At least 1.
- Results per page (`page_size`, number): How many results to return, up to 500. Leave empty for 30. From 1 to 500.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "objects": [
      {
        "categoryId": 1,
        "createdAt": 1,
        "entryId": "example",
        "status": 1
      }
    ],
    "totalCount": 1
  }
}
```

### List media

Find media entries by words, category, status, kind, tags or when they were added or changed, newest first unless you choose another order.

**Inputs**

- Search (`search`, text): Words to find in the entries' names, descriptions and tags.
- Category (`category_id`, number): Only entries in this category. At least 1.
- Status (`status`, text): Only entries with this status. One of: `2` (Ready), `1` (Converting), `0` (Importing), `4` (Pending), `5` (Awaiting moderation), `6` (Blocked), `7` (No content yet), `-1` (Conversion failed), `-2` (Import failed).
- Kind (`media_type`, text): Only this kind of media. One of: `1` (Video), `2` (Image), `5` (Audio).
- Tags (`tags`, text): Only entries with any of these tags, separated by commas.
- Added after (`created_after`, date and time): Only entries added at or after this time.
- Changed after (`updated_after`, date and time): Only entries changed at or after this time.
- Sort by (`sort`, text): The order to return entries in. Leave empty for newest first. One of: `-createdAt` (Newest first), `-updatedAt` (Recently changed first), `+name` (Name, A to Z), `-plays` (Most played first), `-views` (Most viewed first).
- Page (`page`, number): The page of results to return. Leave empty for the first page. At least 1.
- Results per page (`page_size`, number): How many results to return, up to 500. Leave empty for 30. From 1 to 500.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "objects": [
      {
        "categories": "example",
        "categoriesIds": "example",
        "createdAt": 1,
        "dataUrl": "example",
        "description": "example",
        "downloadUrl": "example",
        "duration": 1,
        "height": 1,
        "id": "example",
        "mediaType": 1,
        "name": "example",
        "plays": 1,
        "referenceId": "example",
        "status": "example",
        "tags": "example",
        "thumbnailUrl": "example",
        "updatedAt": 1,
        "userId": "example",
        "views": 1,
        "width": 1
      }
    ],
    "totalCount": 1
  }
}
```

### List playlists

List your playlists, newest first.

**Inputs**

- Page (`page`, number): The page of results to return. Leave empty for the first page. At least 1.
- Results per page (`page_size`, number): How many results to return, up to 500. Leave empty for 30. From 1 to 500.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "objects": [
      {
        "createdAt": 1,
        "description": "example",
        "duration": 1,
        "executeUrl": "example",
        "id": "example",
        "name": "example",
        "playlistContent": "example",
        "playlistType": 1,
        "plays": 1,
        "tags": "example",
        "updatedAt": 1,
        "views": 1
      }
    ],
    "totalCount": 1
  }
}
```

### List users

List the users in your Kaltura account, newest first.

**Inputs**

- ID or name starts with (`search`, text): Only users whose ID or screen name starts with this text.
- Page (`page`, number): The page of results to return. Leave empty for the first page. At least 1.
- Results per page (`page_size`, number): How many results to return, up to 500. Leave empty for 30. From 1 to 500.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "objects": [
      {
        "company": "example",
        "createdAt": 1,
        "email": "example",
        "firstName": "example",
        "fullName": "example",
        "id": "example",
        "isAdmin": true,
        "lastName": "example",
        "screenName": "example",
        "status": 1,
        "title": "example",
        "updatedAt": 1
      }
    ],
    "totalCount": 1
  }
}
```

### Remove media from category

Take a media entry out of a category. The entry stays in Kaltura.

**Inputs**

- Media entry (`entry_id`, text, required): The media entry: a video, audio file or image in Kaltura.
- Category (`category_id`, number, required): The category. At least 1.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "category_id": 1,
    "entry_id": "example"
  }
}
```

### Set thumbnail from URL

Make the image at a web address a media entry's thumbnail.

**Inputs**

- Media entry (`entry_id`, text, required): The media entry: a video, audio file or image in Kaltura.
- Image address (`url`, text, required): The address of the image, starting with https://.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "categories": "example",
    "categoriesIds": "example",
    "createdAt": 1,
    "dataUrl": "example",
    "description": "example",
    "downloadUrl": "example",
    "duration": 1,
    "height": 1,
    "id": "example",
    "mediaType": 1,
    "name": "example",
    "plays": 1,
    "referenceId": "example",
    "status": "example",
    "tags": "example",
    "thumbnailUrl": "example",
    "updatedAt": 1,
    "userId": "example",
    "views": 1,
    "width": 1
  }
}
```

### Update category

Rename a category, move it under another one, or change its description, tags or reference ID. Fields left empty stay as they are.

**Inputs**

- Category (`category_id`, number, required): The category. At least 1.
- Name (`name`, text): The name.
- Parent category (`parent_id`, number): The category to move it under. At least 1.
- Description (`description`, text): The description.
- Tags (`tags`, text): Tags, separated by commas, such as `webinar, 2026`.
- Reference ID (`reference_id`, text): Your own ID for it, such as the ID in another system.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "createdAt": 1,
    "depth": 1,
    "description": "example",
    "directEntriesCount": 1,
    "entriesCount": 1,
    "fullIds": "example",
    "fullName": "example",
    "id": 1,
    "name": "example",
    "parentId": 1,
    "referenceId": "example",
    "status": 1,
    "tags": "example",
    "updatedAt": 1
  }
}
```

### Update media

Change a media entry's name, description, tags, reference ID or when it is available. Fields left empty stay as they are.

**Inputs**

- Media entry (`entry_id`, text, required): The media entry: a video, audio file or image in Kaltura.
- Name (`name`, text): The name.
- Description (`description`, text): The description.
- Tags (`tags`, text): The entry's tags, separated by commas. They replace its current tags.
- Reference ID (`reference_id`, text): Your own ID for it, such as the ID in another system.
- Available from (`starts_at`, date and time): When the entry becomes available to viewers.
- Available until (`ends_at`, date and time): When the entry stops being available to viewers.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "categories": "example",
    "categoriesIds": "example",
    "createdAt": 1,
    "dataUrl": "example",
    "description": "example",
    "downloadUrl": "example",
    "duration": 1,
    "height": 1,
    "id": "example",
    "mediaType": 1,
    "name": "example",
    "plays": 1,
    "referenceId": "example",
    "status": "example",
    "tags": "example",
    "thumbnailUrl": "example",
    "updatedAt": 1,
    "userId": "example",
    "views": 1,
    "width": 1
  }
}
```

### Update user

Change a user's email, name, title or company. Fields left empty stay as they are.

**Inputs**

- User (`kaltura_user_id`, text, required): The user's ID in Kaltura, often their email address or username.
- Email (`email`, text): The user's email address.
- First name (`first_name`, text): First name.
- Last name (`last_name`, text): Last name.
- Screen name (`screen_name`, text): The name Kaltura shows for the user.
- Title (`title`, text): Job title.
- Company (`company`, text): Company.

**Outputs**

- `data` (object): The response from Kaltura.

**Example output**

```json
{
  "data": {
    "company": "example",
    "createdAt": 1,
    "email": "example",
    "firstName": "example",
    "fullName": "example",
    "id": "example",
    "isAdmin": true,
    "lastName": "example",
    "screenName": "example",
    "status": 1,
    "title": "example",
    "updatedAt": 1
  }
}
```
