HubSpot · Example Payload

Hubspot Conversations Message Example

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

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

Top-level fields

idtypetextrichTextdirectionchannelIdchannelAccountIdsendersrecipientsstatuscreatedAttruncationStatusattachments

Example Payload

Raw ↑
{
  "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": {
    "statusType": "DELIVERED"
  },
  "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
    }
  ]
}