HubSpot · Example Payload

Conversations Api Message Collection Example

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

Conversations Api Message Collection Example is an example object payload from HubSpot, with 2 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

resultspaging

Example Payload

Raw ↑
{
  "results": [
    {
      "id": "msg_123456",
      "type": "MESSAGE",
      "text": "Hello, I need help with my order.",
      "richText": "<p>Hello, I need help with my order.</p>",
      "direction": "INCOMING",
      "channelId": "channel_789",
      "channelAccountId": "account_123",
      "senders": [
        {
          "id": "actor_101",
          "actorId": "actor_101",
          "name": "John Customer",
          "email": "john@example.com",
          "type": "VISITOR"
        }
      ],
      "recipients": [
        {
          "id": "actor_101",
          "actorId": "actor_101",
          "name": "John Customer",
          "email": "john@example.com",
          "type": "VISITOR"
        }
      ],
      "status": {},
      "createdAt": "2024-01-20T10:30:00Z",
      "truncationStatus": "NOT_TRUNCATED",
      "attachments": [
        {
          "id": "attach_001",
          "type": "application/pdf",
          "url": "https://api.hubapi.com/files/v3/files/attach_001",
          "filename": "invoice.pdf",
          "size": 102400
        }
      ]
    }
  ],
  "paging": {
    "next": {
      "after": "NTI1Cg%3D%3D",
      "link": "/conversations/v3/conversations/inboxes?after=NTI1Cg%3D%3D"
    }
  }
}