The Attachment object

The Attachment object is used to attach files to messages, such as photos, videos, or PDF files.

idUUIDThe unique identifier of this attachment.
ephemeral_urlEphemeralUrl(url: string, expires_at: DateTime)The ephemeral URL pointing to the file.
mime_typestringThe MIME type of the attachment.
thumbnail_urlundefined?The thumbnail URL of the attachment.


  "id": "98FCE1EF-DBCA-41EF-8BC7-4D1621AC07C6",
  "ephemeral_url": {
    "url": "",
    "expires_at": "2022-06-24T14:36:22"
  "mime_type": "image/png",
  "thumbnail_url": {
    "url": "",
    "expires_at": "2022-06-24T14:36:22"