Files

GET https://transferferry.com/api/files/
curl --request GET \
--url 'https://transferferry.com/api/files/' \
--header 'Authorization: Bearer {api_key}' \
Parameters Details Description
page Optional Integer The page number that you want results from. Defaults to 1.
results_per_page Optional Integer How many results you want per page. Allowed values are: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Defaults to 25.
{
    "data": [
        {
            "id": 1,
            "user_id": 1,
            "transfer_id": 1,
            "file_uuid": "b8c89fa6e06b4423b3bb1647bb261368",
            "uploader_id": "f528764d624db129b32c21fbca0cb8d6",
            "name": "9b7d6e9d-fa46-4cc0-8307-8fb6cef88a71.png",
            "original_name": "example.png",
            "size": 999999,
            "status": "uploaded",
            "is_encrypted": false,
            "datetime": "2025-09-15 10:41:50",
        },
    ],
    "meta": {
        "page": 1,
        "results_per_page": 25,
        "total": 1,
        "total_pages": 1
    },
    "links": {
        "first": "https://transferferry.com/api/files?page=1",
        "last": "https://transferferry.com/api/files?page=1",
        "next": null,
        "prev": null,
        "self": "https://transferferry.com/api/files?page=1"
    }
}
GET https://transferferry.com/api/files/{file_id}
curl --request GET \
--url 'https://transferferry.com/api/files/{file_id}' \
--header 'Authorization: Bearer {api_key}' \
{
    "data": {
        "id": 1,
        "user_id": 1,
        "transfer_id": 1,
        "file_uuid": "b8c89fa6e06b4423b3bb1647bb261368",
        "uploader_id": "f528764d624db129b32c21fbca0cb8d6",
        "name": "9b7d6e9d-fa46-4cc0-8307-8fb6cef88a71.png",
        "original_name": "example.png",
        "size": 999999,
        "status": "uploaded",
        "is_encrypted": false,
        "datetime": "2025-09-15 10:41:50",
    }
}
POST https://transferferry.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://transferferry.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
    }
}
DELETE https://transferferry.com/api/files/{file_id}
curl --request DELETE \
--url 'https://transferferry.com/api/files/{file_id}' \
--header 'Authorization: Bearer {api_key}' \