Skip to main content

Inbox Attachments

Overview

This resource represents Inbox Attachments - the files (or images) that can be assigned to Inbox Messages.

Parameters

NameTypeRead/WriteDescription
accountIntegerReadID of Account the Attachment belongs to.
messagesArrayReadIDs of Messages the Attachment belongs to.
idIntegerReadAttachment's id.
urlStringReadAttachment's url address.
nameStringReadAttachment's name.
image_widthIntegerReadAttachment's image width in pixels.
image_heightIntegerReadAttachment's image height in pixels.
file_sizeIntegerReadAttachment's file size in bytes.
file_content_typeStringReadAttachment's file content type.
created_atTimeReadInbox Attachment's create time.
updated_atTimeReadInbox Attachment's update time.

List Attachments

GET /inbox/attachments

Get a single Attachment

Returns a single attachment identified by ID.

GET /inbox/attachments/:attachment_id

Create a new attachment

Creates an attachment.

POST /inbox/attachments

Update an attachment

Returns an updated attachment identified by ID.

PUT /inbox/attachments/:id