Asset Batches

Create Asset Upload Batch

Changed on

Returns up to 100 presigned upload URLs in one call. PUT each file to its upload_url with the returned headers, then call POST /v3/assets/complete/batches. Send an Idempotency-Key to make retries safe.

post/v3/assets/direct-uploads/batches

Request

  • Base URL
    https://api.heygen.com
  • URL
    https://api.heygen.com/v3/assets/direct-uploads/batches
  • Auth
    • API key in header x-api-key
    • or HTTP bearer

Headers

Idempotency-Keystring

Optional client-supplied key for safely retrying mutations. Subsequent calls within 24 hours that share this key replay the original response — even if the request body differs slightly (a warning is logged). A retry that arrives while the original is still in flight gets a 409 request_in_progress. Keys must be 1–255 characters from [A-Za-z0-9_:.-]; a UUID is a safe default. Scope is per-endpoint and per-resource: the same key on a different route or path parameter is independent.

Request body

titlestring nullable

Display name for the batch, shown in the HeyGen app.

callback_urlstring nullable

Reserved. Asset completion does not emit a webhook.

Response

Successful response

Changes

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status

    • info

      added the optional property / to the response with the status