File conversion API documentation

Submit a file for conversion

POST https://back.onlineconvertfree.com/api/external/api/add-convert/ 
Parameter
FieldTypeDescription
FILEStringFile content
TOStringConversion direction
apikeyStringYour Conversion API key
Return RESPONSE
FieldTypeDescription
statusBooleanReturns true on success or false on error
errorsArrayArray of errors on failed operation
fileIdStringFile id
convertedFilePathString | nullPath to the file
convertedFileStatusStringConversion status 'CONVERTING' | 'READY' | 'FAIL'
minutesNumberFree minutes for conversions

Get a list of converted files

POST https://back.onlineconvertfree.com/api/external/get/file-list
Parameter
FieldTypeDescription
apikeyStringYour Conversion API key
Return RESPONSE
FieldTypeDescription
statusBooleanReturns true on success or false on error
errorsArrayArray of errors on failed operation
files.file.STATUSStringConversion status 'CONVERTING' | 'READY' | 'FAIL'
files.file.CONVERTED_FILEStringPath to the file

Delete file from storage

POST https://back.onlineconvertfree.com/api/external/delete/file/ 
Parameter
FieldTypeDescription
apikeyStringYour Conversion API key
fileIdStringFile id
Return RESPONSE
FieldTypeDescription
statusBooleanReturns true on success or false on error
errorsArrayArray of errors on failed operation

Get file status by ID

POST https://back.onlineconvertfree.com/api/external/get/file-status/ 
Parameter
FieldTypeDescription
apikeyStringYour Conversion API key
fileIdStringFile id
Return RESPONSE
FieldTypeDescription
statusBooleanReturns true on success or false on error
errorsArrayArray of errors on failed operation
file.ID_FILEStringFile id
file.STATUSStringConversion status 'CONVERTING' | 'READY' | 'FAIL'
file.CONVERTED_FILEStringPath to the file
file.AUTHORStringUser id