Sign file URL
Creates a signed URL that grants temporary access to a fal CDN file, regardless of its ACL. Useful for sharing access-restricted files.
The signature is valid for expiration_seconds (up to 7 days).
Authentication: Required. The API key must have the assets:read permission.
Authorizations
API key must be prefixed with "Key ", e.g. Authorization: Key YOUR_API_KEY
Query Parameters
Full URL of the fal CDN file, as returned by the upload APIs (https://v3.fal.media/files/b//). Must not contain query parameters.
"https://v3.fal.media/files/b/0a1b2c3d/output.png"
Body
Signing options for the file URL
How long the signed URL stays valid, in seconds (max 7 days)
1 <= x <= 6048003600
Response
Signed URL granting temporary access
Signed URL response
URL with an embedded signature granting temporary access
"https://v3.fal.media/files/b/0a1b2c3d/output.png?identity=..."