Attachment

  • The date and time the attachment was created.

  • Size of the attachment in bytes, when known.

  • Pixel height, when known (photos and videos).

  • Type of the attachment. GIFs are represented as PHOTO.

    values
    PHOTOVIDEOFILEAUDIO
  • The title of the attachment. This is usually the filename.

  • The date and time the attachment was last updated.

  • The url to download the file. This URL can be fetched directly without an access token, and expires. It is valid for at least 24 hours after being returned. Do not store it long-term; request the resource again for a fresh URL.

  • Pixel width, when known (photos and videos).

Examples
{
  "title": "string",
  "file_size": 123456,
  "url": "https://pronto.io/files/1/123456789",
  "created_at": "2021-07-30T22:22:47Z",
  "updated_at": "2021-07-30T22:22:47Z"
}