GET
/
files
/
{file_id}
/
download_url
curl --request GET \
  --url https://api.togai.com/files/{file_id}/download_url \
  --header 'Authorization: Bearer <token>'
{
  "downloadUrl": "https://s3.amazonaws.com/..."
}

Authorizations

Authorization
string
header
required

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

Path Parameters

file_id
string
required
Example:

"file.20aUyEZSuYq.SoGbS"

Query Parameters

expiry
integer
Example:

300

Response

200
application/json

Response for getting a download url for a file

The response is of type object.