Skip to main content
GET
/
public
/
v1
/
files
/
{file_id}
Get File
curl --request GET \
  --url https://app.silnahealth.com/api/public/v1/files/{file_id} \
  --header 'Authorization: Bearer <token>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "url": null,
  "original_filename": null
}

Documentation Index

Fetch the complete documentation index at: https://docs.silnahealth.com/llms.txt

Use this file to discover all available pages before exploring further.

This returns an S3 Presigned URL which is active for 60 minutes. You can use this url to download this file. Below is an example for how to do this in python
import requests

response = requests.get('https://xxx.s3.amazonaws.com/xxxxxxx')
with open('output.pdf', 'wb') as f:
    f.write(response.content)

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

Response

id
string<uuid>
required
url
string | null
original_filename
string | null