> ## Documentation Index
> Fetch the complete documentation index at: https://developers.hubspot.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

---
id: 56bba4ab-9d27-46b0-97eb-cea83f8206fa
---

# Complete a callback

> Complete a specific blocked action execution by ID.

export const ScopesList = ({scopes = [], description = "This API requires one of the following scopes:"}) => {
  if (!scopes || scopes.length === 0) {
    return null;
  }
  const sortedScopes = scopes.sort((a, b) => a.localeCompare(b));
  return <div>
      <div className="text-sm mb-2">{description}</div>
      <div>
        {sortedScopes.map((scope, index) => <div key={index}>
            <code>
              <span className="text-xs">{scope}</span>
            </code>
          </div>)}
      </div>
    </div>;
};

export const SupportedProducts = ({marketing, sales, service, cms, data, commerce, marketingLevel, salesLevel, serviceLevel, cmsLevel, dataLevel, commerceLevel}) => {
  const translations = {
    description: "Requires one of the following products or higher.",
    productNames: {
      marketing: "Marketing Hub",
      sales: "Sales Hub",
      service: "Service Hub",
      cms: "Content Hub",
      data: "Data Hub",
      commerce: "Revenue Hub"
    },
    tiers: {
      free: "Free",
      starter: "Starter",
      professional: "Professional",
      enterprise: "Enterprise"
    }
  };
  const translateTier = tier => {
    if (!tier) return '';
    const lowerTier = tier.toLowerCase();
    return translations.tiers[lowerTier] || tier;
  };
  const products = [{
    name: marketing ? translations.productNames.marketing : '',
    level: translateTier(marketingLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/marketing-bolt.svg",
    alt: "Marketing Hub"
  }, {
    name: sales ? translations.productNames.sales : '',
    level: translateTier(salesLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/sales-star.svg",
    alt: "Sales Hub"
  }, {
    name: service ? translations.productNames.service : '',
    level: translateTier(serviceLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/service-heart.svg",
    alt: "Service Hub"
  }, {
    name: cms ? translations.productNames.cms : '',
    level: translateTier(cmsLevel),
    icon: "https://mintlify-assets.b-cdn.net/Icons/content-play.svg",
    alt: "Content Hub"
  }, {
    name: data ? translations.productNames.data : '',
    level: translateTier(dataLevel),
    icon: "https://developers.hubspot.com/hubfs/Knowledge_Base_2023-24-25/subscription_key_icons/operations_icon.svg",
    alt: "Data Hub"
  }, {
    name: commerce ? translations.productNames.commerce : '',
    level: translateTier(commerceLevel),
    icon: "https://developers.hubspot.com/hubfs/Knowledge_Base/subscription_key_icons/commerce_icon.svg",
    alt: "Revenue Hub"
  }].filter(product => product.name && product.level);
  if (products.length === 0) return null;
  return <div>
      <div className="text-sm mb-2">{translations.description}</div>
      <div className={`grid ${products.length === 1 ? 'grid-cols-1' : 'grid-cols-2'} gap-1.5`}>
        {products.map((product, index) => <div key={index} style={{
    display: 'flex',
    alignItems: 'center'
  }}>
            <img src={product.icon} alt={product.alt} className="w-3.5 h-3.5 mr-1.5 mt-2.5 mb-2.5 flex-shrink-0 align-middle" />
            <span className="font-medium mr-1 text-sm">{product.name} -</span>
            <span className="text-sm">{product.level}</span>
          </div>)}
      </div>
    </div>;
};

<AccordionGroup>
  <Accordion title="Supported products" defaultOpen="true" icon="cubes">
    <SupportedProducts marketing={true} sales={true} service={true} cms={true} marketingLevel="PROFESSIONAL" salesLevel="PROFESSIONAL" serviceLevel="PROFESSIONAL" cmsLevel="PROFESSIONAL" />
  </Accordion>

  <Accordion title="Required Scopes" icon="key">
    <ScopesList
      scopes={[
  'automation'
]}
    />
  </Accordion>
</AccordionGroup>


## OpenAPI

````yaml specs/2026-03/automation-actions-v4-v2026-03.json POST /automation/actions/callbacks/2026-03/{callbackId}/complete
openapi: 3.0.1
info:
  title: Automation Actions V4
  description: Basepom for all HubSpot Projects
  version: 2026-03
  x-hubspot-product-tier-requirements:
    marketing: PROFESSIONAL
    sales: PROFESSIONAL
    service: PROFESSIONAL
    cms: PROFESSIONAL
    commerce: PROFESSIONAL
    crmHub: PROFESSIONAL
    dataHub: PROFESSIONAL
servers:
  - url: https://api.hubapi.com
security: []
tags:
  - name: Callbacks
  - name: Definitions
  - name: Functions
  - name: Revisions
paths:
  /automation/actions/callbacks/2026-03/{callbackId}/complete:
    post:
      tags:
        - Callbacks
      summary: Completes a callback
      description: Complete a specific blocked action execution by ID.
      operationId: >-
        post-/automation/actions/callbacks/2026-03/{callbackId}/complete_complete
      parameters:
        - name: callbackId
          in: path
          description: The unique identifier for the specific callback to complete.
          required: true
          style: simple
          explode: false
          schema:
            type: string
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CallbackCompletionRequest'
        required: true
      responses:
        '204':
          description: No content
          content: {}
        default:
          $ref: '#/components/responses/Error'
          description: ''
      security:
        - oauth2:
            - automation
components:
  schemas:
    CallbackCompletionRequest:
      required:
        - outputFields
        - typedOutputs
      type: object
      properties:
        failureReasonType:
          type: string
          description: Indicates the reason for the failure of a callback completion.
        outputFields:
          type: object
          additionalProperties:
            type: string
          description: >-
            Contains the output fields associated with the callback, with each
            field represented as a key-value pair.
        requestContext:
          description: >-
            Specifies the context in which the request is made, which can be one
            of several predefined contexts.
          oneOf:
            - $ref: '#/components/schemas/WorkflowsRequestContext'
            - $ref: '#/components/schemas/AgentRequestContext'
            - $ref: '#/components/schemas/CopilotRequestContext'
            - $ref: '#/components/schemas/StandaloneRequestContext'
            - $ref: '#/components/schemas/TestRequestContext'
        typedOutputs:
          type: object
          properties: {}
          description: >-
            Holds the typed outputs related to the callback, structured as an
            object.
    WorkflowsRequestContext:
      title: WORKFLOWS
      required:
        - source
        - workflowId
      type: object
      properties:
        actionExecutionIndexIdentifier:
          $ref: '#/components/schemas/ActionExecutionIndexIdentifier'
        actionId:
          type: integer
          description: The ID of the action within the workflow context.
          format: int64
        source:
          type: string
          description: >-
            Indicates the source of the request, with the default value being
            WORKFLOWS.
          default: WORKFLOWS
          enum:
            - WORKFLOWS
        workflowId:
          type: integer
          description: The ID of the workflow associated with the request context.
          format: int64
      x-hubspot-sub-type-impl: true
    AgentRequestContext:
      title: AGENTS
      required:
        - agentId
        - chirpAiContextObject
        - source
      type: object
      properties:
        agentId:
          type: integer
          description: The unique identifier for the agent making the request.
          format: int64
        chirpAiContextObject:
          $ref: '#/components/schemas/ChirpAiContextObject'
        source:
          type: string
          description: >-
            Indicates the source of the request, with the default value being
            'AGENTS'.
          default: AGENTS
          enum:
            - AGENTS
        trajectoryId:
          type: string
          description: >-
            The unique identifier for the trajectory associated with the agent
            request.
      x-hubspot-sub-type-impl: true
    CopilotRequestContext:
      title: COPILOT
      required:
        - source
      type: object
      properties:
        source:
          type: string
          description: >-
            Indicates the source of the request, with the default value being
            'COPILOT'.
          default: COPILOT
          enum:
            - COPILOT
        trajectoryId:
          type: string
          description: The unique identifier for the trajectory.
      x-hubspot-sub-type-impl: true
    StandaloneRequestContext:
      title: STANDALONE
      required:
        - chirpAiContextObject
        - source
      type: object
      properties:
        chirpAiContextObject:
          $ref: '#/components/schemas/ChirpAiContextObject'
        source:
          type: string
          description: >-
            Indicates the source of the request, with the default value being
            'STANDALONE'.
          default: STANDALONE
          enum:
            - STANDALONE
        trajectoryId:
          type: string
          description: A unique identifier for tracking the trajectory of the request.
      x-hubspot-sub-type-impl: true
    TestRequestContext:
      title: TEST
      required:
        - source
      type: object
      properties:
        source:
          type: string
          description: >-
            Indicates the source of the test request, with the only accepted
            value being 'TEST'.
          default: TEST
          enum:
            - TEST
      x-hubspot-sub-type-impl: true
    Error:
      required:
        - category
        - correlationId
        - message
      type: object
      properties:
        category:
          type: string
          description: The error category
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Context about the error condition
          example: >-
            {invalidPropertyName=[propertyValue], missingScopes=[scope1,
            scope2]}
        correlationId:
          type: string
          description: >-
            A unique identifier for the request. Include this value with any
            error reports or support tickets
          format: uuid
          example: aeb5f871-7f07-4993-9211-075dc63e7cbf
        errors:
          type: array
          description: further information about the error
          items:
            $ref: '#/components/schemas/ErrorDetail'
        links:
          type: object
          additionalProperties:
            type: string
          description: >-
            A map of link names to associated URIs containing documentation
            about the error or recommended remediation steps
        message:
          type: string
          description: >-
            A human readable message describing the error along with remediation
            steps where appropriate
          example: An error occurred
        subCategory:
          type: string
          description: >-
            A specific category that contains more specific detail about the
            error
      example:
        message: Invalid input (details will vary based on the error)
        correlationId: aeb5f871-7f07-4993-9211-075dc63e7cbf
        category: VALIDATION_ERROR
        links:
          knowledge-base: https://www.hubspot.com/products/service/knowledge-base
    ActionExecutionIndexIdentifier:
      required:
        - actionExecutionIndex
        - enrollmentId
      type: object
      properties:
        actionExecutionIndex:
          type: integer
          description: The index number representing the execution order of the action.
          format: int32
        enrollmentId:
          type: integer
          description: The ID associated with the enrollment process.
          format: int64
    ChirpAiContextObject:
      required:
        - applicationGroup
        - applicationId
        - isPrivate
        - metadata
        - otelContextHolder
        - unstructuredSources
      type: object
      properties:
        applicationGroup:
          type: string
          description: The group to which the application belongs.
        applicationId:
          type: string
          description: The identifier for the application associated with the context.
        complianceIds:
          $ref: '#/components/schemas/ComplianceIds'
        conversationId:
          type: string
        featureId:
          type: string
          description: The identifier for the feature associated with the context.
        inferenceId:
          type: string
          description: The identifier for the inference associated with the context.
        isPrivate:
          type: boolean
        metadata:
          type: object
          additionalProperties:
            type: string
          description: >-
            Additional metadata related to the context, represented as key-value
            pairs.
        otelContextHolder:
          type: object
          additionalProperties:
            type: string
          description: Holds OpenTelemetry context information as key-value pairs.
        trajectoryId:
          type: string
          description: The identifier for the trajectory, formatted as a UUID.
          format: uuid
        unstructuredSources:
          type: array
          items:
            type: string
            enum:
              - NONE
              - USER_INPUT
              - LOGGED_EMAIL
              - VIDEO_CALL
              - AUDIO_CALL
              - CALL_TRANSCRIPT
              - MEETING_TRANSCRIPT
              - FORMS
              - FEEDBACK_SURVEY
              - PDF
              - QUOTE
              - INVOICE
              - OTHER_ATTACHMENT_DOC
              - WHATSAPP
              - SMS
              - CHAT
              - FACEBOOK_MESSENGER
              - CUSTOM_CHANNEL_OR_API
              - MANY
              - NOTE
              - DERIVED
    ErrorDetail:
      required:
        - message
      type: object
      properties:
        code:
          type: string
          description: The status code associated with the error detail
        context:
          type: object
          additionalProperties:
            type: array
            items:
              type: string
          description: Context about the error condition
          example: '{missingScopes=[scope1, scope2]}'
        in:
          type: string
          description: The name of the field or parameter in which the error was found.
        message:
          type: string
          description: >-
            A human readable message describing the error along with remediation
            steps where appropriate
        subCategory:
          type: string
          description: >-
            A specific category that contains more specific detail about the
            error
    ComplianceIds:
      required:
        - contactIds
        - portalIds
        - userIds
      type: object
      properties:
        contactIds:
          type: array
          items:
            $ref: '#/components/schemas/ContactId'
        noContactIdReason:
          type: string
          description: The reason why no contact ID is available.
        noPortalIdReason:
          type: string
          description: The reason why no portal ID is available.
        noUserIdReason:
          type: string
          description: The reason why no user ID is available.
        portalIds:
          type: array
          items:
            type: integer
            format: int32
        userIds:
          type: array
          items:
            type: integer
            format: int32
    ContactId:
      required:
        - portalId
      type: object
      properties:
        email:
          type: string
          description: The email address of the contact.
        portalId:
          type: integer
          description: The ID of the portal associated with the contact.
          format: int32
        vid:
          type: integer
          description: The unique identifier for the contact.
          format: int64
  responses:
    Error:
      description: An error occurred.
      content:
        '*/*':
          schema:
            $ref: '#/components/schemas/Error'
  securitySchemes:
    oauth2:
      type: oauth2
      flows:
        authorizationCode:
          authorizationUrl: https://app.hubspot.com/oauth/authorize
          tokenUrl: https://api.hubapi.com/oauth/v1/token
          scopes:
            automation: ''
            developers-read: ''
            developers-write: ''

````