Files

POST https://octosender.com/files/create_api
Parameters Details Description
uuid Required String -
chunk_index Required Integer -
total_chunks Required Integer -
file_name Required String -
file Required File -
password Optional String -
file_encryption_is_enabled Optional Boolean -
curl --request POST \
--url 'https://octosender.com/files/create_api' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'uuid=de09be56-639f-4213-863b-5ea1aa065970' \
--form 'chunk_index=0' \
--form 'total_chunks=1' \
--form 'file_name=example.pdf' \
--form 'file=example.pdf' \
{ "data": { "id": 1 } }