cURL
curl --request GET \ --url https://api.togai.com/files/{file_id}/download_url \ --header 'Authorization: Bearer <token>'
{ "downloadUrl": "https://s3.amazonaws.com/..." }
Get a download url for a file
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
"file.20aUyEZSuYq.SoGbS"
300
Response for getting a download url for a file
The response is of type object.
object