Get a file
Returns one file from the org’s library, with a short-lived read URL once its bytes are ready. A message’s media part names its file by id; this is where that id resolves. Another org’s file id reads as not found.
Authorizations
Customer API key (axl_ prefix).
Path Parameters
file identifier
Response
OK
One file in the org's library.
When the file was registered: upload registration, or capture detection.
Original filename; used as the display name when the file lands on a phone.
File identifier. Unique across the whole library; deliverable to a phone regardless of source.
Declared MIME type, pinned by the presigned upload.
Distinct phones currently holding or receiving a delivered copy. Informational: deleting the file from the library does not remove these.
Whether the preview exists, is still being generated, or will never be available for this format.
processing, ready, unavailable Declared size in bytes, pinned by the presigned upload.
How the file entered the library: upload (put in directly), capture (lifted off a session), or message (attached to a message one of the org's dedicated phones received).
upload, capture, message uploading until the object is verified in storage, then ready. For a capture, read capture_state for the fuller lifecycle.
uploading, ready Short-lived signed URL that downloads the file as an attachment under its name. Present only for ready files.
Bytes moved so far for an in-flight phone transfer. Absent until the phone reports progress.
Reason the phone's upload failed, when it did. Present for captures and message attachments.
Upload lifecycle of a file the phone sends itself: detected/uploading while in flight, ready when usable, or a terminal skip/failure with its reason. Present for captures and message attachments.
detected, uploading, ready, skipped_size, skipped_quota, skipped_type, dropped_teardown, failed SHA-256 of the bytes, computed on the phone while uploading. Present for captures and message attachments.
Short-lived signed URL for a full-resolution JPEG of a HEIC or HEIF original, for display where a browser cannot draw the original. Absent for other types and until generated.
Short-lived signed URL to read the file's bytes. Present only for ready files; re-list to refresh an expired one.
Video duration in seconds.
Intrinsic pixel height of the source.
The message this file was attached to. Present for message attachments once the message is stored; a file whose message never arrived still names its phone.
The phone that received the message this file was attached to. Present for message attachments.
Short-lived signed URL for the animated hover preview. Videos only; absent until generated.
Session that produced the file. Present only for captures.
Which surface a capture or message attachment came off (phone today). Absent for a direct upload.
phone Short-lived signed URL for the generated preview image. Absent while generation is pending, and permanently absent for formats without a preview.
Intrinsic pixel width of the source.