SRTGen.com LogoSRTGen.com

Project Information

Query metadata, processing status, and available translation languages for any project.

GET/api/v1/project/:id
Quick Implementation
curl -X GET https://api.srtgen.com/api/v1/project/:id \
  -H "x-api-key: <YOUR_API_KEY>"
GEThttps://api.srtgen.com/api/v1/project/:id

This endpoint allows you to check if a project is ready for export and see which languages have been translated. It is highly recommended to use this endpoint for polling before requesting an export.

Path Parameters

ParameterTypeDescription
idStringThe unique Project ID (e.g., 'proj_abc123').

Response Structure

FieldTypeDescription
nameStringProject name.
statusStringProcessing state: completed, processing, error.
availableLanguagesArrayList of language codes ready for export.
mediaDurationNumberMedia duration (seconds).
Sample Response: 200 OK
{
  "success": true,
  "projectId": "proj_abc123",
  "name": "My High Impact Reel",
  "status": "completed",
  "availableLanguages": ["en", "es"],
  "mediaDuration": 124.5
}

Errors

StatusCodeDescription
401unauthorizedInvalid or missing API key.
404not_foundThe specified project ID does not exist.
500server_errorUnexpected error while fetching project data.
Was this page helpful?
SRTGen.com - Professional AI Subtitle Generator