Skip to content

Get attachments in a conversation

GET
/api/conversations/{id}/attachments

Returns all file attachments associated with messages in a conversation. Each attachment includes a pre-signed download URL that is time-limited.

id
required
string format: uuid

The unique identifier of the conversation.

List of attachments across all messages in the conversation. May be empty if no attachments were sent.

List of file attachments associated with a conversation’s messages.

Array<object>

A file attached to a message. Attachments are stored in S3 and processed by the document parser for OCR and content extraction when relevant (PDFs, images).

object
id
required

Unique identifier for the attachment.

string format: uuid
Example
at1a2b3c-5678-9abc-def0-1234567890ab
messageId
required

The message this attachment belongs to.

string format: uuid
Example
m1a2b3c4-5678-9abc-def0-1234567890ab
fileName

Original file name as provided by the sender.

string | null
Example
invoice-4521.pdf
contentType

MIME type of the attachment.

string | null
Example
application/pdf
sizeBytes

File size in bytes.

integer | null
Example
245760
url

Pre-signed URL to download the attachment. The URL is time-limited.

string | null
Example
https://s3.eu-central-1.amazonaws.com/...
createdAt
required

Timestamp when the attachment was stored.

string format: date-time
Example
2026-03-24T08:15:30.000Z

No conversation exists with the given ID in the authenticated tenant.

Standard error response returned by all endpoints on failure.

object
error
required

A human-readable error message describing what went wrong.

string
Example
Conversation not found