HubSpot · Example Payload

Conversations Api Message Collection Example

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

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"
    }
  }
}

Work with this as data

Every example here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This example
curl "https://apis.io/api/v1/examples/conversations-api-message-collection-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.