BevylDevelopers

Complete an upload

Billed: $2.50 / minute of footage

Charged to your prepaid partner balance. See Pricing.
POST
/api/partner/v1/videos/upload/complete

Completes an upload and starts processing.

Authorization

partnerApiKey
headerAuthorizationBearer <token>

Send as Authorization: Bearer bvl_….

Request Body

application/json
  1. body
workspaceId*string

Your ID for the customer workspace.

Length1 <= length
uploadId*string

The upload, from prepareVideoUpload.

Formatuuid
durationSeconds?number
Range0 < value <= 7200

Response Body

The upload was already complete. Returns the current video.

application/json
  1. response
ok*boolean
uploadId*string

The upload, from prepareVideoUpload.

Formatuuid
video*
task*
curl -X POST 'https://www.bevyl.ai/api/partner/v1/videos/upload/complete' \  -H 'Content-Type: application/json' \  -d '{  "workspaceId": "customer-123",  "uploadId": "ef523ba8-509e-47af-8e2c-5fa751596497"}'
{  "ok": true,  "uploadId": "ef523ba8-509e-47af-8e2c-5fa751596497",  "video": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "title": "string",    "processingStatus": "string",    "url": "http://example.com"  },  "task": {    "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",    "type": "video-processing",    "status": "working",    "statusMessage": "Video upload is being completed.",    "pollIntervalMs": 5000  }}