Skip to main content
GET
/
v1
/
files
List Files
curl --request GET \
  --url https://api.withflex.com/v1/files \
  --header 'Authorization: Bearer <token>'
{
  "files": [
    {
      "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.

Query Parameters

purpose
enum<string> | null
Available options:
account_requirement,
additional_verification,
business_icon,
business_logo,
customer_signature,
dispute_evidence,
document_provider_identity_document,
finance_report_run,
financial_account_statement,
identity_document,
identity_document_downloadable,
issuing_regulatory_reporting,
pci_document,
platform_terms_of_service,
selfie,
sigma_scheduled_query,
tax_document_user_upload,
terminal_android_apk,
terminal_reader_splashscreen
Example:

"account_requirement"

limit
integer<int32> | null
Required range: 1 <= x <= 100
Example:

10

starting_after
string | null
Example:

"obj_01EXAMPLE00000000000000000"

ending_before
string | null
Example:

"obj_01EXAMPLE00000000000000000"

Response

Success

files
object[]
required