HubSpot · JSON Structure

Hubspot Conversations Attachment Structure

Represents a file attachment on a message.

Type: object Properties: 5
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

Attachment is a JSON Structure definition published by HubSpot, describing 5 properties. It conforms to the https://json-structure.org/draft/2020-12/schema meta-schema.

Properties

id type url filename size

Meta-schema: https://json-structure.org/draft/2020-12/schema

JSON Structure

Raw ↑
{
  "type": "object",
  "description": "Represents a file attachment on a message.",
  "name": "Attachment",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the attachment"
    },
    "type": {
      "type": "string",
      "description": "MIME type of the attachment"
    },
    "url": {
      "type": "uri",
      "description": "URL to access the attachment"
    },
    "filename": {
      "type": "string",
      "description": "Original filename"
    },
    "size": {
      "type": "integer",
      "description": "File size in bytes"
    }
  },
  "$schema": "https://json-structure.org/draft/2020-12/schema"
}