v52

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-015891,4406.1 MB

Create a file link

Creates a new file link object.

post/v1/file_links

Response

Successful response.

createdinteger required

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

expiredboolean required

Returns if the link is already expired.

expires_atinteger nullable

Time that the link expires.

idstring required

Unique identifier for the object.

livemodeboolean required

If the object exists in live mode, the value is true. If the object exists in test mode, the value is false.

metadataobject required

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.

object'file_link' required

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

urlstring nullable

The publicly accessible URL to download the file.