Fetch API
Query the Capsule API to fetch videos from a Capsule (video collection) with various filters, such as the email address of the person who submitted the videos
Last updated
Was this helpful?
Query the Capsule API to fetch videos from a Capsule (video collection) with various filters, such as the email address of the person who submitted the videos
Last updated
Was this helpful?
Expand endpoint spec below to see parameters and a sample response.
These API endpoints require an API Key. Your organization's API Key can be found in in your Capsule dashboard.
GET
GET https://api.capsule.video/videos
Expand this section for parameters and example response.
slug*
String
Capsule slug. The subdomain part of your capsule.video URL (e.g. "your-capsule" in your-capsule-slug.capsule.video)
String
Filter by email address of the person who submitted the video
count
Integer
Page size, default is 25
page
Integer
Page number
sort
Can be set to 'asc' or 'desc', descending is the default
category
String
Filter by category slug
Authorization*
String
Header value is "Bearer <your-capsule-api-key>"
GET
https://api.capsule.video/videos/<video_id>
Expand this section for parameters and example response.
video_id*
String
slug*
String
Slug for the Capsule that contains the video. The subdomain part of your capsule.video URL (e.g. "your-capsule" in your-capsule-slug.capsule.video)
Authorization*
String
Header value is "Bearer <your-capsule-api-key>"
The ID of the video. This is the unique ID at the end of the URL when viewing a video in a public-facing Capsule. It's also the ID sent via .