HubSpot · Schema

BatchResponse

Response from batch operations

AnalyticsCommerceContentCRMCustomer ServiceEmail MarketingMarketingMarketing AutomationOperationsSales

Properties

Name Type Description
status string Current status of the batch operation
results array Successfully processed authors
requestedAt string ISO 8601 timestamp when the batch was requested
startedAt string ISO 8601 timestamp when processing started
completedAt string ISO 8601 timestamp when processing completed
links object Related links for the batch operation
View JSON Schema on GitHub

JSON Schema

authors-api-batch-response-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/authors-api-batch-response-schema.json",
  "title": "BatchResponse",
  "description": "Response from batch operations",
  "type": "object",
  "properties": {
    "status": {
      "type": "string",
      "enum": [
        "PENDING",
        "PROCESSING",
        "CANCELED",
        "COMPLETE"
      ],
      "description": "Current status of the batch operation",
      "example": "PENDING"
    },
    "results": {
      "type": "array",
      "items": {
        "type": "object",
        "description": "Represents a blog author profile with biographical and social information",
        "properties": {
          "id": {
            "type": "string",
            "description": "Unique identifier for the blog author",
            "example": "500123"
          },
          "name": {
            "type": "string",
            "description": "Full display name of the author",
            "example": "Example Record"
          },
          "slug": {
            "type": "string",
            "description": "URL-friendly identifier for the author",
            "example": "example-value"
          },
          "email": {
            "type": "string",
            "format": "email",
            "description": "Author's email address",
            "example": "[email protected]"
          },
          "bio": {
            "type": "string",
            "description": "Author biography or description",
            "example": "example-value"
          },
          "website": {
            "type": "string",
            "format": "uri",
            "description": "Author's personal website URL",
            "example": "https://app.hubspot.com/contacts/12345"
          },
          "twitter": {
            "type": "string",
            "description": "Author's Twitter/X handle",
            "example": "example-value"
          },
          "facebook": {
            "type": "string",
            "description": "Author's Facebook profile URL",
            "example": "example-value"
          },
          "linkedin": {
            "type": "string",
            "description": "Author's LinkedIn profile URL",
            "example": "https://app.hubspot.com/contacts/12345"
          },
          "avatar": {
            "type": "string",
            "format": "uri",
            "description": "URL to the author's avatar image",
            "example": "https://app.hubspot.com/contacts/12345"
          },
          "language": {
            "type": "string",
            "description": "Language code for the author profile (e.g., en, es, fr)",
            "example": "en"
          },
          "translatedFromId": {
            "type": "string",
            "description": "ID of the original author this was translated from",
            "example": "500123"
          },
          "created": {
            "type": "string",
            "format": "date-time",
            "description": "ISO 8601 timestamp when the author was created",
            "example": "2025-03-15T14:30:00Z"
          },
          "updated": {
            "type": "string",
            "format": "date-time",
            "description": "ISO 8601 timestamp when the author was last updated",
            "example": "2025-03-15T14:30:00Z"
          },
          "deletedAt": {
            "type": "string",
            "format": "date-time",
            "description": "ISO 8601 timestamp when the author was archived",
            "example": "2025-03-15T14:30:00Z"
          }
        },
        "required": [
          "id",
          "name",
          "created",
          "updated"
        ]
      },
      "description": "Successfully processed authors",
      "example": [
        {
          "id": "500123",
          "name": "Example Record",
          "slug": "example-value",
          "email": "[email protected]",
          "bio": "example-value",
          "website": "https://app.hubspot.com/contacts/12345",
          "twitter": "example-value",
          "facebook": "example-value",
          "linkedin": "https://app.hubspot.com/contacts/12345",
          "avatar": "https://app.hubspot.com/contacts/12345",
          "language": "en",
          "translatedFromId": "500123",
          "created": "2025-03-15T14:30:00Z",
          "updated": "2025-03-15T14:30:00Z",
          "deletedAt": "2025-03-15T14:30:00Z"
        }
      ]
    },
    "requestedAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when the batch was requested",
      "example": "2025-03-15T14:30:00Z"
    },
    "startedAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when processing started",
      "example": "2025-03-15T14:30:00Z"
    },
    "completedAt": {
      "type": "string",
      "format": "date-time",
      "description": "ISO 8601 timestamp when processing completed",
      "example": "2025-03-15T14:30:00Z"
    },
    "links": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "Related links for the batch operation",
      "example": {
        "key": "value"
      }
    }
  },
  "required": [
    "status",
    "results",
    "startedAt",
    "completedAt"
  ]
}