Get messages by conversation id.
Use the Access Token generated with user type as Sub-Account (OR) Private Integration Token of Sub-Account.
API Version
2021-04-15 Conversation ID as string
"tDtDnQdgm2LXpyiqYvZ6"
Message ID of the last message in the list as a string
"tDtDnQdgm2LXpyiqYvZ6"
Number of messages to be fetched from the conversation. Default limit is 20
20
Types of message to fetched separated with comma
TYPE_CALL, TYPE_SMS, TYPE_EMAIL, TYPE_FACEBOOK, TYPE_GMB, TYPE_INSTAGRAM, TYPE_WHATSAPP, TYPE_ACTIVITY_APPOINTMENT, TYPE_ACTIVITY_CONTACT, TYPE_ACTIVITY_INVOICE, TYPE_ACTIVITY_PAYMENT, TYPE_ACTIVITY_OPPORTUNITY, TYPE_LIVE_CHAT, TYPE_INTERNAL_COMMENTS, TYPE_ACTIVITY_EMPLOYEE_ACTION_LOG "TYPE_SMS,TYPE_CALL"
List of messages for the conversation id of the given type.