HubSpot · JSON Structure

Conversations Api Attachment Structure

Represents a file attachment on a message.

Type: object Properties: 5
AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

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

Properties

id type url filename size

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-attachment-structure.json",
  "name": "Attachment",
  "description": "Represents a file attachment on a message.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the attachment",
      "example": "attach_001"
    },
    "type": {
      "type": "string",
      "description": "MIME type of the attachment",
      "example": "application/pdf"
    },
    "url": {
      "type": "uri",
      "description": "URL to access the attachment",
      "example": "https://api.hubapi.com/files/v3/files/attach_001"
    },
    "filename": {
      "type": "string",
      "description": "Original filename",
      "example": "invoice.pdf"
    },
    "size": {
      "type": "int32",
      "description": "File size in bytes",
      "example": 102400
    }
  }
}

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-attachment-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.