Skip to content

Attachments

AttachmentResponse

Bases: BaseModel

Response model for uploading an attachment file.

This class conveys the unique identifier and URL of the uploaded attachment.

Attributes:

Name Type Description
id Optional[str]

The unique identifier of the attachment

image_url Optional[str]

The URL of the attachment

GetFileUrlResponse

Bases: BaseModel

Response model for getting a refreshed file URL.

This class contains the unique identifier and a refreshed signed URL for an existing attachment, providing time-limited access to download the attachment.

Attributes:

Name Type Description
id Optional[str]

The unique identifier of the attachment

signed_url Optional[str]

A refreshed signed URL of the attachment in storage