HubSpot · JSON Structure

Source Code Api Task Locator Structure

Locator for an asynchronous task

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

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

Properties

id links

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/source-code-api-task-locator-structure.json",
  "name": "TaskLocator",
  "description": "Locator for an asynchronous task",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "Unique identifier for the task",
      "example": "12345"
    },
    "links": {
      "type": "object",
      "description": "Related links for the task",
      "additionalProperties": {
        "type": "string"
      },
      "example": {
        "status": "/cms/v3/source-code/extract/async/tasks/12345/status"
      }
    }
  },
  "required": [
    "id"
  ]
}