Получить вложение

**CLI:** ```bash agentinbox threads retrieve-attachment --thread-id <thread_id> --attachment-id <attachment_id> ```

Authentication

AuthorizationBearer

Header authentication of the form Bearer <token>

Path parameters

thread_idstringRequired

Идентификатор цепочки.

attachment_idstringRequired

Идентификатор вложения.

Response

This endpoint returns an object.
attachment_idstring

Идентификатор вложения.

sizeinteger

Размер вложения в байтах.

download_urlstring

URL для скачивания вложения.

expires_atdatetime

Время истечения ссылки на скачивание.

filenamestring

Имя файла вложения.

content_typestring

MIME-тип вложения.

content_dispositionenum

Content-Disposition вложения.

Allowed values:
content_idstring

Content-ID вложения.

Errors

404
Not Found Error