Skip to content

Preview Multiple URL to Videos (Async)

FreshPOST
POST https://api.creatify.ai/api/link_to_videos/preview_list_async/

Generate previews for multiple URL-to-video tasks asynchronously. This is more efficient than calling the preview endpoint individually for each task.

Request Body

NameTypeRequiredDescription
idsarrayYesArray of task IDs to preview

Headers

HeaderTypeRequiredDescription
X-API-IDstringYesYour Creatify API ID
X-API-KEYstringYesYour Creatify API key
Content-TypestringYesapplication/json

Example Request

bash
curl -X POST 'https://api.creatify.ai/api/link_to_videos/preview_list_async/' \
  -H 'X-API-ID: your-api-id' \
  -H 'X-API-KEY: your-api-key' \
  -H 'Content-Type: application/json' \
  -d '{
    "ids": ["ltv-001", "ltv-002", "ltv-003"]
  }'

Response

json
{
  "tasks": [
    {
      "id": "ltv-001",
      "status": "processing"
    },
    {
      "id": "ltv-002",
      "status": "processing"
    },
    {
      "id": "ltv-003",
      "status": "processing"
    }
  ]
}

Status Codes

CodeDescription
200Preview generation started for all tasks
400Bad request -- invalid task IDs
401Unauthorized -- invalid API credentials
402Insufficient credits
429Rate limit exceeded
500Internal server error

TIP

Use GET /api/link_to_videos/{id}/ to poll individual task status. Each task processes independently, so some may complete before others.

WARNING

Credits are deducted for each preview in the batch. Ensure you have sufficient credits for all previews before making the request.