Files

Retrieve File

Retrieves the details of an existing file. Supply the unique file ID that was returned when the file was uploaded. Requires the files_read scope.

get/v1/files/{id}

Request

  • Base URL
    https://api.withflex.com
  • URL
    https://api.withflex.com/v1/files/{id}
  • Auth
    HTTP bearer

Path parameters

idstring required
Example:ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA

Response

An envelope wrapping a single file object.

Example response

{
  "file": {
    "file_id": "ffile_01J9XR8M3K7VZ8N2YB4WJ6T0RA",
    "purpose": "account_requirement",
    "filename": "string",
    "size": 0,
    "type": "string",
    "created_at": "2026-06-15T14:30:00Z",
    "expires_at": "2026-06-15T14:30:00Z"
  }
}

Changes

No recorded changes to this operation across all 2 revisions of this API.