#
API Reference
Complete endpoint documentation for the sTvOS v1 API.
The sTvOS v1 API is a RESTful JSON API organised around multi-tenant client scoping. All endpoints are prefixed with /api/v1.
#
Client-Facing APIs
These APIs are used by mobile apps, web frontends, and third-party integrators building on sTvOS.
API Reference
Authentication API
sTvOS supports multiple authentication flows for end users, trainers, and partner staff.
#
Portal APIs
Dedicated APIs for partner staff and trainer self-service.
#
Authentication Overview
Most endpoints require one or more authentication layers:
Quick test
Verify your API key works:
curl -H "X-API-Key: your-client-api-key" https://api.studiostv.net/api/v1/health
#
Public Endpoints
These endpoints require no authentication:
#
Response Envelope
{
"success": true,
"data": { ... }
}
{
"error": "Human-readable description",
"code": "MACHINE_READABLE_CODE",
"details": "Additional context"
}
{
"success": true,
"data": {
"items": [ ... ],
"pagination": {
"page": 1,
"limit": 20,
"total": 150,
"totalPages": 8
}
}
}