https://your-platform.com/api/v1
All API requests require authentication using Bearer token:
Authorization: Bearer YOUR_API_TOKEN
/auth/login
Authenticate user and receive access token
{
"email": "user@example.com",
"password": "password123"
}
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9...",
"user": {
"id": 1,
"username": "john_doe",
"email": "user@example.com"
}
}
/videos
Get list of videos
page - Page number (default: 1)limit - Items per page (default: 20)sort - Sort by (views, date, likes){
"videos": [...],
"pagination": {
"current_page": 1,
"total_pages": 10,
"total_items": 200
}
}
/videos/upload
Upload new video
video - Video filetitle - Video titledescription - Video descriptiontags - Comma-separated tags/live-streams/active
Get list of active live streams
/contests/{id}/enter
Enter a contest
/analytics/dashboard
Get creator analytics dashboard data
{
"error": "Error message",
"code": "ERROR_CODE",
"details": {}
}
API requests are limited to 1000 requests per hour per user.
Configure webhooks to receive real-time notifications for events.