List Attachments

List attachments in a particular stream.

Get attachments in a particular stream.

get
Path parameters
sidstringRequired

Stream Id

Query parameters
sinceinteger · int64Optional

Timestamp of first required attachment. This is a long integer value representing milliseconds since Jan 1 1970

tointeger · int64Optional

Timestamp of last required attachment. This is a long integer value representing milliseconds since Jan 1 1970

limitintegerOptional

Maximum number of attachments to return. Default is 50. Must be a positive integer and must not exceed 100.

sortDirstringOptional

Attachment date sort direction : ASC or DESC (default to ASC)

Header parameters
sessionTokenstringRequired

Session authentication token.

Responses
chevron-right
200

OK

application/json

File attachments for a message in a stream

messageIdstringOptionalExample: PYLHNm/1K6p...peOpj+FbQ
ingestionDateinteger · int64OptionalExample: 1548089933946
userIdinteger · int64OptionalExample: 14568529068038
fileIdstringOptional

The attachment File ID.

Example: internal_14362
namestringOptional

The file name.

Example: butterfly.jpg
sizeinteger · int64Optional

Size in bytes.

Example: 70186
content-typestringOptionalExample: image/jpeg
get
/v1/streams/{sid}/attachments

Last updated

Was this helpful?