Channels
Channels
Channels allow you to organize and group videos into collections for display on your website or application.
Base URL
example
https://api.dyntube.com/v1Available Endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST | /channels | Create a new channel |
| GET | /channels | Get list of channels |
| GET | /channels/{id} | Get a single channel |
| PUT | /channels/{id} | Update a channel |
| DELETE | /channels/{id} | Delete a channel |
| GET | /channels/templates | Get available channel templates |
Channel Features
- Video Collections: Group multiple videos into a single embeddable channel
- Project Integration: Include all videos from specific projects
- Custom Templates: Apply different visual templates to your channels
- Private Links: Control access with private link options
Quick Example
javascript
// Create a new channel
const response = await fetch('https://api.dyntube.com/v1/channels', {
method: 'POST',
headers: {
'Authorization': 'Bearer YOUR_API_KEY',
'Content-Type': 'application/json'
},
body: JSON.stringify({
name: 'Product Tutorials',
description: 'Video tutorials for our product',
videoKeys: ['vid_abc123', 'vid_def456'],
privateLinkEnabled: true
})
});
const channel = await response.json();
console.log('Channel key:', channel.key);Something missing or wrong here? Tell us and we will correct it. New to DynTube? Start with uploading and embedding.