---
title: "Import media from a URL for subtitles"
method: POST
path: "/actions/subtitles_upload_import"
tags: ["subtitles"]
---

# Import media from a URL for subtitles

`POST /actions/subtitles_upload_import`

## Request

- Base URL: `https://api.voicecheap.ai/v1`
- URL: `https://api.voicecheap.ai/v1/actions/subtitles_upload_import`
- Auth: one of:
  - API key in header `x-api-key`
  - HTTP bearer

Import a direct public HTTPS audio/video URL into your account. Redirects and private networks are refused; file and duration limits apply. Use the resulting fileKey in a generation action.

## Headers

- `Idempotency-Key` string, uuid

## Request body

- object
  - `url` string, uri, required
  - `filename` string
  - `kind` 'transcription' | 'video_to_srt' | 'add_subtitles' | 'animated_captions' | 'project', required
  - `requestId` string, uuid: UUID v4 for this action. Reuse the same ID with identical arguments on retries.

## Response `200`

Completed result or saved request state.

- object
  - `data` unknown, required
  - `requestId` string, uuid

## Other responses

- `202`: The action is running. Poll action_request_get with requestId and operation.
- `400`: Invalid arguments.
- `401`: Invalid or expired API key.
- `403`: Permission or subscription required.
- `409`: Idempotency conflict or account concurrency limit.
- `429`: Shared account rate or monthly limit reached.

---

[API](https://skmtc.dev/voicecheap/apis/voicecheap-api.md) · [All operations](https://skmtc.dev/voicecheap/apis/voicecheap-api/llms.txt) · [OpenAPI document](https://skmtc.dev/voicecheap/apis/voicecheap-api/revisions/0cb50268f31a?raw)
