Skip to main content
POST
Returns an instantly shareable URL to any single file. Byteport does not cache or prefetch — if the source is offline, the URL will be unable to pull the file and will instead show a fallback message.

Body parameters

file
string
required
Filename to share. Regex supported, but the request will return a specific error code if it matches to more than one source file.
password
string
Text password required to unlock the provided URL.

Example

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
file
string
required

Filename to share.

password
string

Password required to unlock the provided URL.

Response

Shareable URL returned

url
string<uri>