HubSpot · JSON Structure

Conversations Api Thread Structure

Represents a conversation thread containing messages between participants.

Type: object Properties: 14 Required: 4
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

Thread is a JSON Structure definition published by HubSpot, describing 14 properties, of which 4 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id inboxId status spam associatedContactId assignedTo originalChannelId originalChannelAccountId latestMessageTimestamp latestMessageSentTimestamp latestMessageReceivedTimestamp closedAt createdAt archived

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-structure/conversations-api-thread-structure.json",
  "name": "Thread",
  "description": "Represents a conversation thread containing messages between participants.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the thread",
      "example": "987654321"
    },
    "inboxId": {
      "type": "string",
      "description": "ID of the inbox containing this thread",
      "example": "12345678"
    },
    "status": {
      "type": "string",
      "enum": [
        "OPEN",
        "CLOSED"
      ],
      "description": "Current status of the thread",
      "example": "OPEN"
    },
    "spam": {
      "type": "boolean",
      "description": "Whether the thread is marked as spam",
      "example": false
    },
    "associatedContactId": {
      "type": "string",
      "description": "ID of the associated CRM contact",
      "example": "101"
    },
    "assignedTo": {
      "type": "string",
      "description": "User ID the thread is assigned to",
      "example": "user_456"
    },
    "originalChannelId": {
      "type": "string",
      "description": "ID of the original communication channel",
      "example": "channel_789"
    },
    "originalChannelAccountId": {
      "type": "string",
      "description": "ID of the original channel account",
      "example": "account_123"
    },
    "latestMessageTimestamp": {
      "type": "datetime",
      "description": "ISO 8601 timestamp of the latest message",
      "example": "2024-01-20T10:30:00Z"
    },
    "latestMessageSentTimestamp": {
      "type": "datetime",
      "description": "ISO 8601 timestamp of the latest sent message",
      "example": "2024-01-20T10:25:00Z"
    },
    "latestMessageReceivedTimestamp": {
      "type": "datetime",
      "description": "ISO 8601 timestamp of the latest received message",
      "example": "2024-01-20T10:30:00Z"
    },
    "closedAt": {
      "type": "datetime",
      "description": "ISO 8601 timestamp when the thread was closed",
      "example": "2024-01-21T15:00:00Z"
    },
    "createdAt": {
      "type": "datetime",
      "description": "ISO 8601 timestamp when the thread was created",
      "example": "2024-01-15T09:00:00Z"
    },
    "archived": {
      "type": "boolean",
      "description": "Whether the thread is archived",
      "example": false
    }
  },
  "required": [
    "id",
    "inboxId",
    "status",
    "createdAt"
  ]
}

Work with this as data

Every JSON Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 JSON Structure
curl "https://apis.io/api/v1/json-structures/conversations-api-thread-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.