GET
/
files
/
{id}
curl --request GET \
  --url https://base_url/api/v1/files/{id} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "<string>",
    "name": "example.pdf",
    "size": 102400,
    "corporation_id": "<string>",
    "created_at": 1727284490,
    "signed_url": "https://bucket-name.s3.amazonaws.com/example.pdf?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIOSFODNN7EXAMPLE%2F20240912%2Fap-south-1%2Fs3%2Faws4_request&X-Amz-Date=20240912T120000Z&X-Amz-Expires=3600&X-Amz-SignedHeaders=host&X-Amz-Signature=a1b2c3d4e5f6g7h8i9j0k1l2m3n4o5p6q7r8s9t0u1v2w3x4y5z6"
  },
  "message": "Successfully fetched file."
}

Get a file by id along with a signed URL to download it. More information coming soon.

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

The unique identifier of the file to fetch.

Response

200
application/json
File along with a download URL
data
object
message
string
Example:

"Successfully fetched file."