The attachment object
Notice: The Attachments API is deprecated and will be removed in a future release. Please migrate to the new Files API to avoid disruptions.
Attributes
id
string
Unique identifier for the file.
location_type
enum
Type of the location. One of
folder, conversation_message, task_comment.location_type
string
ID of the location.
approver
string
ID of the approver.
uploader
string
ID of the uploader.
name
string
Name of the file.
size
integer
Size of the file.
mime_type
string
The mime type of the file.
extension
string
The file's extension.
url
string
URL of the file.
thumbnail
nullable string
Thumbnail URL of the file.
approved_at
string
Time at which the file was approver.
created_at
string
Time at which the file was created.
updated_at
string
Time at which the file was last updated.
The attachment object
{
"id": "fi_081dcab571f6c37d709078ce",
"location_type": "conversation_message",
"location": "msg_3447589816730d8ba4e50528",
"approver": null,
"uploader": "u_c01bb6102b6ddadd4b1f020e",
"name": "Screenshot.png",
"size": 348208,
"mime_type": "image/png",
"extension": "png",
"url": "https://k.assets-edge.com/u/ws_046457c4dcfcc7986383e7f4/685132c3e2464-screenshot.png",
"thumbnail": "https://k.assets-edge.com/previews/ws_046457c4dcfcc7986383e7f4/685132c614920-screenshot-476.png",
"approved_at": null,
"created_at": "2025-06-17T09:17:56+00:00",
"updated_at": "2025-06-17T09:17:56+00:00"
}