GET /v1/subtitles/{jobId}/download

Download a subtitle artifact — Shorty API

Returns a short-lived presigned URL for a completed subtitle job’s artifact. Use `?kind=` to pick srt (default), vtt, ass, or the burned-in mp4. A job that is not complete returns 409; a missing or foreign job id returns 404; an artifact kind not generated for the job returns 404.

Open in ClaudeOpen in ChatGPT
GET /v1/subtitles/{jobId}/download

Returns a short-lived presigned URL for a completed subtitle job’s artifact. Use ?kind= to pick srt (default), vtt, ass, or the burned-in mp4. A job that is not complete returns 409; a missing or foreign job id returns 404; an artifact kind not generated for the job returns 404.

Authentication

Requires a Bearer credential — a shk_live_ API key or an OAuth 2.1 access token with the scope for this resource. See Authentication.

Parameters

NameInRequiredDescription
jobIdpathYes
kindqueryNo

Example request

curl -X GET https://aishorty.com/v1/v1/subtitles/{jobId}/download?kind=srt \
  -H "Authorization: Bearer shk_live_your_key"

Response · 200

FieldTypeRequiredDescription
urlstringYesShort-lived presigned URL to download the subtitle artifact.
expires_atstringYesISO-8601 UTC timestamp the presigned URL expires.
kind"srt" | "vtt" | "ass" | "burned"YesArtifact kind: srt/vtt/ass subtitle file, or the burned-in mp4.
filenamestringYesSuggested download filename.

Errors

On failure this endpoint returns an RFC 9457 problem body. Possible statuses:

  • 400
  • 401
  • 403
  • 404
  • 409
  • 429
  • 500

Switch on the problem code, not the status. See the error reference for every code and how to fix it.