Skip to main content

Inbox Conversations

Overview

This resource represents Inbox Conversations - a thread within each Inbox Messages can be created.

Parameters

NameTypeRead/WriteDescription
accountIntegerReadAccount's ID related to Conversation
assignee (host)IntegerReadAssignee's ID related to Conversation (Host's ID who is responsible for handling this conversation)
sourceIntegerReadSource's ID related to Conversation
bookingsArrayReadBookings IDs related to Conversation
inquiriesArrayReadInquiries IDs related to Conversation
messagesArrayReadMessages IDs related to Conversation
participantsArrayReadParticipants ID related to Conversation
created_by_idIntegerReadID of the resource that created the Conversation (User or Application - this is a polymorphic association)
created_by_typeStringReadType of the resource that created the Conversation (User or Application - this is a polymorphic association)
idIntegerReadConversation's id.
default_channelStringReadConversation's default channel — the Channel its underlying integration was created for, used by API clients to know which channel to set on Inbox Messages they create in this Conversation so the messages are relayed to the originating platform. See the Inbox Messaging guide and the list of Channels in the enums section.
subjectStringReadConversation's subject (for email-based Conversations).
created_atTimeReadConversation's create time.
updated_atTimeReadConversation's update time.
closed_atTimeReadTime when Conversation was closed.
deadline_response_atTimeReadConversation's deadline response time.
last_message_atTimeReadConversation's last message time.
marked_as_spam_atTimeReadTime when Conversation was marked as spam.
read_atTimeReadTime when conversations was viewed

List Conversations

GET /inbox/conversations

Get a single Conversation

Returns a single conversation identified by ID.

GET /inbox/conversations/:conversation_id

Create a new Conversation

Creates a Conversation.

POST /inbox/conversations

Update a Conversation

Returns an updated conversation identified by ID.

PUT /inbox/conversations/:conversation_id
Restrictions on updatable parameters

Only :assignee_id, :closed, :default_channel, :marked_as_spam attributes are allowed.

Add Bookings to a Conversation

Returns an updated conversation identified by ID.

PUT /inbox/conversations/:conversation_id/connect_booking

Remove Bookings from a Conversation

Returns an updated conversation identified by ID.

PUT /inbox/conversations/:conversation_id/disconnect_booking