Skip to main content

/api/v1/upload/chunk/complete

caution

This endpoint requires authentication using an API key.

POST: Complete the upload

After uploading all chunks, this endpoint should be called. Keep calling this until status: "FINISHED" is returned together with an url. To avoid ratelimits, we recommend implementing a 5 seconds delay after each request.

Headers

  • Authentication: API-KEY-HERE

Body

FieldTypeRequiredDescription
idstringThe partialFileHandler instance id

200 (OK)

FieldTypeDescription
status"FINISHED" | "PROCESSING"The conversion status
urlstring | nullThe url to the uploaded file
{
"url": null,
"status": "PROCESSING"
}
{
"url": "http://cdn.ijskoud.dev/files/5G48qa0Cr2Xl.png",
"status": "FINISHED"
}