- Documentation
- API Reference
- Projects
- importer.vidinfra.com
- Auth
- User Registration
- User Login
- Verify-email
- Forgot Password
- Forgot Password Verify OTP
- Forgot Password Set
- Resend OTP
- Logout
- Set Password
- Check Account exists
- Update Password
- Google Oauth Redirect
- Google Oauth Callback
- api-access-check
- New Auth token using Refresh token
- Github Oauth Redirect
- Google Oauth Callback Copy
- Get User Sessions
- Delete User Sessions
- User
- Organization
- Organization's invitations
- Audits
- Members
- API Keys
- Folders
- Videos
- Video Metas
- Video Captions
- Video Chapter
- Uploads
- Tags
- Players
- Webhook Endpoints
- Advertisements
- Webhook Event Logs
- Analytics Direct Api
- geo-distribution
- Project Views
- avg video watch
- Total watch Time
- Project Avg Watch per Unique user
- Total Player Error
- project popularity-analysis
- Project Collection Insights
- Collection Views
- Collection avg Watch time
- Collection Avg Watch per unique user
- Collection Geo Distribution
- Get all Users
- User media views
- User Avg video watch
- user Player log
- user sessions
- Get all Video
- video Player error
- Video View
- video Geo Distribution
- video Avg watch
- copy
- Streams
- Stream Metas
- Usages
- Encoding profile
- Project Matrics
- Access Control
- Analytics
- Project Get geo-distribution
- project views
- Project avg video watch
- Project Total Watch
- Project Avg Watch per Unique user
- Project All Player Errors
- Project Popularity Analysis
- Project Collections insights
- Collection Geo Distribution
- Collection avg watch time
- Collection avg watch per unique User
- Collection Player error
- Video Geo Distribution
- Video views
- Video Avg Watch
- Video Player Log
- User
- User Avg Video Watch
- User Total Watch
- User player error log
- Plan
- Upload Tokens
- subscribe
- Transaction
- Invoice
- vimeo video importer
- test
- transcoding service
- transcoding service v2
- Welcome to vidinfraGET
- health checkGET
- Regions ListGET
- keyPOST
- Untitled EndpointGET
Get video caption
Developing
GET
/projects/{projId}/videos/{videoId}/captions
Get a video caption for a video under a project#
GET
/projects/<project_id>/videos/<video_id>/captions
Request
Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.Example:
Authorization: Bearer ********************
Path Params
projId
stringÂ
required
Example:
f32a0116-fe11-454c-8e6a-5ff4101882e5
videoId
stringÂ
required
Example:
aa88b7e7-b2d8-49b9-905c-cdf9b3bd9778
Request samples
Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'http://localhost:8080/v1/projects/f32a0116-fe11-454c-8e6a-5ff4101882e5/videos/aa88b7e7-b2d8-49b9-905c-cdf9b3bd9778/captions'
Responses
🟢200OK
application/json
Body
object {0}
Example
{"message":"Video captions loaded successfully.","result":[{"id":"06de7d20-87e8-4a87-b87f-057b4dfac882","user_id":"1c70e687-ec6f-4d5c-9e08-6faf79cf6915","project_id":"85afd2ef-1569-4f95-83bc-81b98eb736e2","video_id":"e2f3981c-745c-4b0b-a2be-530feb8c53c0","src":"caption-1758112907658268672.srt","language":"","label":"","default":null},{"id":"0d39511c-5796-4de7-b12e-e2a62dd8dcdd","user_id":"1c70e687-ec6f-4d5c-9e08-6faf79cf6915","project_id":"85afd2ef-1569-4f95-83bc-81b98eb736e2","video_id":"e2f3981c-745c-4b0b-a2be-530feb8c53c0","src":"caption-1758112595044208640.srt","language":"","label":"","default":null}],"success":true}
🟢200OK