Starfiles

File sharing done simple.

Home

Documentation v2

Last Updated: 2 months ago

API v2 will have a staged roll out. Check back as more endpoints are moved to v2.
DO NOT USE API v2 IN PRODUCTION PROJECTS YET. This is a live draft, endpoints listed may be changed without notice.

Public

Public File List

https://api.starfiles.co/2.0/public/files

Method: GET

Optional Endpoints

extension
 // Filter files by extension
group
 // Group files (Possible values; hashid)

Files

Public File List

https://api.starfiles.co/2.0/public/File ID/star/true

Method: POST

Required Endpoints

private_key

Required Permissions

You must own the file.

Star File

https://api.starfiles.co/2.0/file/File ID/star/true

Method: POST

Required Endpoints

private_key

Required Permissions

You must own the file.

Unstar File

https://api.starfiles.co/2.0/file/File ID/star/false

Method: POST

Required Endpoints

private_key

Required Permissions

You must own the file.

Trash File

https://api.starfiles.co/2.0/file/File ID/trash/true

Method: POST

Required Endpoints

private_key

Required Permissions

You must own the file.

Untrash File

https://api.starfiles.co/2.0/file/File ID/trash/false

Method: POST

Required Endpoints

private_key

Required Permissions

You must own the file.

Folders

Short URLs

Webhooks

Create Discord Webhook

https://api.starfiles.co/2.0/user/create_discord_webhook

Method: POST

Required Endpoints

private_key