Skip to main content
POST
/
v1
/
jobs
/
upload
Upload file and create job
curl --request POST \
  --url https://api.mediapi.dev/v1/jobs/upload \
  --header 'Content-Type: multipart/form-data' \
  --header 'X-API-Key: <api-key>' \
  --form file='@example-file' \
  --form 'operations=<string>' \
  --form 'webhook_url=<string>'
{
  "id": "<string>",
  "status": "<string>"
}

Authorizations

X-API-Key
string
header
required

Body

multipart/form-data
file
file
required

The input file

operations
string
required

JSON array of operations

webhook_url
string

Response

202 - application/json

Job accepted

id
string
status
string