Skip to main content
Version: 2021-04-15

Get messages by conversation id

GET 

/conversations/:conversationId/messages

Get messages by conversation id.

Request

Version stringrequired

API Version

Available options2021-04-15
conversationId stringrequired

Conversation ID as string

lastMessageId string

Message ID of the last message in the list as a string

limit number

Number of messages to be fetched from the conversation. Default limit is 20

type string

Types of message to fetched separated with comma

Available optionsTYPE_CALLTYPE_SMSTYPE_EMAILTYPE_FACEBOOKTYPE_GMBTYPE_INSTAGRAMTYPE_WHATSAPPTYPE_ACTIVITY_APPOINTMENTTYPE_ACTIVITY_CONTACTTYPE_ACTIVITY_INVOICETYPE_ACTIVITY_PAYMENTTYPE_ACTIVITY_OPPORTUNITY
application/json

List of messages for the conversation id of the given type.

Schema
    messagesobjectrequired