Skip to content

Media

Media is a file in a message. Upload files to send, and download the file of any message that has one.

Scopes: messages:send to send, messages:read to read.

Send a template

A file uploaded with POST /media.

Attributes

id string · uuid

mime_type string

The type Soosh found by reading the file.

size integer

The size in bytes.

filename string

The file’s name, without any directory.

expires_at string · date-time

When the upload is deleted, 30 days after it was made. A message, or a scheduled or running broadcast, that uses it keeps it longer.