HubSpot · JSON Structure

Conversations Api Inbox Collection Structure

Paginated collection of inboxes

Type: object Properties: 3 Required: 1
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

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

Properties

results total paging

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-inbox-collection-structure.json",
  "name": "InboxCollection",
  "description": "Paginated collection of inboxes",
  "type": "object",
  "properties": {
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "Represents a conversation inbox configuration where messages are organized and routed.",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the inbox",
            "example": "12345678"
          },
          "name": {
            "type": "string",
            "description": "Display name of the inbox",
            "example": "Support Inbox"
          },
          "type": {
            "type": "string",
            "description": "Type of inbox (e.g., CONVERSATIONS_INBOX)",
            "example": "CONVERSATIONS_INBOX"
          },
          "createdAt": {
            "type": "datetime",
            "description": "ISO 8601 timestamp when the inbox was created",
            "example": "2024-01-10T09:00:00Z"
          },
          "updatedAt": {
            "type": "datetime",
            "description": "ISO 8601 timestamp when the inbox was last updated",
            "example": "2024-01-15T14:30:00Z"
          },
          "archived": {
            "type": "boolean",
            "description": "Whether the inbox is archived",
            "example": false
          }
        },
        "required": [
          "id",
          "name",
          "createdAt",
          "updatedAt"
        ]
      },
      "description": "Array of inbox records",
      "example": [
        {
          "id": "12345678",
          "name": "Support Inbox",
          "type": "CONVERSATIONS_INBOX",
          "createdAt": "2024-01-10T09:00:00Z",
          "updatedAt": "2024-01-15T14:30:00Z",
          "archived": false
        }
      ]
    },
    "total": {
      "type": "int32",
      "description": "Total number of inboxes available",
      "example": 2
    },
    "paging": {
      "type": "object",
      "description": "Pagination information for list responses.",
      "properties": {
        "next": {
          "type": "object",
          "description": "Pagination cursor information for retrieving the next page.",
          "properties": {
            "after": {
              "type": "string",
              "description": "Cursor token for the next page",
              "example": "NTI1Cg%3D%3D"
            },
            "link": {
              "type": "string",
              "description": "API link to the next page",
              "example": "/conversations/v3/conversations/inboxes?after=NTI1Cg%3D%3D"
            }
          }
        }
      }
    }
  },
  "required": [
    "results"
  ]
}