Ticket messages

Download an attachment or inline image

Returns the file itself, served inline under its own content type. The url and download_url on a message's attachments and inline_images point here whenever the ticket was fetched with an API token, so use those values rather than building this URL yourself. Files kept on object storage answer with a redirect to a short-lived storage URL, so follow redirects. No X-Workspace-Id header is needed: the workspace is derived from the file.

get/attachments/{media}

Request

  • Base URL: https://there-there.app/api
  • URL: https://there-there.app/api/attachments/{media}
  • Auth: HTTP bearer

Path parameters

mediastring required

ULID of the file, taken from a message's attachments or inline_images.

Query parameters

downloadboolean

Set to 1 to receive a Content-Disposition attachment header instead of an inline one.

Response

The file

Changes

No recorded changes to this operation across all 1 revision of this API.