Skip to main content
GET
Retrieve file

Authorizations

Authorization
string
header
required

An API key prefixed with finta_, or the access token from a Finta CLI browser login (finta login), prefixed with finta_oat_. A CLI login's access token lasts one hour and the CLI renews it itself.

Path Parameters

id
string
required

Response

The attached file and a five-minute download link.

id
string
required

An API upload keeps its original ID after attaching. Other files have a stable ID derived from the stored file.

Pattern: ^file_[A-Za-z0-9]+$
object
enum<string>
required
Available options:
file
purpose
default:tax_document
required

The purpose given when uploading through the API, or null for other files.

Available options:
tax_document,
bank_statement,
supporting_document,
company_document
filename
string
required

The file name used for download. A document's source may rename it when attached or filed.

size
integer
required

Size in bytes.

created
integer
required

File creation time in Unix seconds.

expires_at
integer | null
required

Unix seconds after which an unattached file is deleted, 24 hours after upload. Null for an attached file.

area
enum<string>
required
Available options:
company,
taxes,
reconciliation,
books
kind
enum<string>
required

The role the file serves on its source record.

Available options:
articles_of_incorporation,
bylaws,
ein_letter,
initial_board_action,
incorporator_consent,
certificate_of_amendment,
stock_purchase_agreement,
election_83b,
stock_certificate,
legal_address_change_document,
filed_income_tax_return,
draft_income_tax_return,
delaware_franchise_confirmation,
w9,
form_1099,
bank_statement,
supporting_document
content_type
string | null
required

The file's media type, if known. Returned on reads.

The source record's public reference, or null if it has no public reference in Files.

description
string | null
required

The supporting document's description, or null for other files.

download_url
string<uri>
required

Signed URL to download the original bytes. Returned only by Retrieve file.

download_url_expires_at
integer
required

The signed download URL expires at this time in Unix seconds. Returned only by Retrieve file.

statement_date
string<date> | null

The linked bank statement's UTC end date. If that date is unavailable, use the date stamped on the upload, or null when neither date is known. Returned for bank statements.

account_id
string | null

The bank statement's public account ID, or null when the account cannot be mapped. Returned for bank statements.