Skip to content
Get in touch

File

A file attachment.

PropertyTypeRequiredDescription
downloadUrlurlYesThe file’s download URL.
namestringYesThe file’s name.
descriptionstringNoThe file’s description.
sizeInBytesnumericNoThe file’s size in bytes.
mimeTypestringNoThe file’s MIME type.
createdAtutcDateTimeYesThe file’s creation date.
lastModifiedAtutcDateTimeYesThe file’s last modified date.

A JSON example of this model.

{
"downloadUrl": "https://example.com/file.pdf",
"name": "example.pdf",
"description": "A PDF file with instructions",
"sizeInBytes": 1000,
"mimeType": "application/pdf",
"createdAt": "2025-01-01T17:01:01",
"lastModifiedAt": "2025-01-02T17:30:00"
}