Skip to main content
GET
/
v1
/
files
/
{id}
Retrieve File
curl --request GET \
  --url https://api.withflex.com/v1/files/{id} \
  --header 'Authorization: Bearer <token>'
{
  "file": {
    "file_id": "obj_01EXAMPLE00000000000000000",
    "purpose": "account_requirement",
    "filename": "string",
    "size": 0,
    "type": "string",
    "created_at": "2024-01-01T00:00:00Z",
    "expires_at": "2024-01-01T00:00:00Z"
  }
}

Documentation Index

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

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

Authorizations

Authorization
string
header
required

Use a Bearer token to access this API.

Path Parameters

id
string
required
Example:

"obj_01EXAMPLE00000000000000000"

Response

Success

file
object
required
Example:
{
"file_id": "obj_01EXAMPLE00000000000000000",
"purpose": "account_requirement",
"filename": "string",
"size": 0,
"type": "string",
"created_at": "2024-01-01T00:00:00Z",
"expires_at": "2024-01-01T00:00:00Z"
}