Chuyển

GET https://86transfer.com/api/transfers/
curl --request GET \
--url 'https://86transfer.com/api/transfers/' \
--header 'Authorization: Bearer {api_key}' \
Tham số Chi tiết Mô tả
page Tùy chọn Số nguyên Số trang mà bạn muốn lấy kết quả. Mặc định là 1.
results_per_page Tùy chọn Số nguyên Số lượng kết quả bạn muốn trên mỗi trang. Giá trị cho phép là: 10 , 25 , 50 , 100 , 250 , 500 , 1000. Mặc định là 25.
{ "data": [ { "id": 1, "user_id": 1, "project_id": 0, "uploader_id": "f528764d624db129b32c21fbca0cb8d6", "pixels_ids": [], "files_ids": [ 1,2,3 ], "name": "Example", "description": "Example", "type": "link", "email_to": null, "url": "example", "settings": { "password": null, "file_encryption_is_enabled": false, "file_preview_is_enabled": true, "is_removed_branding": false, "custom_css": "tester", "custom_js": "" }, "notifications": { "download": [] }, "total_files": 1, "total_size": 999999, "pageviews": 1, "downloads": 1, "downloads_limit": 0, "expiration_datetime": null, "last_datetime": null, "datetime": "2025-05-18 20:42:13" }, ], "meta": { "page": 1, "results_per_page": 25, "total": 1, "total_pages": 1 }, "links": { "first": "https://86transfer.com/api/transfers?&page=1", "last": "https://86transfer.com/api/transfers?&page=1", "next": null, "prev": null, "self": "https://86transfer.com/api/transfers?&page=1" } }
GET https://86transfer.com/api/transfers/{transfer_id}
curl --request GET \
--url 'https://86transfer.com/api/transfers/{transfer_id}' \
--header 'Authorization: Bearer {api_key}' \
{ "data": { "id": 1, "user_id": 1, "project_id": 0, "uploader_id": "f528764d624db129b32c21fbca0cb8d6", "pixels_ids": [], "files_ids": [ 1,2,3 ], "name": "Example", "description": "Example", "type": "link", "email_to": null, "url": "example", "settings": { "password": null, "file_encryption_is_enabled": false, "file_preview_is_enabled": true, "is_removed_branding": false, "custom_css": "tester", "custom_js": "" }, "notifications": { "download": [] }, "total_files": 1, "total_size": 999999, "pageviews": 1, "downloads": 1, "downloads_limit": 0, "expiration_datetime": null, "last_datetime": null, "datetime": "2025-05-18 20:42:13" } }
POST https://86transfer.com/transfer/create_api
Tham số Chi tiết Mô tả
uploaded_files Bắt buộc Mảng Số nguyên Mảng chứa UUID của tất cả các tệp đã tải lên để đính kèm vào chuyển này.
type Tùy chọn Chuỗi Giá trị cho phép: link , email
email_to Tùy chọn Chuỗi Khả dụng khi: type = email
name Tùy chọn Chuỗi -
description Tùy chọn Chuỗi -
url Tùy chọn Chuỗi -
domain_id Tùy chọn Số nguyên -
project_id Tùy chọn Số nguyên -
pixels_ids Tùy chọn Mảng Số nguyên -
download_notification_handlers_ids Tùy chọn Mảng Số nguyên -
expiration_datetime Tùy chọn Chuỗi Y-m-d H:i:s
downloads_limit Tùy chọn Số nguyên -
password Tùy chọn Chuỗi -
file_encryption_is_enabled Tùy chọn Boolean -
file_preview_is_enabled Tùy chọn Boolean -
is_removed_branding Tùy chọn Boolean -
custom_css Tùy chọn Chuỗi -
custom_js Tùy chọn Chuỗi -
curl --request POST \
--url 'https://86transfer.com/transfer/create_api' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'uploaded_files[]=de09be56-639f-4213-863b-5ea1aa065970' \
--form 'name=Example name' \
--form 'description=Example description' \
{ "data": { "id": 1, "download_url": "https://86transfer.com/transfer-redirect/1", "view_url": "https://86transfer.com/transfer/1", } }
POST https://86transfer.com/api/transfers/{transfer_id}
Tham số Chi tiết Mô tả
name Tùy chọn Chuỗi -
description Tùy chọn Chuỗi -
url Tùy chọn Chuỗi -
domain_id Tùy chọn Số nguyên -
project_id Tùy chọn Số nguyên -
pixels_ids Tùy chọn Mảng Số nguyên -
download_notification_handlers_ids Tùy chọn Mảng Số nguyên -
expiration_datetime Tùy chọn Chuỗi Y-m-d H:i:s
downloads_limit Tùy chọn Số nguyên -
file_preview_is_enabled Tùy chọn Boolean -
is_removed_branding Tùy chọn Boolean -
custom_css Tùy chọn Chuỗi -
custom_js Tùy chọn Chuỗi -
curl --request POST \
--url 'https://86transfer.com/api/transfers/{transfer_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=transfer.com' \
{ "data": { "id": 1 } }
DELETE https://86transfer.com/api/transfers/{transfer_id}
curl --request DELETE \
--url 'https://86transfer.com/api/transfers/{transfer_id}' \
--header 'Authorization: Bearer {api_key}' \