Skip to main content
GET
/
files
/
{file_id}
Get a file by ID
curl --request GET \
  --url https://api.sandbox.monite.com/v1/files/{file_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'x-monite-version: <x-monite-version>'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "file_type": "<string>",
  "md5": "<string>",
  "mimetype": "<string>",
  "name": "<string>",
  "region": "<string>",
  "s3_bucket": "<string>",
  "s3_file_path": "<string>",
  "size": 123,
  "url": "<string>"
}

Authorizations

Authorization
string
header
required

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

Headers

x-monite-version
string<date>
required

Path Parameters

file_id
string<uuid>
required

Response

Successful Response

id
string<uuid>
required
created_at
string<date-time>
required
updated_at
string<date-time>
required
file_type
string
required
md5
string
required
mimetype
string
required
name
string
required
region
string
required
s3_bucket
string
required
s3_file_path
string
required
size
integer
required
url
string
required