Conversations

Close conversation

REQUIRED SCOPES <code>['conversations:write']</code><br> This endpoint closes the conversation for all the participants of the current Team. The conversation with all the messages will still be visible within the Closed Conversations tab. <br><br>The closed_at field becomes set with current time. <br><br>Together, this endpoint allows for reopening the conversation.Thus, it returns the closed conversation including the contact, owner, and recent message.

put/conversations/{conversation}/close

Request

  • Base URL
    https://api.salesmessage.com/pub/v2.3
  • URL
    https://api.salesmessage.com/pub/v2.3/conversations/{conversation}/close
  • Auth
    HTTP bearer

Path parameters

conversationinteger required

Conversation id

Response

OK

idinteger
inbox_idinteger
contact_idinteger
user_idinteger
last_message_atstring
last_manual_message_atstring
last_read_atstring
has_taggingboolean
tagging_last_message_atstring
tagging_last_read_atstring
started_atstring
closed_atstring
number_idinteger
allow_callboolean
namestring
group_namestring
is_groupboolean

Changes

No recorded changes to this operation across all 3 revisions of this API.