SRTGen.com LogoSRTGen.com

Authentication

We use API keys as the authentication method.

You can generate and manage your API keys directly from your dashboard.

Usage

To authenticate your requests, include your API key in the x-api-key header.

Request Example
curl -X POST https://api.srtgen.com/api/v1/transcribe \
  -H "x-api-key: <YOUR_API_KEY>" \
  -F "file=@/path/to/your/video.mp4"
POSThttps://api.srtgen.com/api/v1/transcribe

Error Handling

Requests that fail authentication will return a 401 Unauthorized status code.

StatusError CodeDescription
401unauthorizedThe API key is missing, invalid, or has been deactivated.
Error Response Structure
{
  "success": false,
  "error": "unauthorized",
  "message": "Invalid or expired API key"
}
Was this page helpful?