GET /conversations/{conversationId}/messages

Get messages by conversation id.

Servers

Path parameters

Name Type Required Description
conversationId String Yes

Conversation ID as string

Request headers

Name Type Required Description
Version String Yes

API Version

Valid values:

  • "2021-04-15"
Authorization String Yes

Access Token

Query parameters

Name Type Required Description
limit Number No

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

lastMessageId String No

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

type String No

Types of message to fetched separated with comma

Valid values:

  • "TYPE_EMAIL"
  • "TYPE_GMB"
  • "TYPE_ACTIVITY_CONTACT"
  • "TYPE_LIVE_CHAT"
  • "TYPE_ACTIVITY_INVOICE"
  • "TYPE_INSTAGRAM"
  • "TYPE_ACTIVITY_PAYMENT"
  • "TYPE_FACEBOOK"
  • "TYPE_ACTIVITY_OPPORTUNITY"
  • "TYPE_ACTIVITY_APPOINTMENT"
  • "TYPE_CALL"
  • "TYPE_SMS"
  • "TYPE_WHATSAPP"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.