Introduction
    Authentication
    Connected Accounts
    Errors
    Expanding Responses
    Idempotent requests
    Include-dependent response values (API v2)
    Metadata
    Pagination
    Request IDs
    Versioning
Core Resources
    Balance
    Balance Transactions
    Charges
    Customers
    Customer Session
    Disputes
    Events
    Eventsv2
    Event Destinationsv2
    Files
    File Links
    The File Link objectCreate a file linkUpdate a file linkRetrieve a file linkList all file links
    Mandates
    Payment Intents
    Setup Intents
    Setup Attempts
    Payouts
    Refunds
    Confirmation Token
    Tokens
Payment Methods
    Payment Methods
    Payment Method Configurations
    Payment Method Domains
    Bank Accounts
    Cash Balance
    Cash Balance Transaction
    Cards
    Sources
Products
    Products
    Prices
    Coupons
    Promotion Code
    Discounts
    Tax Code
    Tax Rate
    Shipping Rates
Checkout
    Checkout Sessions
Payment Links
    Payment Link
Billing
    Credit Note
    Customer Balance Transaction
    Customer Portal Session
    Customer Portal Configuration
    Invoices
    Invoice Items
    Invoice Line Item
    Invoice Payment
    Invoice Rendering Templates
    Billing Intentsv2
    Alerts
    Meters
    Meter Events
    Meter Eventsv2
    Meter Event Adjustment
    Meter Event Adjustmentsv2
    Meter Event Streamsv2
    Meter Event Summary
    Credit Grant
    Credit Balance Summary
    Credit Balance Transaction
    Plans
    License Fee Subscriptionsv2
    Quote
    Subscriptions
    Subscription Items
    Subscription Schedule
    Tax IDs
    Test Clocks
Capital
    Financing Offer
    Financing Summary
Connect
    Accounts
    Login Links
    Account Links
    Account Session
    Application Fees
    Application Fee Refunds
    Capabilities
    Country Specs
    External Bank Accounts
    External Account Cards
    Person
    Top-ups
    Transfers
    Transfer Reversals
    Secrets
Reserves
    Overview
    Reserve Holds
    Reserve Plans
    Reserve Releases
Fraud
    Early Fraud Warning
    Reviews
    Value Lists
    Value List Items
Issuing
    Authorizations
    Cardholders
    Cards
    Disputes
    Funding Instructions
    Personalization Designs
    Physical Bundles
    Tokens
    Transactions
Terminal
    Connection Token
    Location
    Reader
    Terminal Hardware Order
    Terminal Hardware Product
    Terminal Hardware SKU
    Terminal Hardware Shipping Method
    Configuration
Treasury
    Financial Accounts
    Financial Account Features
    Transactions
    Transaction Entries
    Outbound Transfers
    Outbound Payments
    Inbound Transfers
    Received Credits
    Received Debits
    Credit Reversals
    Debit Reversals
Entitlements
    Feature
    Product Feature
    Active Entitlement
Sigma
    Scheduled Queries
    Query Run
Reporting
    Report Runs
    Report Types
    Report Runsv2
    Reportsv2
Financial Connections
    Accounts
    Account Owner
    Session
    Transactions
Tax
    Tax Calculations
    Tax Registrations
    Tax Transactions
    Tax Settings
Identity
    Verification Session
    Verification Report
Crypto
    Crypto Onramp Session
    Crypto Onramp Quotes
Climate
    Climate Order
    Climate Product
    Climate Supplier
Forwarding
    Forwarding Request
Privacy
    Redaction Job
    Redaction Job Validation Error
Webhooks
    Webhook Endpoints
  • 2025-08-27.basil
  • API Reference
  • Docs
  • Support
  • Sign in →

The File Link object 

Core Resources
File Links
The File Link object

Attributes

  • idstring

    Unique identifier for the object.

  • expires_atnullable timestamp

    Time that the link expires.

  • filestringExpandable

    The file object this link points to.

  • metadataobject

    Set of key-value pairs that you can attach to an object. This can be useful for storing additional information about the object in a structured format.

  • urlnullable string

    The publicly accessible URL to download the file.

More attributes

  • objectstring

    String representing the object’s type. Objects of the same type share the same value.

  • createdtimestamp

    Time at which the object was created. Measured in seconds since the Unix epoch.

  • expiredboolean

    Returns if the link is already expired.

  • livemodeboolean

    Has the value true if the object exists in live mode or the value false if the object exists in test mode.

The File Link object
{
"id": "link_1Mr23jLkdIwHu7ix65betcoo",
"object": "file_link",
"created": 1680108075,
"expired": false,
"expires_at": null,
"file": "file_1Mr23iLkdIwHu7ixQkCV3CBR",
"livemode": false,
"metadata": {},
"url": "https://files.stripe.com/links/MDB8YWNjdF8xTTJKVGtMa2RJd0h1N2l4fGZsX3Rlc3RfaXVoY2hrUnJPMzlBR3dPb01XMmFkSTVq00yUPLFf3h"
}