HubSpot · Schema

Attachment

Represents a file attachment on a message.

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationSales

Properties

Name Type Description
id string Unique identifier for the attachment
type string MIME type of the attachment
url string URL to access the attachment
filename string Original filename
size integer File size in bytes
View JSON Schema on GitHub

JSON Schema

conversations-api-attachment-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/hubspot/refs/heads/main/json-schema/conversations-api-attachment-schema.json",
  "title": "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": "string",
      "format": "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": "integer",
      "description": "File size in bytes",
      "example": 102400
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema 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 Schema
curl "https://apis.io/api/v1/json-schemas/conversations-api-attachment"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.